5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "prolink,pwh2004", "ralink,rt3052-soc";
10 model = "Prolink PWH2004";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x7b0000>;
45 compatible = "gpio-leds";
48 label = "pwh2004:red:wifi";
49 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
53 label = "pwh2004:green:power";
54 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
59 compatible = "gpio-keys-polled";
66 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_RESTART>;
73 state_default: pinctrl0 {
75 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
76 ralink,function = "gpio";
82 mediatek,portmap = <0x2f>;
86 ralink,mtd-eeprom = <&factory 0>;