apm821xx: use SPDX-License-identifiers
[openwrt/staging/jow.git] / target / linux / apm821xx / dts / netgear-wndap660.dts
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 /dts-v1/;
4
5 #include "netgear-wndap6x0.dtsi"
6
7 / {
8 model = "Netgear WNDAP660";
9 compatible = "netgear,wndap660", "apm,bluestone";
10 };
11
12 &LEDS {
13 lan1-link1000 {
14 label = "wndap660:green:lan1-link1000";
15 gpios = <&GPIO0 22 GPIO_ACTIVE_HIGH>;
16 };
17
18 lan1-link100 {
19 label = "wndap660:amber:lan1-link100";
20 gpios = <&GPIO0 23 GPIO_ACTIVE_HIGH>;
21 };
22
23 lan2-link1000 {
24 label = "wndap660:green:lan2-link1000";
25 gpios = <&GPIO0 9 GPIO_ACTIVE_HIGH>;
26 };
27
28 lan2-link100 {
29 label = "wndap660:amber:lan2-link100";
30 gpios = <&GPIO0 10 GPIO_ACTIVE_HIGH>;
31 };
32 };
33
34 &PCIE0 {
35 /*
36 * relevant lspci topology:
37 *
38 * -+-[0000:40]---00.0-[41-7f]----00.0-[42-45]--+-02.0-[43]----00.0
39 * +-03.0-[44]----00.0
40 *
41 */
42
43 bridge@64,0 {
44 reg = <0x00400000 0 0 0 0>;
45 #address-cells = <3>;
46 #size-cells = <2>;
47 ranges;
48
49 bridge@65,0 {
50 /* IDT PES3T3 PCI Express Switch */
51 compatible = "pci111d,8039";
52 reg = <0x00410000 0 0 0 0>;
53 #address-cells = <3>;
54 #size-cells = <2>;
55 ranges;
56
57 bridge@66,2 {
58 compatible = "pci111d,8039";
59 reg = <0x00421000 0 0 0 0>;
60 #address-cells = <3>;
61 #size-cells = <2>;
62 ranges;
63
64 wifi0: wifi@67,0 {
65 /* Atheros AR9380 2.4/5GHz */
66 compatible = "pci168c,0030";
67 reg = <0x00430000 0 0 0 0>;
68 };
69 };
70
71 bridge@66,3 {
72 compatible = "pci111d,8039";
73 reg = <0x00421800 0 0 0 0>;
74 #address-cells = <3>;
75 #size-cells = <2>;
76 ranges;
77
78 wifi1: wifi@68,0 {
79 /* Atheros AR9380 2.4/5GHz */
80 compatible = "pci168c,0030";
81 reg = <0x00440000 0 0 0 0>;
82 };
83 };
84 };
85 };
86 };