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 {
64 reg = <0x40000 0x10000>;
68 firmware: partition@50000 {
69 compatible = "denx,uimage";
71 /* reg property is set based on flash size in DTS files */
79 groups = "i2c", "jtag", "uartf";
85 nvmem-cells = <&macaddr_factory_4>;
86 nvmem-cell-names = "mac-address";
90 mediatek,portmap = <0x2f>;
91 mediatek,led_polarity = <1>;
95 ralink,mtd-eeprom = <&factory 0x0>;
96 ralink,led-polarity = <1>;
100 compatible = "nvmem-cells";
101 #address-cells = <1>;
104 macaddr_factory_4: macaddr@4 {