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";
13 compatible = "gpio-leds";
16 label = "3g150b:blue:ap";
17 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
21 label = "3g150b:blue:3g";
22 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 compatible = "gpio-export";
44 gpio-export,name = "usb";
45 gpio-export,output = <1>;
46 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
69 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
75 reg = <0x40000 0x10000>;
81 reg = <0x50000 0x3b0000>;
91 state_default: pinctrl0 {
93 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
94 ralink,function = "gpio";
100 mtd-mac-address = <&factory 0x4>;
104 mediatek,portmap = <0x2f>;
108 ralink,mtd-eeprom = <&factory 0>;
109 ralink,led-polarity = <1>;