3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "hiwifi,hc5962", "mediatek,mt7621-soc";
9 model = "HiWiFi HC5962";
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 function = LED_FUNCTION_STATUS;
27 color = <LED_COLOR_ID_WHITE>;
28 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
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 = <&ubiconcat0 &ubiconcat1>;
53 compatible = "fixed-partitions";
59 reg = <0x0 0x79c0000>;
69 compatible = "fixed-partitions";
81 reg = <0x80000 0x80000>;
85 factory: partition@100000 {
87 reg = <0x100000 0x40000>;
91 compatible = "fixed-layout";
95 eeprom_factory_0: eeprom@0 {
99 eeprom_factory_8000: eeprom@8000 {
100 reg = <0x8000 0x200>;
107 reg = <0x140000 0x400000>;
110 ubiconcat0: partition@540000 {
111 label = "ubiconcat0";
112 reg = <0x540000 0x1c80000>;
117 reg = <0x21c0000 0x80000>;
121 ubiconcat1: partition@2240000 {
122 label = "ubiconcat1";
123 reg = <0x2240000 0x5d40000>;
134 reg = <0x0000 0 0 0 0>;
135 nvmem-cells = <&eeprom_factory_0>;
136 nvmem-cell-names = "eeprom";
137 ieee80211-freq-limit = <2400000 2500000>;
143 reg = <0x0000 0 0 0 0>;
144 nvmem-cells = <&eeprom_factory_8000>;
145 nvmem-cell-names = "eeprom";
146 ieee80211-freq-limit = <5000000 6000000>;
153 phy-handle = <ðphy4>;
157 ethphy4: ethernet-phy@4 {
183 groups = "uart3", "jtag";