1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "hiwifi,hc5x61", "ralink,mt7620a-soc";
10 bootargs = "console=ttyS0,115200";
14 compatible = "gpio-keys-polled";
19 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
25 compatible = "gpio-export";
29 gpio-export,name = "usbpower";
30 gpio-export,output = <1>;
31 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
37 ralink,gpiomux = "i2c", "jtag";
38 ralink,uartmux = "gpio";
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
63 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
78 factory: partition@40000 {
80 reg = <0x40000 0x10000>;
84 compatible = "denx,uimage";
86 reg = <0x50000 0xf80000>;
91 reg = <0xfd0000 0x10000>;
94 bdinfo: partition@fe0000 {
96 reg = <0xfe0000 0x10000>;
101 reg = <0xff0000 0x10000>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&ephy_pins>;
118 mtd-mac-address = <&factory 0x4>;
119 mediatek,portmap = "wllll";
127 ralink,mtd-eeprom = <&factory 0>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&pa_pins>;
137 state_default: pinctrl0 {
139 ralink,group = "uartf", "wled";
140 ralink,function = "gpio";