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-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 compatible = "gpio-leds";
23 label = "mpr-a1:blue:system";
24 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
28 label = "mpr-a1:red:power";
29 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 compatible = "gpio-export";
49 gpio-export,name = "usb";
50 gpio-export,output = <1>;
51 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
55 gpio-export,name = "root_hub";
56 gpio-export,output = <1>;
57 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <10000000>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
95 reg = <0x50000 0x3b0000>;
106 state_default: pinctrl0 {
108 ralink,group = "i2c", "jtag", "uartf", "led";
109 ralink,function = "gpio";
115 mtd-mac-address = <&factory 0x4>;
119 mediatek,portmap = <0x2f>;
123 ralink,mtd-eeprom = <&factory 0>;