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>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <10000000>;
83 compatible = "fixed-partitions";
93 factory: partition@30000 {
95 reg = <0x30000 0x10000>;
101 reg = <0x40000 0x20000>;
107 reg = <0x60000 0x30000>;
113 reg = <0x90000 0x10000>;
119 reg = <0xa0000 0x10000>;
124 reg = <0xb0000 0x350000>;
131 state_default: pinctrl0 {
133 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
134 ralink,function = "gpio";
140 mtd-mac-address = <&factory 0x28>;
144 ralink,mtd-eeprom = <&factory 0>;