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>;
85 reg = <0x50000 0xf80000>;
90 reg = <0xfd0000 0x10000>;
93 bdinfo: partition@fe0000 {
95 reg = <0xfe0000 0x10000>;
100 reg = <0xff0000 0x10000>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&ephy_pins>;
117 mtd-mac-address = <&factory 0x4>;
118 mediatek,portmap = "wllll";
126 ralink,mtd-eeprom = <&factory 0>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&pa_pins>;
136 state_default: pinctrl0 {
138 ralink,group = "uartf", "wled";
139 ralink,function = "gpio";