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>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
89 reg = <0x50000 0x3b0000>;
99 state_default: pinctrl0 {
101 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
102 ralink,function = "gpio";
108 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = <0x2f>;
116 ralink,mtd-eeprom = <&factory 0>;