1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.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 2 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
30 compatible = "gpio-leds";
33 label = "green:system";
34 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
39 function = LED_FUNCTION_USB;
40 color = <LED_COLOR_ID_GREEN>;
41 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
42 trigger-sources = <&hub_port0>;
43 linux,default-trigger = "usbport";
47 label = "green:wlan2g";
48 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
58 compatible = "qcom,ath10k";
59 reg = <0x0000 0 0 0 0>;
60 nvmem-cells = <&cal_art_5000>;
61 nvmem-cell-names = "calibration";
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <25000000>;
73 partitions: partitions {
74 compatible = "fixed-partitions";
80 reg = <0x000000 0x040000>;
86 reg = <0x040000 0x010000>;
90 pridata: partition@50000 {
92 reg = <0x050000 0x010000>;
96 compatible = "fixed-layout";
100 macaddr_pridata_400: macaddr@400 {
106 art: partition@60000 {
108 reg = <0x060000 0x010000>;
112 compatible = "fixed-layout";
113 #address-cells = <1>;
116 cal_art_5000: calibration@5000 {
117 reg = <0x5000 0x844>;
128 phy0: ethernet-phy@0 {
131 qca,mib-poll-interval = <500>;
133 qca,ar8327-initvals = <
134 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
135 0x7c 0x0000007e /* PORT0_STATUS */
143 pll-data = <0x03000101 0x00000101 0x00001919>;
146 phy-handle = <&phy0>;
148 nvmem-cells = <&macaddr_pridata_400>;
149 nvmem-cell-names = "mac-address";
171 mtd-cal-data = <&art 0x1000>;