3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "poray,m4", "ralink,rt5350-soc";
10 compatible = "gpio-leds";
13 label = "m4:blue:status";
14 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
19 compatible = "gpio-keys-polled";
26 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
33 state_default: pinctrl0 {
35 ralink,group = "i2c", "jtag", "uartf";
36 ralink,function = "gpio";
42 mtd-mac-address = <&factory 0x4>;
46 mediatek,portmap = <0x2f>;
47 mediatek,led_polarity = <1>;
51 ralink,mtd-eeprom = <&factory 0>;
52 ralink,led-polarity = <1>;