5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "unbranded,a5-v11", "ralink,rt5350-soc";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = ðernet;
21 compatible = "gpio-leds";
24 label = "a5-v11:blue:system";
25 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
29 label = "a5-v11:red:power";
30 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 compatible = "gpio-export";
50 gpio-export,name = "usb";
51 gpio-export,output = <1>;
52 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
56 gpio-export,name = "root_hub";
57 gpio-export,output = <1>;
58 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
95 compatible = "denx,uimage";
97 reg = <0x50000 0x3b0000>;
108 state_default: pinctrl0 {
110 ralink,group = "i2c", "jtag", "uartf", "led";
111 ralink,function = "gpio";
117 mtd-mac-address = <&factory 0x4>;
121 mediatek,portmap = <0x1>;
122 mediatek,portdisable = <0x3e>;
126 ralink,mtd-eeprom = <&factory 0>;