3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "poray,m3", "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 label = "blue:status";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
32 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
38 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
40 linux,input-type = <EV_SW>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <10000000>;
54 compatible = "fixed-partitions";
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
77 compatible = "denx,uimage";
79 reg = <0x50000 0x3b0000>;
87 groups = "i2c", "jtag", "uartf";
93 nvmem-cells = <&macaddr_factory_4>;
94 nvmem-cell-names = "mac-address";
98 mediatek,portmap = <0x2f>;
99 mediatek,led_polarity = <1>;
103 ralink,mtd-eeprom = <&factory 0x0>;
104 ralink,led-polarity = <1>;
108 compatible = "nvmem-cells";
109 #address-cells = <1>;
112 macaddr_factory_4: macaddr@4 {