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";
21 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
27 compatible = "gpio-export";
31 gpio-export,name = "usbpower";
32 gpio-export,output = <1>;
33 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
39 ralink,gpiomux = "i2c", "jtag";
40 ralink,uartmux = "gpio";
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <10000000>;
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
84 reg = <0x50000 0xf80000>;
89 reg = <0xfd0000 0x10000>;
92 bdinfo: partition@fe0000 {
94 reg = <0xfe0000 0x10000>;
99 reg = <0xff0000 0x10000>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&ephy_pins>;
115 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = "wllll";
124 ralink,mtd-eeprom = <&factory 0>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&pa_pins>;
134 state_default: pinctrl0 {
136 ralink,group = "uartf", "wled", "nd_sd";
137 ralink,function = "gpio";