5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tenda,3g150b", "ralink,rt5350-soc";
10 model = "Tenda 3G150B";
17 compatible = "gpio-leds";
20 label = "3g150b:blue:ap";
21 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
25 label = "3g150b:blue:3g";
26 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 compatible = "gpio-export";
46 gpio-export,name = "usb";
47 gpio-export,output = <1>;
48 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
78 factory: partition@40000 {
80 reg = <0x40000 0x10000>;
86 reg = <0x50000 0x3b0000>;
97 state_default: pinctrl0 {
99 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
100 ralink,function = "gpio";
106 mtd-mac-address = <&factory 0x4>;
110 mediatek,portmap = <0x2f>;
114 ralink,mtd-eeprom = <&factory 0>;
115 ralink,led-polarity = <1>;