5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "poray,m3", "ralink,rt5350-soc";
13 led-status = &led_status;
17 compatible = "gpio-leds";
20 label = "m3:blue:status";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
26 compatible = "gpio-keys-polled";
31 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
37 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
39 linux,input-type = <EV_SW>;
48 compatible = "jedec,spi-nor";
50 spi-max-frequency = <10000000>;
53 compatible = "fixed-partitions";
65 reg = <0x30000 0x10000>;
69 factory: partition@40000 {
71 reg = <0x40000 0x10000>;
77 reg = <0x50000 0x3b0000>;
84 state_default: pinctrl0 {
86 ralink,group = "i2c", "jtag", "uartf";
87 ralink,function = "gpio";
93 mtd-mac-address = <&factory 0x4>;
97 mediatek,portmap = <0x2f>;
98 mediatek,led_polarity = <1>;
102 ralink,mtd-eeprom = <&factory 0>;
103 ralink,led-polarity = <1>;