5 #include <dt-bindings/input/input.h>
8 compatible = "X5", "ralink,rt5350-soc";
12 compatible = "gpio-leds";
15 label = "x5:green:power";
16 gpios = <&gpio0 13 1>;
20 label = "x5:green:20";
21 gpios = <&gpio0 12 1>;
25 label = "x5:green:50";
26 gpios = <&gpio0 11 1>;
30 label = "x5:green:80";
36 compatible = "gpio-keys-polled";
44 linux,code = <KEY_WPS_BUTTON>;
49 gpios = <&gpio0 10 1>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio0 14 1>;
57 linux,input-type = <EV_SW>;
62 compatible = "gpio-export";
66 gpio-export,name = "usb-mode";
67 gpio-export,output = <0>;
68 gpios = <&gpio0 18 0>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <10000000>;
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
103 reg = <0x50000 0x7b0000>;
109 state_default: pinctrl0 {
111 ralink,group = "i2c", "jtag", "uartf";
112 ralink,function = "gpio";
118 mtd-mac-address = <&factory 0x4>;
122 mediatek,portmap = <0x2f>;
123 mediatek,led_polarity = <1>;
127 ralink,mtd-eeprom = <&factory 0>;
128 ralink,led-polarity = <1>;