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 label = "amber:power";
36 color = <LED_COLOR_ID_AMBER>;
37 function = LED_FUNCTION_POWER;
38 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
41 led_power_green: power-green {
42 label = "green:power";
43 color = <LED_COLOR_ID_GREEN>;
44 function = LED_FUNCTION_POWER;
45 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
49 label = "green:wlan2g";
50 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy1tpt";
56 compatible = "mtd-concat";
57 devices = <&fwconcat0 &fwconcat1>;
60 compatible = "fixed-partitions";
66 reg = <0x0 0x1f90000>;
67 compatible = "denx,uimage";
76 nvmem-cells = <&macaddr_art_0>;
77 nvmem-cell-names = "mac-address";
79 pll-data = <0xa6000000 0x00000101 0x00001616>;
85 phy0: ethernet-phy@0 {
87 qca,ar8327-initvals = <
88 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
89 0x0c 0x00080080 /* PORT6 PAD MODE CTRL */
90 0x58 0xc935c935 /* LED2 CTRL */
91 0x5c 0x03ffff00 /* LED3 CTRL */
92 0x7c 0x0000007e /* PORT0_STATUS */
93 0x94 0x0000007e /* PORT6_STATUS */
101 nvmem-cells = <&macaddr_art_6>;
102 nvmem-cell-names = "mac-address";
103 pll-data = <0x03000101 0x00000101 0x00001616>;
115 compatible = "qcom,ath10k";
116 reg = <0x0000 0 0 0 0>;
124 compatible = "jedec,spi-nor";
126 spi-max-frequency = <25000000>;
129 compatible = "fixed-partitions";
130 #address-cells = <1>;
135 reg = <0x000000 0x040000>;
140 label = "u-boot-env";
141 reg = <0x040000 0x010000>;
146 reg = <0x050000 0x010000>;
150 fwconcat0: partition@60000 {
152 reg = <0x060000 0xf90000>;
155 art: partition@ff0000 {
157 reg = <0xff0000 0x010000>;
161 compatible = "fixed-layout";
162 #address-cells = <1>;
165 macaddr_art_0: macaddr@0 {
169 macaddr_art_6: macaddr@6 {
178 compatible = "jedec,spi-nor";
180 spi-max-frequency = <25000000>;
183 compatible = "fixed-partitions";
184 #address-cells = <1>;
187 fwconcat1: partition@0 {
189 reg = <0x0 0x1000000>;
206 mtd-cal-data = <&art 0x1000>;