5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "hame,mpr-a1", "ralink,rt5350-soc";
10 model = "HAME MPR-A1";
13 led-status = &led_system;
17 compatible = "gpio-leds";
20 label = "mpr-a1:blue:system";
21 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
25 label = "mpr-a1: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 0x3b0000>;
103 state_default: pinctrl0 {
105 ralink,group = "i2c", "jtag", "uartf", "led";
106 ralink,function = "gpio";
112 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = <0x2f>;
120 ralink,mtd-eeprom = <&factory 0>;