3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "tenda,w150m", "ralink,rt3050-soc";
12 led-failsafe = &led_ap;
13 led-running = &led_ap;
14 led-upgrade = &led_ap;
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x800000>;
24 compatible = "fixed-partitions";
36 reg = <0x30000 0x10000>;
40 factory: partition@40000 {
42 reg = <0x40000 0x10000>;
46 compatible = "fixed-layout";
50 eeprom_factory_0: eeprom@0 {
54 macaddr_factory_4: macaddr@4 {
61 compatible = "denx,uimage";
63 reg = <0x50000 0x3b0000>;
69 compatible = "gpio-leds";
72 label = "blue:3grouter";
73 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
78 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
82 label = "blue:wisprouter";
83 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
87 label = "blue:wirelessrouter";
88 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
93 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
97 label = "blue:wpsreset";
98 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
103 compatible = "gpio-keys-polled";
104 poll-interval = <20>;
108 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
109 linux,code = <KEY_RESTART>;
114 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
115 linux,code = <BTN_0>;
122 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
128 nvmem-cells = <&macaddr_factory_4>;
129 nvmem-cell-names = "mac-address";
133 mediatek,portmap = <0x2f>;
137 nvmem-cells = <&eeprom_factory_0>;
138 nvmem-cell-names = "eeprom";