3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "tenda,3g150b", "ralink,rt5350-soc";
8 model = "Tenda 3G150B";
12 led-failsafe = &led_ap;
13 led-running = &led_ap;
14 led-upgrade = &led_ap;
18 compatible = "gpio-leds";
22 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
28 trigger-sources = <&ohci_port1>, <&ehci_port1>;
29 linux,default-trigger = "usbport";
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 compatible = "gpio-export";
49 gpio-export,name = "usb";
50 gpio-export,output = <1>;
51 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0x3b0000>;
98 groups = "i2c", "jtag", "uartf", "led";
104 nvmem-cells = <&macaddr_factory_4>;
105 nvmem-cell-names = "mac-address";
109 mediatek,portmap = <0x2f>;
113 ralink,mtd-eeprom = <&factory 0x0>;
114 ralink,led-polarity = <1>;
118 compatible = "nvmem-cells";
119 #address-cells = <1>;
122 macaddr_factory_4: macaddr@4 {