1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "qca955x_zyxel_nbg6x16.dtsi"
8 compatible = "zyxel,nbg6716", "qca,qca9558";
9 model = "ZyXEL NBG6716";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_WHITE>;
24 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
28 label = "white:internet";
29 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "usbport";
36 trigger-sources = <&hub_port1>;
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "usbport";
43 trigger-sources = <&hub_port0>;
47 label = "white:wifi2g";
48 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
53 label = "white:wifi5g";
54 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy0tpt";
59 function = LED_FUNCTION_WPS;
60 color = <LED_COLOR_ID_WHITE>;
61 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
68 label = "USB1 eject button";
70 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
71 debounce-interval = <60>;
75 label = "USB2 eject button";
77 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
78 debounce-interval = <60>;
83 line-name = "nbg6716:power:usb";
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <25000000>;
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x040000>;
105 uboot_env: partition@40000 {
106 label = "u-boot-env";
107 reg = <0x040000 0x010000>;
110 art: partition@50000 {
112 reg = <0x050000 0x010000>;
116 compatible = "fixed-layout";
117 #address-cells = <1>;
120 cal_art_5000: calibration@5000 {
121 reg = <0x5000 0x844>;
128 reg = <0x060000 0xfa0000>;
138 compatible = "fixed-partitions";
139 #address-cells = <1>;
143 label = "zyxel_rfsd";
144 reg = <0x0 0x200000>;
149 reg = <0x200000 0x200000>;
154 reg = <0x400000 0x100000>;
159 reg = <0x500000 0x7b00000>;
161 compatible = "fixed-partitions";
162 #address-cells = <1>;
167 reg = <0x0 0x400000>;
172 reg = <0x400000 0x7700000>;
182 compatible = "qcom,ath10k";
184 nvmem-cells = <&cal_art_5000>;
185 nvmem-cell-names = "calibration";
186 qcom,ath10k-calibration-variant = "ZyXEL-NBG6716";