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-status = &led_system;
17 bootargs = "console=ttyS0,115200";
21 device_type = "memory";
22 reg = <0x0 0x8000000>;
26 compatible = "gpio-leds";
29 label = "hc5861b:green:system";
30 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
33 label = "hc5861b:green:wlan2g";
34 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
44 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
51 state_default: pinctrl0 {
53 ralink,group = "refclk", "wdt", "wled_an";
54 ralink,function = "gpio";
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
66 m25p,chunked-io = <32>;
69 compatible = "fixed-partitions";
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>;
118 mtd-mac-address = <&factory 0x4>;
131 reg = <0x0000 0 0 0 0>;
132 mediatek,mtd-eeprom = <&factory 0x8000>;
133 mtd-mac-address = <&factory 0x2e>;
134 ieee80211-freq-limit = <5000000 6000000>;