3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "iodata,wn-gx300gr", "mediatek,mt7621-soc";
9 model = "I-O DATA WN-GX300GR";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 function = LED_FUNCTION_POWER;
27 color = <LED_COLOR_ID_GREEN>;
28 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
32 function = LED_FUNCTION_WPS;
33 color = <LED_COLOR_ID_GREEN>;
34 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
57 linux,input-type = <EV_SW>;
62 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
64 linux,input-type = <EV_SW>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
100 compatible = "fixed-layout";
101 #address-cells = <1>;
104 eeprom_factory_0: eeprom@0 {
108 macaddr_factory_4: macaddr@4 {
109 compatible = "mac-base";
111 #nvmem-cell-cells = <1>;
118 reg = <0x50000 0x10000>;
123 compatible = "denx,uimage";
125 reg = <0x60000 0x770000>;
130 reg = <0x7d0000 0x10000>;
136 reg = <0x7e0000 0x10000>;
142 reg = <0x7f0000 0x10000>;
150 nvmem-cells = <&macaddr_factory_4 0>;
151 nvmem-cell-names = "mac-address";
157 phy-handle = <ðphy0>;
159 nvmem-cells = <&macaddr_factory_4 1>;
160 nvmem-cell-names = "mac-address";
164 ethphy0: ethernet-phy@0 {
195 groups = "uart2", "uart3", "jtag";
206 reg = <0x0000 0 0 0 0>;
207 nvmem-cells = <&eeprom_factory_0>;
208 nvmem-cell-names = "eeprom";