5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "poray,x8", "ralink,rt5350-soc";
13 led-status = &led_power;
17 compatible = "gpio-leds";
20 label = "x8:green:power";
21 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
26 compatible = "gpio-keys-polled";
31 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
41 compatible = "jedec,spi-nor";
43 spi-max-frequency = <10000000>;
46 compatible = "fixed-partitions";
58 reg = <0x30000 0x10000>;
62 factory: partition@40000 {
64 reg = <0x40000 0x10000>;
70 reg = <0x50000 0x7b0000>;
77 state_default: pinctrl0 {
79 ralink,group = "i2c", "jtag", "uartf";
80 ralink,function = "gpio";
86 mtd-mac-address = <&factory 0x4>;
90 mediatek,portmap = <0x2f>;
91 mediatek,led_polarity = <1>;
95 ralink,mtd-eeprom = <&factory 0>;
96 ralink,led-polarity = <1>;