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;
15 led-boot = &led_status_green;
16 led-failsafe = &led_status_green;
17 led-running = &led_status_green;
18 led-upgrade = &led_status_green;
19 label-mac-device = ð0;
23 compatible = "gpio-keys";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-leds";
36 function = LED_FUNCTION_STATUS;
37 color = <LED_COLOR_ID_BLUE>;
38 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
42 function = LED_FUNCTION_STATUS;
43 color = <LED_COLOR_ID_RED>;
44 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
47 led_status_green: status_green {
48 function = LED_FUNCTION_STATUS;
49 color = <LED_COLOR_ID_GREEN>;
50 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
55 compatible = "linux,wdt-gpio";
56 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
58 /* hw_margin_ms is actually 300s but driver limits it to 60s */
59 hw_margin_ms = <60000>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <40000000>;
80 /* partitions are passed via bootloader */
82 compatible = "fixed-partitions";
88 reg = <0x000000 0x040000>;
94 reg = <0x040000 0x010000>;
99 reg = <0x050000 0x060000>;
105 reg = <0x0b0000 0x7a0000>;
110 reg = <0x850000 0x7a0000>;
113 art: partition@ff0000 {
115 reg = <0xff0000 0x010000>;
119 compatible = "fixed-layout";
120 #address-cells = <1>;
123 macaddr_art_0: macaddr@0 {
124 compatible = "mac-base";
126 #nvmem-cell-cells = <1>;
129 macaddr_art_6: macaddr@6 {
133 cal_art_5000: calibration@5000 {
134 reg = <0x5000 0x844>;
145 phy1: ethernet-phy@1 {
151 phy2: ethernet-phy@2 {
155 at803x-override-sgmii-link-check;
162 pll-data = <0x82000101 0x80000101 0x80001313>;
164 nvmem-cells = <&macaddr_art_0 0>;
165 nvmem-cell-names = "mac-address";
167 phy-mode = "rgmii-id";
168 phy-handle = <&phy1>;
183 pll-data = <0x03000101 0x80000101 0x80001313>;
185 nvmem-cells = <&macaddr_art_6>;
186 nvmem-cell-names = "mac-address";
190 phy-handle = <&phy2>;
196 mtd-cal-data = <&art 0x1000>;
197 nvmem-cells = <&macaddr_art_0 2>;
198 nvmem-cell-names = "mac-address";
205 compatible = "qcom,ath10k";
206 reg = <0x0000 0 0 0 0>;
207 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
208 nvmem-cell-names = "calibration", "mac-address";