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";
14 led-failsafe = &led_ap;
15 led-running = &led_ap;
16 led-upgrade = &led_ap;
20 compatible = "gpio-leds";
23 label = "3g150b:blue:ap";
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
28 label = "3g150b:blue:3g";
29 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&ohci_port1>, <&ehci_port1>;
31 linux,default-trigger = "usbport";
36 compatible = "gpio-keys-polled";
41 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 compatible = "gpio-export";
51 gpio-export,name = "usb";
52 gpio-export,output = <1>;
53 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <10000000>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
85 reg = <0x40000 0x10000>;
90 compatible = "denx,uimage";
92 reg = <0x50000 0x3b0000>;
104 ralink,group = "i2c", "jtag", "uartf", "led";
105 ralink,function = "gpio";
110 mtd-mac-address = <&factory 0x4>;
114 mediatek,portmap = <0x2f>;
118 ralink,mtd-eeprom = <&factory 0>;
119 ralink,led-polarity = <1>;