ath79: remove model name from LED labels
[openwrt/staging/ynezz.git] / target / linux / ath79 / dts / qca9533_dlink_dap-13xx.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca953x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_status;
12 led-running = &led_power;
13 led-upgrade = &led_status;
14 };
15
16 keys {
17 compatible = "gpio-keys";
18
19 wps {
20 label = "wps";
21 linux,code = <KEY_WPS_BUTTON>;
22 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
23 };
24
25 reset {
26 label = "reset";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
29 };
30 };
31
32 leds {
33 compatible = "gpio-leds";
34
35 led_power: power {
36 label = "green:power";
37 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
38 };
39
40 led_status: status {
41 label = "red:status";
42 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
43 };
44
45 rssilow {
46 label = "red:rssilow";
47 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
48 };
49
50 rssimediumlow {
51 label = "green:rssimediumlow";
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
53 };
54
55 rssimediumhigh {
56 label = "green:rssimediumhigh";
57 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
58 };
59
60 rssihigh {
61 label = "green:rssihigh";
62 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
63 };
64 };
65 };
66
67 &spi {
68 status = "okay";
69
70 num-cs = <1>;
71
72 flash@0 {
73 compatible = "jedec,spi-nor";
74 reg = <0>;
75 spi-max-frequency = <50000000>;
76
77 partitions {
78 compatible = "fixed-partitions";
79 #address-cells = <1>;
80 #size-cells = <1>;
81
82 partition@0 {
83 label = "u-boot";
84 reg = <0x0 0x10000>;
85 read-only;
86 };
87
88 art: partition@10000 {
89 label = "art";
90 reg = <0x10000 0x10000>;
91 read-only;
92 };
93
94 partition@20000 {
95 label = "mp";
96 reg = <0x20000 0x10000>;
97 read-only;
98 };
99
100 partition@30000 {
101 label = "config";
102 reg = <0x30000 0x10000>;
103 read-only;
104 };
105
106 partition@40000 {
107 label = "firmware";
108 reg = <0x40000 0x7c0000>;
109 compatible = "denx,uimage";
110 };
111 };
112 };
113 };
114
115 &uart {
116 status = "okay";
117 };
118
119 &eth0 {
120 status = "okay";
121 };
122
123 &wmac {
124 status = "okay";
125
126 mtd-cal-data = <&art 0x1000>;
127 };