5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "hilink,hlk-rm04", "ralink,rt5350-soc";
10 model = "HILINK HLK-RM04";
13 bootargs = "console=ttyS1,57600";
17 compatible = "gpio-export";
23 gpio-export,name = "hlk-rm04:gpio0";
24 gpio-export,direction_may_change = <1>;
25 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
29 gpio-export,name = "hlk-rm04:gpio1";
30 gpio-export,direction_may_change = <1>;
31 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
45 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <10000000>;
64 compatible = "fixed-partitions";
76 reg = <0x30000 0x10000>;
80 factory: partition@40000 {
82 reg = <0x40000 0x10000>;
87 compatible = "denx,uimage";
89 reg = <0x50000 0x3b0000>;
97 ralink,group = "i2c", "jtag";
98 ralink,function = "gpio";
102 ralink,group = "uartf";
103 ralink,function = "gpio uartf";
108 mtd-mac-address = <&factory 0x4>;
112 ralink,mtd-eeprom = <&factory 0>;