3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "d-team,newifi-d2", "mediatek,mt7621-soc";
11 led-boot = &led_power_blue;
12 led-failsafe = &led_power_blue;
13 led-running = &led_power_blue;
14 led-upgrade = &led_power_blue;
15 label-mac-device = &gmac0;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 label = "amber:power";
27 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
30 led_power_blue: power-blue {
32 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
36 label = "amber:internet";
37 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
41 label = "blue:internet";
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
46 label = "blue:wlan2g";
47 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
51 label = "blue:wlan5g";
52 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
58 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
59 linux,default-trigger = "usbport";
64 compatible = "gpio-keys";
68 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_RESTART>;
74 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_WPS_BUTTON>;
80 compatible = "gpio-export";
84 gpio-export,name = "power_usb3";
85 gpio-export,output = <1>;
86 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <45000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
112 label = "u-boot-env";
113 reg = <0x30000 0x10000>;
117 factory: partition@40000 {
119 reg = <0x40000 0x10000>;
124 compatible = "denx,uimage";
126 reg = <0x50000 0x1fb0000>;
138 reg = <0x0000 0 0 0 0>;
139 mediatek,mtd-eeprom = <&factory 0x8000>;
140 ieee80211-freq-limit = <5000000 6000000>;
146 reg = <0x0000 0 0 0 0>;
147 mediatek,mtd-eeprom = <&factory 0x0000>;
152 nvmem-cells = <&macaddr_factory_e000>;
153 nvmem-cell-names = "mac-address";
181 nvmem-cells = <&macaddr_factory_e006>;
182 nvmem-cell-names = "mac-address";
189 groups = "i2c", "jtag", "uart2", "uart3";
195 compatible = "nvmem-cells";
196 #address-cells = <1>;
199 macaddr_factory_e000: macaddr@e000 {
203 macaddr_factory_e006: macaddr@e006 {