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-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
27 label = "hc5962:white:status";
28 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
32 label = "hc5962:red:system";
33 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
44 linux,code = <KEY_RESTART>;
53 compatible = "fixed-partitions";
65 reg = <0x80000 0x80000>;
69 factory: partition@100000 {
71 reg = <0x100000 0x40000>;
77 reg = <0x140000 0x200000>;
82 reg = <0x340000 0x1E00000>;
87 reg = <0x2140000 0x80000>;
93 reg = <0x21c0000 0x80000>;
99 reg = <0x2240000 0x80000>;
105 reg = <0x22c0000 0x1000000>;
109 label = "firmware_backup";
110 reg = <0x32c0000 0x2000000>;
115 reg = <0x52c0000 0x200000>;
120 reg = <0x54c0000 0x2ac0000>;
131 reg = <0x0000 0 0 0 0>;
132 mediatek,mtd-eeprom = <&factory 0x0000>;
133 ieee80211-freq-limit = <2400000 2500000>;
139 reg = <0x0000 0 0 0 0>;
140 mediatek,mtd-eeprom = <&factory 0x8000>;
141 ieee80211-freq-limit = <5000000 6000000>;
146 state_default: pinctrl0 {
148 ralink,group = "uart3", "jtag";
149 ralink,function = "gpio";