1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/mtd/partitions/uimage.h>
10 compatible = "kuwfi,c910", "qca,qca9533";
14 label-mac-device = ð1;
15 led-boot = &internet_red;
16 led-failsafe = &internet_red;
17 led-upgrade = &internet_red;
21 compatible = "mtd-concat";
22 devices = <&fwconcat0 &fwconcat1>;
25 compatible = "fixed-partitions";
32 compatible = "openwrt,uimage", "denx,uimage";
33 openwrt,ih-magic = <IH_MAGIC_OKLI>;
39 compatible = "gpio-keys";
43 linux,code = <KEY_RESTART>;
44 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
45 debounce-interval = <60>;
50 compatible = "gpio-leds";
53 label = "blue:internet";
54 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy0tpt";
64 label = "green:internet";
65 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
70 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
75 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
78 // gpio 12 enables or disables LTE (Quectel EC200T)
80 internet_red: internet_red {
81 label = "red:internet";
82 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
87 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
96 compatible = "winbond,w25q128", "jedec,spi-nor";
98 spi-max-frequency = <25000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
107 reg = <0x000000 0x020000>;
112 label = "u-boot-env";
113 reg = <0x020000 0x010000>;
119 reg = <0x030000 0x020000>;
123 fwconcat0: partition@50000 {
125 reg = <0x050000 0xe30000>;
130 reg = <0xe80000 0x10000>;
133 fwconcat1: partition@e90000 {
135 reg = <0xe90000 0x160000>;
140 reg = <0xff0000 0x010000>;
143 compatible = "nvmem-cells";
144 #address-cells = <1>;
147 calibration_art_1000: macaddr@1000 {
148 reg = <0x1000 0x440>;
151 macaddr_art_1002: macaddr@1002 {
170 phy-handle = <&swphy0>;
172 nvmem-cells = <&macaddr_art_1002>;
173 nvmem-cell-names = "mac-address";
174 mac-address-increment = <1>;
178 phy-handle = <&swphy4>;
180 nvmem-cells = <&macaddr_art_1002>;
181 nvmem-cell-names = "mac-address";
185 switch-phy-swap = <1>;
192 nvmem-cells = <&calibration_art_1000>;
193 nvmem-cell-names = "calibration";