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_system;
14 led-failsafe = &led_system;
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 = <&gpio 6 GPIO_ACTIVE_LOW>;
32 label = "hc5962:red:system";
33 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
44 linux,code = <KEY_RESTART>;
49 compatible = "mtd-concat";
50 devices = <&ubipart0 &ubipart1>;
53 compatible = "fixed-partitions";
59 reg = <0x0 0x79c0000>;
69 compatible = "fixed-partitions";
81 reg = <0x80000 0x80000>;
85 factory: partition@100000 {
87 reg = <0x100000 0x40000>;
93 reg = <0x140000 0x400000>;
96 ubipart0: partition@540000 {
98 reg = <0x540000 0x1c80000>;
103 reg = <0x21c0000 0x80000>;
107 ubipart1: partition@2240000 {
109 reg = <0x2240000 0x5d40000>;
120 reg = <0x0000 0 0 0 0>;
121 mediatek,mtd-eeprom = <&factory 0x0000>;
122 ieee80211-freq-limit = <2400000 2500000>;
128 reg = <0x0000 0 0 0 0>;
129 mediatek,mtd-eeprom = <&factory 0x8000>;
130 ieee80211-freq-limit = <5000000 6000000>;
160 groups = "uart3", "jtag";