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";
73 compatible = "jedec,spi-nor";
75 linux,modalias = "m25p80", "w25q128";
76 spi-max-frequency = <10000000>;
77 m25p,chunked-io = <32>;
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0xf70000>;
104 reg = <0xfc0000 0x20000>;
108 bdinfo: partition@fe0000 {
110 reg = <0xfe0000 0x10000>;
116 reg = <0xff0000 0x10000>;
123 mtd-mac-address = <&factory 0x4>;
124 mediatek,portmap = "wllll";