3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "poray,m4", "ralink,rt5350-soc";
10 led-boot = &led_status;
11 led-failsafe = &led_status;
12 led-running = &led_status;
13 led-upgrade = &led_status;
17 compatible = "gpio-leds";
20 label = "m4: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>;
38 state_default: pinctrl0 {
40 ralink,group = "i2c", "jtag", "uartf";
41 ralink,function = "gpio";
47 mtd-mac-address = <&factory 0x4>;
51 mediatek,portmap = <0x2f>;
52 mediatek,led_polarity = <1>;
56 ralink,mtd-eeprom = <&factory 0>;
57 ralink,led-polarity = <1>;