3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "hame,mpr-a2", "ralink,rt5350-soc";
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
18 compatible = "gpio-leds";
21 label = "mpr-a2:blue:system";
22 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
26 label = "mpr-a2:red:power";
27 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
37 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 compatible = "gpio-export";
47 gpio-export,name = "usb";
48 gpio-export,output = <1>;
49 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
53 gpio-export,name = "root_hub";
54 gpio-export,output = <1>;
55 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
92 compatible = "denx,uimage";
94 reg = <0x50000 0x7b0000>;
102 groups = "i2c", "jtag", "uartf";
108 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = <0x1>;
113 mediatek,portdisable = <0x3e>;
117 ralink,mtd-eeprom = <&factory 0x0>;