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 led-status = &led_status;
17 device_type = "memory";
18 reg = <0x0 0x10000000>;
22 bootargs = "console=ttyS0,115200";
26 compatible = "gpio-leds";
29 label = "hc5962:white:status";
30 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
34 label = "hc5962:red:system";
35 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys-polled";
45 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
46 linux,code = <KEY_RESTART>;
55 compatible = "fixed-partitions";
67 reg = <0x80000 0x80000>;
71 factory: partition@100000 {
73 reg = <0x100000 0x40000>;
79 reg = <0x140000 0x200000>;
84 reg = <0x340000 0x1E00000>;
89 reg = <0x2140000 0x80000>;
95 reg = <0x21c0000 0x80000>;
101 reg = <0x2240000 0x80000>;
107 reg = <0x22c0000 0x1000000>;
111 label = "firmware_backup";
112 reg = <0x32c0000 0x2000000>;
117 reg = <0x52c0000 0x200000>;
122 reg = <0x54c0000 0x2ac0000>;
133 reg = <0x0000 0 0 0 0>;
134 mediatek,mtd-eeprom = <&factory 0x0000>;
135 ieee80211-freq-limit = <2400000 2500000>;
141 reg = <0x0000 0 0 0 0>;
142 mediatek,mtd-eeprom = <&factory 0x8000>;
143 ieee80211-freq-limit = <5000000 6000000>;
148 state_default: pinctrl0 {
150 ralink,group = "uart3", "jtag";
151 ralink,function = "gpio";