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>;
70 compatible = "denx,uimage";
72 reg = <0x50000 0x7b0000>;
80 groups = "i2c", "jtag", "uartf";
86 nvmem-cells = <&macaddr_factory_4>;
87 nvmem-cell-names = "mac-address";
91 mediatek,portmap = <0x2f>;
92 mediatek,led_polarity = <1>;
96 ralink,mtd-eeprom = <&factory 0x0>;
97 ralink,led-polarity = <1>;
101 compatible = "nvmem-cells";
102 #address-cells = <1>;
105 macaddr_factory_4: macaddr@4 {