5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "poray,x8", "ralink,rt5350-soc";
13 compatible = "gpio-leds";
16 label = "x8:green:power";
17 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
22 compatible = "gpio-keys-polled";
29 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
41 compatible = "jedec,spi-nor";
43 spi-max-frequency = <10000000>;
53 reg = <0x30000 0x10000>;
57 factory: partition@40000 {
59 reg = <0x40000 0x10000>;
65 reg = <0x50000 0x7b0000>;
71 state_default: pinctrl0 {
73 ralink,group = "i2c", "jtag", "uartf";
74 ralink,function = "gpio";
80 mtd-mac-address = <&factory 0x4>;
84 mediatek,portmap = <0x2f>;
85 mediatek,led_polarity = <1>;
89 ralink,mtd-eeprom = <&factory 0>;
90 ralink,led-polarity = <1>;