1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "HiWiFi HC6361";
10 compatible = "hiwifi,hc6361", "qca,ar9331";
14 led-boot = &led_system;
15 led-failsafe = &led_system;
16 led-running = &led_system;
17 led-upgrade = &led_system;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
35 label = "blue:system";
36 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
49 reg_usb_vbus: regulator {
50 compatible = "regulator-fixed";
51 regulator-name = "usb_vbus";
52 regulator-min-microvolt = <5000000>;
53 regulator-max-microvolt = <5000000>;
55 gpio = <&gpio 20 GPIO_ACTIVE_HIGH>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <25000000>;
69 compatible = "fixed-partitions";
79 bdinfo: partition@10000 {
80 reg = <0x10000 0x10000>;
85 firmware: partition@20000 {
86 compatible = "denx,uimage";
87 reg = <0x20000 0xfc0000>;
91 backup: partition@fe0000 {
92 reg = <0xfe0000 0x10000>;
97 art: partition@ff0000 {
98 reg = <0xff0000 0x10000>;
117 vbus-supply = <®_usb_vbus>;
127 nvmem-cells = <&macaddr_bdinfo_18a>;
128 nvmem-cell-names = "mac-address-ascii";
129 mac-address-increment = <1>;
135 nvmem-cells = <&macaddr_bdinfo_18a>;
136 nvmem-cell-names = "mac-address-ascii";
141 mtd-cal-data = <&art 0x1000>;
143 nvmem-cells = <&macaddr_bdinfo_18a>;
144 nvmem-cell-names = "mac-address-ascii";
145 mac-address-increment = <2>;
149 compatible = "nvmem-cells";
150 #address-cells = <1>;
153 macaddr_bdinfo_18a: macaddr@18a {