3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "poray,m4", "ralink,rt5350-soc";
10 led-status = &led_status;
14 compatible = "gpio-leds";
17 label = "m4:blue:status";
18 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
23 compatible = "gpio-keys-polled";
28 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
35 state_default: pinctrl0 {
37 ralink,group = "i2c", "jtag", "uartf";
38 ralink,function = "gpio";
44 mtd-mac-address = <&factory 0x4>;
48 mediatek,portmap = <0x2f>;
49 mediatek,led_polarity = <1>;
53 ralink,mtd-eeprom = <&factory 0>;
54 ralink,led-polarity = <1>;