3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "poray,m4", "ralink,rt5350-soc";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 compatible = "gpio-leds";
21 function = LED_FUNCTION_STATUS;
22 color = <LED_COLOR_ID_BLUE>;
23 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
28 compatible = "gpio-keys-polled";
33 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
43 compatible = "jedec,spi-nor";
45 spi-max-frequency = <10000000>;
48 compatible = "fixed-partitions";
60 reg = <0x30000 0x10000>;
66 reg = <0x40000 0x10000>;
70 compatible = "fixed-layout";
74 eeprom_factory_0: eeprom@0 {
78 macaddr_factory_4: macaddr@4 {
84 firmware: partition@50000 {
85 compatible = "denx,uimage";
87 /* reg property is set based on flash size in DTS files */
95 groups = "i2c", "jtag", "uartf";
101 nvmem-cells = <&macaddr_factory_4>;
102 nvmem-cell-names = "mac-address";
106 mediatek,portmap = <0x2f>;
107 mediatek,led_polarity = <1>;
111 ralink,led-polarity = <1>;
112 nvmem-cells = <&eeprom_factory_0>;
113 nvmem-cell-names = "eeprom";