3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "hame,mpr-a2", "ralink,rt5350-soc";
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_system;
15 led-upgrade = &led_system;
19 compatible = "gpio-leds";
22 label = "blue:system";
23 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
27 function = LED_FUNCTION_POWER;
28 color = <LED_COLOR_ID_RED>;
29 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
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 7 GPIO_ACTIVE_HIGH>;
55 gpio-export,name = "root_hub";
56 gpio-export,output = <1>;
57 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <10000000>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
89 reg = <0x40000 0x10000>;
93 compatible = "fixed-layout";
97 eeprom_factory_0: eeprom@0 {
101 macaddr_factory_4: macaddr@4 {
108 compatible = "denx,uimage";
110 reg = <0x50000 0x7b0000>;
118 groups = "i2c", "jtag", "uartf";
124 nvmem-cells = <&macaddr_factory_4>;
125 nvmem-cell-names = "mac-address";
129 mediatek,portmap = <0x1>;
130 mediatek,portdisable = <0x3e>;
134 nvmem-cells = <&eeprom_factory_0>;
135 nvmem-cell-names = "eeprom";