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>;
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>;
134 reg = <0x0000 0 0 0 0>;
135 mediatek,mtd-eeprom = <&factory 0x8000>;
136 mtd-mac-address = <&factory 0x2e>;
137 ieee80211-freq-limit = <5000000 6000000>;