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";
38 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 compatible = "gpio-export";
48 gpio-export,name = "usb";
49 gpio-export,output = <1>;
50 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
54 gpio-export,name = "root_hub";
55 gpio-export,output = <1>;
56 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
85 reg = <0x40000 0x10000>;
91 reg = <0x50000 0x7b0000>;
97 state_default: pinctrl0 {
99 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
100 ralink,function = "gpio";
106 mtd-mac-address = <&factory 0x4>;
110 mediatek,portmap = <0x1>;
111 mediatek,portdisable = <0x3e>;
115 ralink,mtd-eeprom = <&factory 0>;