3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "poray,x8", "ralink,rt5350-soc";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 label = "green:power";
22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
32 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
42 compatible = "jedec,spi-nor";
44 spi-max-frequency = <10000000>;
47 compatible = "fixed-partitions";
59 reg = <0x30000 0x10000>;
63 factory: partition@40000 {
64 compatible = "nvmem-cells";
66 reg = <0x40000 0x10000>;
71 eeprom_factory_0: eeprom@0 {
75 macaddr_factory_4: macaddr@4 {
81 compatible = "denx,uimage";
83 reg = <0x50000 0x7b0000>;
91 groups = "i2c", "jtag", "uartf";
97 nvmem-cells = <&macaddr_factory_4>;
98 nvmem-cell-names = "mac-address";
102 mediatek,portmap = <0x2f>;
103 mediatek,led_polarity = <1>;
107 ralink,led-polarity = <1>;
108 nvmem-cells = <&eeprom_factory_0>;
109 nvmem-cell-names = "eeprom";