5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "hiwifi,hc5962", "mediatek,mt7621-soc";
10 model = "HiWiFi HC5962";
13 device_type = "memory";
14 reg = <0x0 0x10000000>;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
25 label = "hc5962:white:status";
26 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
30 label = "hc5962:red:system";
31 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
44 linux,code = <KEY_RESTART>;
60 reg = <0x80000 0x80000>;
64 factory: partition@100000 {
66 reg = <0x100000 0x40000>;
72 reg = <0x140000 0x200000>;
77 reg = <0x340000 0x1E00000>;
82 reg = <0x2140000 0x80000>;
88 reg = <0x21c0000 0x80000>;
94 reg = <0x2240000 0x80000>;
100 reg = <0x22c0000 0x1000000>;
104 label = "firmware_backup";
105 reg = <0x32c0000 0x2000000>;
110 reg = <0x52c0000 0x200000>;
115 reg = <0x54c0000 0x2ac0000>;
124 reg = <0x0000 0 0 0 0>;
126 mediatek,mtd-eeprom = <&factory 0x0000>;
127 ieee80211-freq-limit = <2400000 2500000>;
133 reg = <0x0000 0 0 0 0>;
135 mediatek,mtd-eeprom = <&factory 0x8000>;
136 ieee80211-freq-limit = <5000000 6000000>;
142 state_default: pinctrl0 {
144 ralink,group = "uart3", "jtag";
145 ralink,function = "gpio";