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>;
27 trigger-sources = <&ohci_port1>, <&ehci_port1>;
28 linux,default-trigger = "usbport";
33 compatible = "gpio-keys-polled";
38 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 compatible = "gpio-export";
48 gpio-export,name = "usb";
49 gpio-export,output = <1>;
50 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <10000000>;
64 compatible = "fixed-partitions";
76 reg = <0x30000 0x10000>;
80 factory: partition@40000 {
82 reg = <0x40000 0x10000>;
88 reg = <0x50000 0x3b0000>;
99 state_default: pinctrl0 {
101 ralink,group = "i2c", "jtag", "uartf", "led";
102 ralink,function = "gpio";
108 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = <0x2f>;
116 ralink,mtd-eeprom = <&factory 0>;
117 ralink,led-polarity = <1>;