5 #include <dt-bindings/input/input.h>
8 compatible = "HLKRM04", "ralink,rt5350-soc";
9 model = "HILINK HLK-RM04";
12 device_type = "memory";
13 reg = <0x0 0x1000000>;
17 bootargs = "console=ttyS1,57600";
21 compatible = "gpio-export";
27 gpio-export,name = "hlk-rm04:gpio0";
28 gpio-export,direction_may_change = <1>;
33 gpio-export,name = "hlk-rm04:gpio1";
34 gpio-export,direction_may_change = <1>;
40 compatible = "gpio-keys-polled";
47 linux,code = <KEY_RESTART>;
51 gpios = <&gpio0 14 1>;
52 linux,code = <KEY_WPS_BUTTON>;
67 compatible = "jedec,spi-nor";
69 linux,modalias = "m25p80", "s25fl064k";
70 spi-max-frequency = <10000000>;
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0x3b0000>;
98 state_default: pinctrl0 {
100 ralink,group = "i2c", "jtag";
101 ralink,function = "gpio";
105 ralink,group = "uartf";
106 ralink,function = "gpio uartf";
112 mtd-mac-address = <&factory 0x4>;
116 ralink,mtd-eeprom = <&factory 0>;