3 /include/ "rt5350.dtsi"
6 compatible = "HLKRM04", "ralink,rt5350-soc";
7 model = "HILINK HLK-RM04";
10 device_type = "memory";
11 reg = <0x0 0x1000000>;
15 bootargs = "console=ttyS1,57600";
29 compatible = "jedec,spi-nor";
31 linux,modalias = "m25p80", "s25fl064k";
32 spi-max-frequency = <10000000>;
42 reg = <0x30000 0x10000>;
46 factory: partition@40000 {
48 reg = <0x40000 0x10000>;
54 reg = <0x50000 0x3b0000>;
61 state_default: pinctrl0 {
63 ralink,group = "i2c", "jtag";
64 ralink,function = "gpio";
68 ralink,group = "uartf";
69 ralink,function = "gpio uartf";
75 mtd-mac-address = <&factory 0x4>;
79 ralink,mtd-eeprom = <&factory 0>;
91 compatible = "gpio-export";
97 gpio-export,name = "hlk-rm04:gpio0";
98 gpio-export,direction_may_change = <1>;
103 gpio-export,name = "hlk-rm04:gpio1";
104 gpio-export,direction_may_change = <1>;
105 gpios = <&gpio0 2 0>;
110 compatible = "gpio-keys-polled";
111 #address-cells = <1>;
113 poll-interval = <20>;
116 gpios = <&gpio0 0 1>;
117 linux,code = <0x198>;
121 gpios = <&gpio0 14 1>;
122 linux,code = <0x211>;