3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "buffalo,wsr-600dhp", "mediatek,mt7621-soc";
9 model = "Buffalo WSR-600DHP";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
28 label = "orange:wifi";
29 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
33 label = "orange:diag";
34 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
43 label = "orange:router";
44 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
48 label = "green:router";
49 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
53 label = "orange:internet";
54 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
58 label = "green:internet";
59 gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-keys";
68 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_POWER>;
74 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_RESTART>;
80 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_WPS_BUTTON>;
86 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
88 linux,input-type = <EV_SW>;
93 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
95 linux,input-type = <EV_SW>;
100 gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
101 linux,code = <BTN_0>;
102 linux,input-type = <EV_SW>;
107 compatible = "gpio-poweroff";
108 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
116 compatible = "jedec,spi-nor";
118 spi-max-frequency = <10000000>;
121 compatible = "fixed-partitions";
122 #address-cells = <1>;
132 label = "u-boot-env";
133 reg = <0x30000 0x10000>;
137 factory: partition@40000 {
139 reg = <0x40000 0x10000>;
143 compatible = "fixed-layout";
144 #address-cells = <1>;
147 eeprom_factory_0: eeprom@0 {
151 eeprom_factory_8000: eeprom@8000 {
152 reg = <0x8000 0x200>;
155 macaddr_factory_4: macaddr@4 {
162 compatible = "denx,uimage";
164 reg = <0x50000 0xfb0000>;
172 groups = "i2c", "uart2", "uart3", "sdhci";
183 reg = <0x0000 0 0 0 0>;
184 nvmem-cells = <&eeprom_factory_8000>;
185 nvmem-cell-names = "eeprom";
191 reg = <0x0000 0 0 0 0>;
192 nvmem-cells = <&eeprom_factory_0>;
193 nvmem-cell-names = "eeprom";
198 nvmem-cells = <&macaddr_factory_4>;
199 nvmem-cell-names = "mac-address";
205 phy-handle = <ðphy4>;
207 nvmem-cells = <&macaddr_factory_4>;
208 nvmem-cell-names = "mac-address";
212 ethphy4: ethernet-phy@4 {