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-status = &led_system;
17 compatible = "gpio-leds";
20 label = "mpr-a2:blue:system";
21 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
25 label = "mpr-a2:red:power";
26 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 compatible = "gpio-export";
46 gpio-export,name = "usb";
47 gpio-export,output = <1>;
48 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
52 gpio-export,name = "root_hub";
53 gpio-export,output = <1>;
54 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0x7b0000>;
99 state_default: pinctrl0 {
101 ralink,group = "i2c", "jtag", "uartf";
102 ralink,function = "gpio";
108 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = <0x1>;
113 mediatek,portdisable = <0x3e>;
117 ralink,mtd-eeprom = <&factory 0>;