3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "tenda,3g300m", "ralink,rt3052-soc";
8 model = "Tenda 3G300M";
12 led-failsafe = &led_ap;
13 led-running = &led_ap;
14 led-upgrade = &led_ap;
18 compatible = "gpio-leds";
21 label = "blue:3grouter";
22 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
31 label = "blue:wisprouter";
32 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
36 label = "blue:wirelessrouter";
37 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
43 trigger-sources = <&otg_port1>;
44 linux,default-trigger = "usbport";
48 label = "blue:wpsreset";
49 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys-polled";
59 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>;
65 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
80 compatible = "fixed-partitions";
92 reg = <0x30000 0x10000>;
96 factory: partition@40000 {
98 reg = <0x40000 0x10000>;
103 compatible = "denx,uimage";
105 reg = <0x50000 0x3b0000>;
113 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
119 nvmem-cells = <&macaddr_factory_4>;
120 nvmem-cell-names = "mac-address";
124 mediatek,portmap = <0x2f>;
128 ralink,mtd-eeprom = <&factory 0x0>;
136 compatible = "nvmem-cells";
137 #address-cells = <1>;
140 macaddr_factory_4: macaddr@4 {