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";
33 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
39 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
41 linux,input-type = <EV_SW>;
52 compatible = "jedec,spi-nor";
54 spi-max-frequency = <10000000>;
64 reg = <0x30000 0x10000>;
68 factory: partition@40000 {
70 reg = <0x40000 0x10000>;
76 reg = <0x50000 0x3b0000>;
82 state_default: pinctrl0 {
84 ralink,group = "i2c", "jtag", "uartf";
85 ralink,function = "gpio";
91 mtd-mac-address = <&factory 0x4>;
95 mediatek,portmap = <0x2f>;
96 mediatek,led_polarity = <1>;
100 ralink,mtd-eeprom = <&factory 0>;
101 ralink,led-polarity = <1>;