3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "lenovo,newifi-d1", "mediatek,mt7621-soc";
12 led-failsafe = &led_blue;
13 led-running = &led_blue;
14 led-upgrade = &led_blue;
15 label-mac-device = &gmac0;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
27 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
31 label = "green:status";
32 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
35 led_blue: status-blue {
36 label = "blue:status";
37 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
59 compatible = "gpio-export";
63 gpio-export,name = "usb2power";
64 gpio-export,output = <1>;
65 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
69 gpio-export,name = "usb3power";
70 gpio-export,output = <1>;
71 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <45000000>;
90 compatible = "fixed-partitions";
101 label = "u-boot-env";
102 reg = <0x30000 0x10000>;
106 factory: partition@40000 {
108 reg = <0x40000 0x10000>;
113 compatible = "denx,uimage";
115 reg = <0x50000 0x1fb0000>;
127 reg = <0x0000 0 0 0 0>;
128 mediatek,mtd-eeprom = <&factory 0x8000>;
129 ieee80211-freq-limit = <5000000 6000000>;
135 reg = <0x0000 0 0 0 0>;
136 mediatek,mtd-eeprom = <&factory 0x0000>;
141 nvmem-cells = <&macaddr_factory_e000>;
142 nvmem-cell-names = "mac-address";
160 nvmem-cells = <&macaddr_factory_e006>;
161 nvmem-cell-names = "mac-address";
168 groups = "jtag", "uart2", "wdt";
174 compatible = "nvmem-cells";
175 #address-cells = <1>;
178 macaddr_factory_e000: macaddr@e000 {
182 macaddr_factory_e006: macaddr@e006 {