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 linux,modalias = "m25p80", "gd25q64";
82 spi-max-frequency = <10000000>;
92 reg = <0x30000 0x10000>;
96 factory: partition@40000 {
98 reg = <0x40000 0x10000>;
104 reg = <0x50000 0x7b0000>;
110 state_default: pinctrl0 {
112 ralink,group = "i2c", "jtag", "uartf";
113 ralink,function = "gpio";
119 mtd-mac-address = <&factory 0x4>;
123 mediatek,portmap = <0x2f>;
124 mediatek,led_polarity = <1>;
128 ralink,mtd-eeprom = <&factory 0>;
129 ralink,led-polarity = <1>;