5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,wnce2001", "ralink,rt3052-soc";
10 model = "Netgear WNCE2001";
13 led-status = &led_power_green;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
23 led_power_green: power-green {
24 label = "wnce2001:green:power";
25 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
29 label = "wnce2001:red:power";
30 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
34 label = "wnce2001:green:wlan";
35 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
39 label = "wnce2001:red:wlan";
40 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
45 compatible = "gpio-keys-polled";
50 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
68 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <10000000>;
90 factory: partition@30000 {
92 reg = <0x30000 0x10000>;
98 reg = <0x40000 0x20000>;
104 reg = <0x60000 0x30000>;
110 reg = <0x90000 0x10000>;
116 reg = <0xa0000 0x10000>;
121 reg = <0xb0000 0x350000>;
127 state_default: pinctrl0 {
129 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
130 ralink,function = "gpio";
136 mtd-mac-address = <&factory 0x28>;
140 ralink,mtd-eeprom = <&factory 0>;