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-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 bootargs = "console=ttyS0,115200";
24 device_type = "memory";
25 reg = <0x0 0x8000000>;
29 compatible = "gpio-leds";
32 label = "hc5661a:blue:system";
33 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
36 label = "hc5661a:blue:internet";
37 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
40 label = "hc5661a:blue:wlan2g";
41 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
46 compatible = "gpio-keys-polled";
51 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
58 state_default: pinctrl0 {
60 ralink,group = "i2c", "refclk", "wled_an";
61 ralink,function = "gpio";
74 compatible = "jedec,spi-nor";
76 linux,modalias = "m25p80", "w25q128";
77 spi-max-frequency = <10000000>;
78 m25p,chunked-io = <32>;
81 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
97 factory: partition@40000 {
99 reg = <0x40000 0x10000>;
104 compatible = "denx,uimage";
106 reg = <0x50000 0xf70000>;
111 reg = <0xfc0000 0x20000>;
115 bdinfo: partition@fe0000 {
117 reg = <0xfe0000 0x10000>;
123 reg = <0xff0000 0x10000>;
131 mtd-mac-address = <&factory 0x4>;
132 mediatek,portmap = "wllll";