5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "hame,mpr-a2", "ralink,rt5350-soc";
10 model = "HAME MPR-A2";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 compatible = "gpio-leds";
23 label = "mpr-a2:blue:system";
24 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
28 label = "mpr-a2:red:power";
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>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
94 compatible = "denx,uimage";
96 reg = <0x50000 0x7b0000>;
103 state_default: pinctrl0 {
105 ralink,group = "i2c", "jtag", "uartf";
106 ralink,function = "gpio";
112 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = <0x1>;
117 mediatek,portdisable = <0x3e>;
121 ralink,mtd-eeprom = <&factory 0>;