1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
11 /delete-property/ bootargs;
16 led-boot = &led_status_green;
17 led-failsafe = &led_status_green;
18 led-running = &led_status_green;
19 led-upgrade = &led_status_green;
20 label-mac-device = ð0;
24 compatible = "gpio-keys";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-leds";
37 function = LED_FUNCTION_STATUS;
38 color = <LED_COLOR_ID_BLUE>;
39 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
43 function = LED_FUNCTION_STATUS;
44 color = <LED_COLOR_ID_RED>;
45 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
48 led_status_green: status_green {
49 function = LED_FUNCTION_STATUS;
50 color = <LED_COLOR_ID_GREEN>;
51 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
56 compatible = "linux,wdt-gpio";
57 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 /* hw_margin_ms is actually 300s but driver limits it to 60s */
60 hw_margin_ms = <60000>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <40000000>;
81 /* partitions are passed via bootloader */
83 compatible = "fixed-partitions";
89 reg = <0x000000 0x040000>;
95 reg = <0x040000 0x010000>;
100 reg = <0x050000 0x060000>;
106 reg = <0x0b0000 0x7a0000>;
111 reg = <0x850000 0x7a0000>;
114 art: partition@ff0000 {
116 reg = <0xff0000 0x010000>;
120 compatible = "fixed-layout";
121 #address-cells = <1>;
124 macaddr_art_0: macaddr@0 {
125 compatible = "mac-base";
127 #nvmem-cell-cells = <1>;
130 macaddr_art_6: macaddr@6 {
134 cal_art_5000: calibration@5000 {
135 reg = <0x5000 0x844>;
146 phy1: ethernet-phy@1 {
152 phy2: ethernet-phy@2 {
156 at803x-override-sgmii-link-check;
163 pll-data = <0x82000101 0x80000101 0x80001313>;
165 nvmem-cells = <&macaddr_art_0 0>;
166 nvmem-cell-names = "mac-address";
168 phy-mode = "rgmii-id";
169 phy-handle = <&phy1>;
184 pll-data = <0x03000101 0x80000101 0x80001313>;
186 nvmem-cells = <&macaddr_art_6>;
187 nvmem-cell-names = "mac-address";
191 phy-handle = <&phy2>;
197 mtd-cal-data = <&art 0x1000>;
198 nvmem-cells = <&macaddr_art_0 2>;
199 nvmem-cell-names = "mac-address";
206 compatible = "qcom,ath10k";
207 reg = <0x0000 0 0 0 0>;
208 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
209 nvmem-cell-names = "calibration", "mac-address";