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";
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 reg = <0x50000 0xf80000>;
87 reg = <0xfd0000 0x10000>;
90 bdinfo: partition@fe0000 {
92 reg = <0xfe0000 0x10000>;
97 reg = <0xff0000 0x10000>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&ephy_pins>;
113 mtd-mac-address = <&factory 0x4>;
114 mediatek,portmap = "wllll";
122 ralink,mtd-eeprom = <&factory 0>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pa_pins>;
132 state_default: pinctrl0 {
134 ralink,group = "uartf", "wled", "nd_sd";
135 ralink,function = "gpio";