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-boot = &led_power_green;
14 led-failsafe = &led_power_green;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
26 led_power_green: power-green {
27 label = "wnce2001:green:power";
28 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
32 label = "wnce2001:red:power";
33 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
37 label = "wnce2001:green:wlan";
38 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
42 label = "wnce2001:red:wlan";
43 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
48 compatible = "gpio-keys-polled";
53 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_WPS_BUTTON>;
65 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <10000000>;
86 compatible = "fixed-partitions";
96 factory: partition@30000 {
98 reg = <0x30000 0x10000>;
104 reg = <0x40000 0x20000>;
110 reg = <0x60000 0x30000>;
116 reg = <0x90000 0x10000>;
122 reg = <0xa0000 0x10000>;
126 compatible = "denx,uimage";
128 reg = <0xb0000 0x350000>;
135 state_default: pinctrl0 {
137 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
138 ralink,function = "gpio";
144 mtd-mac-address = <&factory 0x28>;
148 ralink,mtd-eeprom = <&factory 0>;