3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "hiwifi,hc5861b", "mediatek,mt7628an-soc";
10 model = "HiWiFi HC5861B";
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 = "hc5861b:green:system";
33 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
36 label = "hc5861b:green:wlan2g";
37 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys-polled";
47 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
54 state_default: pinctrl0 {
56 ralink,group = "refclk", "wdt", "wled_an";
57 ralink,function = "gpio";
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <10000000>;
69 m25p,chunked-io = <32>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
95 compatible = "denx,uimage";
97 reg = <0x50000 0xf70000>;
102 reg = <0xfc0000 0x20000>;
106 bdinfo: partition@fe0000 {
108 reg = <0xfe0000 0x10000>;
114 reg = <0xff0000 0x10000>;
122 mtd-mac-address = <&factory 0x4>;
135 reg = <0x0000 0 0 0 0>;
136 mediatek,mtd-eeprom = <&factory 0x8000>;
137 mtd-mac-address = <&factory 0x2e>;
138 ieee80211-freq-limit = <5000000 6000000>;