3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc";
10 model = "HiWiFi HC5661A";
13 led-status = &led_system;
17 bootargs = "console=ttyS0,115200";
21 device_type = "memory";
22 reg = <0x0 0x8000000>;
30 compatible = "gpio-leds";
33 label = "hc5661a:blue:system";
34 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
37 label = "hc5661a:blue:internet";
38 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
41 label = "hc5661a:blue:wlan2g";
42 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
47 compatible = "gpio-keys-polled";
54 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
61 state_default: pinctrl0 {
63 ralink,group = "i2c", "refclk", "wled_an";
64 ralink,function = "gpio";
75 compatible = "jedec,spi-nor";
77 linux,modalias = "m25p80", "w25q128";
78 spi-max-frequency = <10000000>;
79 m25p,chunked-io = <32>;
89 reg = <0x30000 0x10000>;
93 factory: partition@40000 {
95 reg = <0x40000 0x10000>;
101 reg = <0x50000 0xf70000>;
106 reg = <0xfc0000 0x20000>;
110 bdinfo: partition@fe0000 {
112 reg = <0xfe0000 0x10000>;
118 reg = <0xff0000 0x10000>;
125 mtd-mac-address = <&factory 0x4>;
126 mediatek,portmap = "wllll";