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 {
65 reg = <0x40000 0x10000>;
69 compatible = "fixed-layout";
73 eeprom_factory_0: eeprom@0 {
77 macaddr_factory_4: macaddr@4 {
84 compatible = "denx,uimage";
86 reg = <0x50000 0x7b0000>;
94 groups = "i2c", "jtag", "uartf";
100 nvmem-cells = <&macaddr_factory_4>;
101 nvmem-cell-names = "mac-address";
105 mediatek,portmap = <0x2f>;
106 mediatek,led_polarity = <1>;
110 ralink,led-polarity = <1>;
111 nvmem-cells = <&eeprom_factory_0>;
112 nvmem-cell-names = "eeprom";