5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "poray,m3", "ralink,rt5350-soc";
13 compatible = "gpio-leds";
16 label = "m3:blue:status";
17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
22 compatible = "gpio-keys-polled";
29 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
37 linux,input-type = <EV_SW>;
48 compatible = "jedec,spi-nor";
50 spi-max-frequency = <10000000>;
60 reg = <0x30000 0x10000>;
64 factory: partition@40000 {
66 reg = <0x40000 0x10000>;
72 reg = <0x50000 0x3b0000>;
78 state_default: pinctrl0 {
80 ralink,group = "i2c", "jtag", "uartf";
81 ralink,function = "gpio";
87 mtd-mac-address = <&factory 0x4>;
91 mediatek,portmap = <0x2f>;
92 mediatek,led_polarity = <1>;
96 ralink,mtd-eeprom = <&factory 0>;
97 ralink,led-polarity = <1>;