5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "poray,x8", "ralink,rt5350-soc";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "x8:green:power";
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
44 compatible = "jedec,spi-nor";
46 spi-max-frequency = <10000000>;
49 compatible = "fixed-partitions";
61 reg = <0x30000 0x10000>;
65 factory: partition@40000 {
67 reg = <0x40000 0x10000>;
72 compatible = "denx,uimage";
74 reg = <0x50000 0x7b0000>;
81 state_default: pinctrl0 {
83 ralink,group = "i2c", "jtag", "uartf";
84 ralink,function = "gpio";
90 mtd-mac-address = <&factory 0x4>;
94 mediatek,portmap = <0x2f>;
95 mediatek,led_polarity = <1>;
99 ralink,mtd-eeprom = <&factory 0>;
100 ralink,led-polarity = <1>;