kernel: bump 6.1 to 6.1.89
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_zyxel_nbg6716.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "qca955x_zyxel_nbg6x16.dtsi"
6
7 / {
8 compatible = "zyxel,nbg6716", "qca,qca9558";
9 model = "ZyXEL NBG6716";
10
11 aliases {
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 led_power: power {
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_WHITE>;
24 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
25 };
26
27 internet {
28 label = "white:internet";
29 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
30 };
31
32 usb1 {
33 label = "white:usb1";
34 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "usbport";
36 trigger-sources = <&hub_port1>;
37 };
38
39 usb2 {
40 label = "white:usb2";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "usbport";
43 trigger-sources = <&hub_port0>;
44 };
45
46 wifi2g {
47 label = "white:wifi2g";
48 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
50 };
51
52 wifi5g {
53 label = "white:wifi5g";
54 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy0tpt";
56 };
57
58 wps {
59 function = LED_FUNCTION_WPS;
60 color = <LED_COLOR_ID_WHITE>;
61 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
62 };
63 };
64 };
65
66 &keys {
67 usb1 {
68 label = "USB1 eject button";
69 linux,code = <BTN_1>;
70 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
71 debounce-interval = <60>;
72 };
73
74 usb2 {
75 label = "USB2 eject button";
76 linux,code = <BTN_2>;
77 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
78 debounce-interval = <60>;
79 };
80 };
81
82 &gpio_usb_power {
83 line-name = "nbg6716:power:usb";
84 };
85
86 &spi {
87 status = "okay";
88
89 flash@0 {
90 compatible = "jedec,spi-nor";
91 reg = <0>;
92 spi-max-frequency = <25000000>;
93
94 partitions {
95 compatible = "fixed-partitions";
96 #address-cells = <1>;
97 #size-cells = <1>;
98
99 uboot: partition@0 {
100 label = "u-boot";
101 reg = <0x000000 0x040000>;
102 read-only;
103 };
104
105 uboot_env: partition@40000 {
106 label = "u-boot-env";
107 reg = <0x040000 0x010000>;
108 };
109
110 art: partition@50000 {
111 label = "art";
112 reg = <0x050000 0x010000>;
113 read-only;
114
115 nvmem-layout {
116 compatible = "fixed-layout";
117 #address-cells = <1>;
118 #size-cells = <1>;
119
120 cal_art_5000: calibration@5000 {
121 reg = <0x5000 0x844>;
122 };
123 };
124 };
125
126 partition@60000 {
127 label = "nbu";
128 reg = <0x060000 0xfa0000>;
129 };
130 };
131 };
132 };
133
134 &nand {
135 status = "okay";
136
137 partitions {
138 compatible = "fixed-partitions";
139 #address-cells = <1>;
140 #size-cells = <1>;
141
142 partition@0 {
143 label = "zyxel_rfsd";
144 reg = <0x0 0x200000>;
145 };
146
147 partition@200000 {
148 label = "romd";
149 reg = <0x200000 0x200000>;
150 };
151
152 partition@400000 {
153 label = "header";
154 reg = <0x400000 0x100000>;
155 };
156
157 firmware@500000 {
158 label = "firmware";
159 reg = <0x500000 0x7b00000>;
160
161 compatible = "fixed-partitions";
162 #address-cells = <1>;
163 #size-cells = <1>;
164
165 partition@0 {
166 label = "kernel";
167 reg = <0x0 0x400000>;
168 };
169
170 partition@400000 {
171 label = "ubi";
172 reg = <0x400000 0x7700000>;
173 };
174 };
175 };
176 };
177
178 &pcie1 {
179 status = "okay";
180
181 wifi@0,0 {
182 compatible = "qcom,ath10k";
183 reg = <0 0 0 0 0>;
184 nvmem-cells = <&cal_art_5000>;
185 nvmem-cell-names = "calibration";
186 qcom,ath10k-calibration-variant = "ZyXEL-NBG6716";
187 };
188 };