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";
52 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
59 state_default: pinctrl0 {
61 ralink,group = "i2c", "refclk", "wled_an";
62 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";