5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "poray,m3", "ralink,rt5350-soc";
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 compatible = "gpio-leds";
23 label = "m3:blue:status";
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
42 linux,input-type = <EV_SW>;
51 compatible = "jedec,spi-nor";
53 spi-max-frequency = <10000000>;
56 compatible = "fixed-partitions";
68 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
74 reg = <0x40000 0x10000>;
79 compatible = "denx,uimage";
81 reg = <0x50000 0x3b0000>;
88 state_default: pinctrl0 {
90 ralink,group = "i2c", "jtag", "uartf";
91 ralink,function = "gpio";
97 mtd-mac-address = <&factory 0x4>;
101 mediatek,portmap = <0x2f>;
102 mediatek,led_polarity = <1>;
106 ralink,mtd-eeprom = <&factory 0>;
107 ralink,led-polarity = <1>;