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>;
26 compatible = "gpio-leds";
29 label = "hc5661a:blue:system";
30 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
33 label = "hc5661a:blue:internet";
34 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
37 label = "hc5661a:blue:wlan2g";
38 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys-polled";
48 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
55 state_default: pinctrl0 {
57 ralink,group = "i2c", "refclk", "wled_an";
58 ralink,function = "gpio";
71 compatible = "jedec,spi-nor";
73 linux,modalias = "m25p80", "w25q128";
74 spi-max-frequency = <10000000>;
75 m25p,chunked-io = <32>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
102 reg = <0x50000 0xf70000>;
107 reg = <0xfc0000 0x20000>;
111 bdinfo: partition@fe0000 {
113 reg = <0xfe0000 0x10000>;
119 reg = <0xff0000 0x10000>;
127 mtd-mac-address = <&factory 0x4>;
128 mediatek,portmap = "wllll";