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 compatible = "gpio-leds";
27 label = "hc5661a:blue:system";
28 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
31 label = "hc5661a:blue:internet";
32 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
35 label = "hc5661a:blue:wlan2g";
36 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
41 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";
65 compatible = "jedec,spi-nor";
67 linux,modalias = "m25p80", "w25q128";
68 spi-max-frequency = <10000000>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
94 compatible = "denx,uimage";
96 reg = <0x50000 0xf70000>;
101 reg = <0xfc0000 0x20000>;
105 bdinfo: partition@fe0000 {
107 reg = <0xfe0000 0x10000>;
113 reg = <0xff0000 0x10000>;
121 mtd-mac-address = <&factory 0x4>;
122 mediatek,portmap = "wllll";