3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "buffalo,wsr-600dhp", "mediatek,mt7621-soc";
8 model = "Buffalo WSR-600DHP";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 label = "wsr-600:green:power";
22 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
26 label = "wsr-600:orange:wifi";
27 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
31 label = "wsr-600:orange:diag";
32 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
36 label = "wsr-600:green:wifi";
37 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
41 label = "wsr-600:orange:router";
42 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
46 label = "wsr-600:green:router";
47 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
51 label = "wsr-600:orange:internet";
52 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
56 label = "wsr-600:green:internet";
57 gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
62 compatible = "gpio-keys";
66 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_POWER>;
72 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_RESTART>;
78 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_WPS_BUTTON>;
84 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
86 linux,input-type = <EV_SW>;
91 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
93 linux,input-type = <EV_SW>;
98 gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
100 linux,input-type = <EV_SW>;
105 compatible = "gpio-poweroff";
106 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
114 compatible = "jedec,spi-nor";
116 spi-max-frequency = <10000000>;
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
130 label = "u-boot-env";
131 reg = <0x30000 0x10000>;
135 factory: partition@40000 {
137 reg = <0x40000 0x10000>;
142 compatible = "denx,uimage";
144 reg = <0x50000 0xfb0000>;
152 groups = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
163 reg = <0x0000 0 0 0 0>;
164 ralink,mtd-eeprom = <&factory 0x8000>;
170 reg = <0x0000 0 0 0 0>;
171 mediatek,mtd-eeprom = <&factory 0x0000>;
176 mtd-mac-address = <&factory 0x4>;