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 {
71 compatible = "nvmem-cells";
73 reg = <0x40000 0x10000>;
78 eeprom_factory_0: eeprom@0 {
82 macaddr_factory_4: macaddr@4 {
88 compatible = "denx,uimage";
90 reg = <0x50000 0x3b0000>;
98 groups = "i2c", "jtag", "uartf";
104 nvmem-cells = <&macaddr_factory_4>;
105 nvmem-cell-names = "mac-address";
109 mediatek,portmap = <0x2f>;
110 mediatek,led_polarity = <1>;
114 ralink,led-polarity = <1>;
115 nvmem-cells = <&eeprom_factory_0>;
116 nvmem-cell-names = "eeprom";