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 compatible = "gpio-leds";
16 label = "mpr-a1:blue:system";
17 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
21 label = "mpr-a1:red:power";
22 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 compatible = "gpio-export";
44 gpio-export,name = "usb";
45 gpio-export,output = <1>;
46 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
50 gpio-export,name = "root_hub";
51 gpio-export,output = <1>;
52 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
81 reg = <0x40000 0x10000>;
87 reg = <0x50000 0x3b0000>;
97 state_default: pinctrl0 {
99 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
100 ralink,function = "gpio";
106 mtd-mac-address = <&factory 0x4>;
110 mediatek,portmap = <0x2f>;
114 ralink,mtd-eeprom = <&factory 0>;