1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
11 label-mac-device = ð0;
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_system;
15 led-upgrade = &led_system;
19 compatible = "gpio-keys";
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
30 compatible = "gpio-leds";
33 label = "blue:system";
34 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
39 function = LED_FUNCTION_WAN;
40 color = <LED_COLOR_ID_GREEN>;
41 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 function = LED_FUNCTION_LAN;
46 color = <LED_COLOR_ID_GREEN>;
47 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
56 compatible = "qcom,ath10k";
57 reg = <0x0000 0 0 0 0>;
58 nvmem-cells = <&cal_art_5000>;
59 nvmem-cell-names = "calibration";
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <25000000>;
71 partitions: partitions {
72 compatible = "fixed-partitions";
78 reg = <0x000000 0x040000>;
84 reg = <0x040000 0x010000>;
88 pridata: partition@50000 {
90 reg = <0x050000 0x010000>;
94 compatible = "fixed-layout";
98 macaddr_pridata_400: macaddr@400 {
99 compatible = "mac-base";
101 #nvmem-cell-cells = <1>;
104 cal_art_5000: calibration@5000 {
105 reg = <0x5000 0x844>;
110 art: partition@60000 {
112 reg = <0x060000 0x010000>;
122 phy-handle = <&swphy4>;
124 nvmem-cells = <&macaddr_pridata_400 1>;
125 nvmem-cell-names = "mac-address";
129 nvmem-cells = <&macaddr_pridata_400 0>;
130 nvmem-cell-names = "mac-address";
136 mtd-cal-data = <&art 0x1000>;