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>
10 model = "AirTight Networks C-75";
11 compatible = "airtight,c-75", "qca,qca9550", "qca,qca9558";
14 label-mac-device = ð0;
15 led-boot = &led_power_amber;
16 led-running = &led_power_green;
17 led-failsafe = &led_power_amber;
18 led-upgrade = &led_power_amber;
22 compatible = "gpio-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-leds";
34 led_power_amber: power-amber {
35 color = <LED_COLOR_ID_AMBER>;
36 function = LED_FUNCTION_POWER;
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
40 led_power_green: power-green {
41 color = <LED_COLOR_ID_GREEN>;
42 function = LED_FUNCTION_POWER;
43 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
47 label = "green:wlan2g";
48 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
54 compatible = "mtd-concat";
55 devices = <&fwconcat0 &fwconcat1>;
58 compatible = "fixed-partitions";
64 reg = <0x0 0x1f90000>;
65 compatible = "denx,uimage";
74 nvmem-cells = <&macaddr_art_0>;
75 nvmem-cell-names = "mac-address";
77 pll-data = <0xa6000000 0x00000101 0x00001616>;
83 phy0: ethernet-phy@0 {
85 qca,ar8327-initvals = <
86 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
87 0x0c 0x00080080 /* PORT6 PAD MODE CTRL */
88 0x58 0xc935c935 /* LED2 CTRL */
89 0x5c 0x03ffff00 /* LED3 CTRL */
90 0x7c 0x0000007e /* PORT0_STATUS */
91 0x94 0x0000007e /* PORT6_STATUS */
99 nvmem-cells = <&macaddr_art_6>;
100 nvmem-cell-names = "mac-address";
101 pll-data = <0x03000101 0x00000101 0x00001616>;
113 compatible = "qcom,ath10k";
114 reg = <0x0000 0 0 0 0>;
122 compatible = "jedec,spi-nor";
124 spi-max-frequency = <25000000>;
127 compatible = "fixed-partitions";
128 #address-cells = <1>;
133 reg = <0x000000 0x040000>;
138 label = "u-boot-env";
139 reg = <0x040000 0x010000>;
144 reg = <0x050000 0x010000>;
148 fwconcat0: partition@60000 {
150 reg = <0x060000 0xf90000>;
153 art: partition@ff0000 {
155 reg = <0xff0000 0x010000>;
162 compatible = "jedec,spi-nor";
164 spi-max-frequency = <25000000>;
167 compatible = "fixed-partitions";
168 #address-cells = <1>;
171 fwconcat1: partition@0 {
173 reg = <0x0 0x1000000>;
190 mtd-cal-data = <&art 0x1000>;
194 compatible = "nvmem-cells";
195 #address-cells = <1>;
198 macaddr_art_0: macaddr@0 {
202 macaddr_art_6: macaddr@6 {