ath79: remove model name from LED labels
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9557_zyxel_nbg6616.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca955x_zyxel_nbg6x16.dtsi"
4
5 / {
6 compatible = "zyxel,nbg6616", "qca,qca9557";
7 model = "ZyXEL NBG6616";
8
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_power: power {
20 label = "green:power";
21 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
22 };
23
24 usb1 {
25 label = "green:usb1";
26 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
27 linux,default-trigger = "usbport";
28 trigger-sources = <&hub_port0>;
29 };
30
31 usb2 {
32 label = "green:usb2";
33 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "usbport";
35 trigger-sources = <&hub_port1>;
36 };
37
38 wifi2g {
39 label = "green:wifi2g";
40 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "phy1tpt";
42 };
43
44 wifi5g {
45 label = "green:wifi5g";
46 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
48 };
49
50 wps {
51 label = "green:wps";
52 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
53 };
54 };
55 };
56
57 &gpio_usb_power {
58 line-name = "nbg6616:power:usb";
59 };
60
61 &spi {
62 status = "okay";
63
64 num-cs = <1>;
65
66 flash@0 {
67 compatible = "jedec,spi-nor";
68 reg = <0>;
69 spi-max-frequency = <25000000>;
70
71 partitions {
72 compatible = "fixed-partitions";
73 #address-cells = <1>;
74 #size-cells = <1>;
75
76 partition@0 {
77 label = "u-boot";
78 reg = <0x000000 0x030000>;
79 read-only;
80 };
81
82 partition@30000 {
83 label = "u-boot-env";
84 reg = <0x030000 0x010000>;
85 };
86
87 art: partition@40000 {
88 label = "art";
89 reg = <0x040000 0x010000>;
90 read-only;
91 };
92
93 partition@50000 {
94 label = "zyxel_rfsd";
95 reg = <0x050000 0x060000>;
96 };
97
98 partition@b0000 {
99 label = "romd";
100 reg = <0x0b0000 0x060000>;
101 };
102
103 partition@110000 {
104 label = "header";
105 reg = <0x110000 0x010000>;
106 };
107
108 partition@120000 {
109 label = "firmware";
110 reg = <0x120000 0xee0000>;
111 compatible = "denx,uimage";
112 };
113 };
114 };
115 };
116
117 &pcie1 {
118 status = "okay";
119
120 wifi@0,0 {
121 compatible = "qcom,ath10k";
122 reg = <0 0 0 0 0>;
123 qca,no-eeprom;
124 };
125 };