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>;
43 compatible = "jedec,spi-nor";
45 spi-max-frequency = <10000000>;
55 reg = <0x30000 0x10000>;
59 factory: partition@40000 {
61 reg = <0x40000 0x10000>;
67 reg = <0x50000 0x7b0000>;
73 state_default: pinctrl0 {
75 ralink,group = "i2c", "jtag", "uartf";
76 ralink,function = "gpio";
82 mtd-mac-address = <&factory 0x4>;
86 mediatek,portmap = <0x2f>;
87 mediatek,led_polarity = <1>;
91 ralink,mtd-eeprom = <&factory 0>;
92 ralink,led-polarity = <1>;