3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "HC5661A", "mediatek,mt7628an-soc";
10 model = "HiWiFi HC5661A";
13 bootargs = "console=ttyS0,115200";
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 compatible = "gpio-leds";
25 label = "hc5661a:blue:system";
26 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
29 label = "hc5661a:blue:internet";
30 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
33 label = "hc5661a:blue:wlan2g";
34 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
39 compatible = "gpio-keys-polled";
46 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
53 state_default: pinctrl0 {
55 ralink,group = "i2c", "refclk", "wled_an";
56 ralink,function = "gpio";
67 compatible = "jedec,spi-nor";
69 linux,modalias = "m25p80", "w25q128";
70 spi-max-frequency = <10000000>;
71 m25p,chunked-io = <32>;
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
93 reg = <0x50000 0xf70000>;
98 reg = <0xfc0000 0x20000>;
102 bdinfo: partition@fe0000 {
104 reg = <0xfe0000 0x10000>;
110 reg = <0xff0000 0x10000>;
117 mtd-mac-address = <&factory 0x4>;
118 mediatek,portmap = "wllll";