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";
18 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
24 compatible = "gpio-export";
28 gpio-export,name = "usbpower";
29 gpio-export,output = <1>;
30 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
36 ralink,gpiomux = "i2c", "jtag";
37 ralink,uartmux = "gpio";
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
78 factory: partition@40000 {
80 reg = <0x40000 0x10000>;
85 compatible = "denx,uimage";
87 reg = <0x50000 0xf80000>;
92 reg = <0xfd0000 0x10000>;
96 bdinfo: partition@fe0000 {
98 reg = <0xfe0000 0x10000>;
104 reg = <0xff0000 0x10000>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&ephy_pins>;
114 mtd-mac-address = <&factory 0x4>;
115 mediatek,portmap = "wllll";
123 ralink,mtd-eeprom = <&factory 0>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&pa_pins>;
130 ralink,group = "uartf", "wled";
131 ralink,function = "gpio";