3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "netgear,wnce2001", "ralink,rt3052-soc";
9 model = "Netgear WNCE2001";
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_green;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_green;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
25 led_power_green: power-green {
26 function = LED_FUNCTION_POWER;
27 color = <LED_COLOR_ID_GREEN>;
28 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
32 function = LED_FUNCTION_POWER;
33 color = <LED_COLOR_ID_RED>;
34 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
38 function = LED_FUNCTION_WLAN;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
44 function = LED_FUNCTION_WLAN;
45 color = <LED_COLOR_ID_RED>;
46 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
51 compatible = "gpio-keys-polled";
56 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
62 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_WPS_BUTTON>;
68 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <10000000>;
89 compatible = "fixed-partitions";
99 factory: partition@30000 {
101 reg = <0x30000 0x10000>;
105 compatible = "fixed-layout";
106 #address-cells = <1>;
109 eeprom_factory_0: eeprom@0 {
113 macaddr_factory_28: macaddr@28 {
121 reg = <0x40000 0x20000>;
127 reg = <0x60000 0x30000>;
133 reg = <0x90000 0x10000>;
139 reg = <0xa0000 0x10000>;
143 compatible = "denx,uimage";
145 reg = <0xb0000 0x350000>;
153 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
159 nvmem-cells = <&macaddr_factory_28>;
160 nvmem-cell-names = "mac-address";
164 nvmem-cells = <&eeprom_factory_0>;
165 nvmem-cell-names = "eeprom";