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 compatible = "gpio-leds";
27 label = "hc5861b:green:system";
28 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
31 label = "hc5861b:green:wlan2g";
32 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys-polled";
42 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
49 state_default: pinctrl0 {
51 ralink,group = "refclk", "wdt", "wled_an";
52 ralink,function = "gpio";
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
89 compatible = "denx,uimage";
91 reg = <0x50000 0xf70000>;
96 reg = <0xfc0000 0x20000>;
100 bdinfo: partition@fe0000 {
102 reg = <0xfe0000 0x10000>;
108 reg = <0xff0000 0x10000>;
116 mtd-mac-address = <&factory 0x4>;
129 reg = <0x0000 0 0 0 0>;
130 mediatek,mtd-eeprom = <&factory 0x8000>;
131 mtd-mac-address = <&factory 0x2e>;
132 ieee80211-freq-limit = <5000000 6000000>;