3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "unbranded,a5-v11", "ralink,rt5350-soc";
9 model = "Unbranded A5-V11";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
16 label-mac-device = ðernet;
20 compatible = "gpio-leds";
23 label = "blue:system";
24 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_POWER;
29 color = <LED_COLOR_ID_RED>;
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>;
90 reg = <0x40000 0x10000>;
94 compatible = "fixed-layout";
98 eeprom_factory_0: eeprom@0 {
102 macaddr_factory_4: macaddr@4 {
109 compatible = "denx,uimage";
111 reg = <0x50000 0x3b0000>;
119 groups = "i2c", "jtag", "uartf", "led";
125 nvmem-cells = <&macaddr_factory_4>;
126 nvmem-cell-names = "mac-address";
130 mediatek,portmap = <0x1>;
131 mediatek,portdisable = <0x3e>;
135 nvmem-cells = <&eeprom_factory_0>;
136 nvmem-cell-names = "eeprom";