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 = "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>;
41 compatible = "jedec,spi-nor";
43 spi-max-frequency = <10000000>;
46 compatible = "fixed-partitions";
58 reg = <0x30000 0x10000>;
62 factory: partition@40000 {
63 compatible = "nvmem-cells";
65 reg = <0x40000 0x10000>;
70 eeprom_factory_0: eeprom@0 {
74 macaddr_factory_4: macaddr@4 {
79 firmware: partition@50000 {
80 compatible = "denx,uimage";
82 /* reg property is set based on flash size in DTS files */
90 groups = "i2c", "jtag", "uartf";
96 nvmem-cells = <&macaddr_factory_4>;
97 nvmem-cell-names = "mac-address";
101 mediatek,portmap = <0x2f>;
102 mediatek,led_polarity = <1>;
106 ralink,led-polarity = <1>;
107 nvmem-cells = <&eeprom_factory_0>;
108 nvmem-cell-names = "eeprom";