]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/arm/boot/dts/bcm4709-netgear-r8000.dts
Merge remote-tracking branch 'mkp-scsi/fixes' into fixes
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / bcm4709-netgear-r8000.dts
1 /*
2 * Broadcom BCM470X / BCM5301X ARM platform code.
3 * DTS for Netgear R8000
4 *
5 * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
6 *
7 * Licensed under the GNU/GPL. See COPYING for details.
8 */
9
10 /dts-v1/;
11
12 #include "bcm4709.dtsi"
13 #include "bcm5301x-nand-cs0-bch8.dtsi"
14
15 / {
16 compatible = "netgear,r8000", "brcm,bcm4709", "brcm,bcm4708";
17 model = "Netgear R8000 (BCM4709)";
18
19 chosen {
20 bootargs = "console=ttyS0,115200";
21 };
22
23 memory {
24 reg = <0x00000000 0x08000000
25 0x88000000 0x08000000>;
26 };
27
28 leds {
29 compatible = "gpio-leds";
30
31 power0 {
32 label = "bcm53xx:white:power";
33 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "default-on";
35 };
36
37 power1 {
38 label = "bcm53xx:amber:power";
39 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "default-off";
41 };
42
43 5ghz-1 {
44 label = "bcm53xx:white:5ghz-1";
45 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "default-off";
47 };
48
49 2ghz {
50 label = "bcm53xx:white:2ghz";
51 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "default-off";
53 };
54
55 wireless {
56 label = "bcm53xx:white:wireless";
57 gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "default-off";
59 };
60
61 wps {
62 label = "bcm53xx:white:wps";
63 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
64 linux,default-trigger = "default-off";
65 };
66
67 5ghz-2 {
68 label = "bcm53xx:white:5ghz-2";
69 gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
70 linux,default-trigger = "default-off";
71 };
72
73 usb3 {
74 label = "bcm53xx:white:usb3";
75 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
76 linux,default-trigger = "default-off";
77 };
78
79 usb2 {
80 label = "bcm53xx:white:usb2";
81 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
82 linux,default-trigger = "default-off";
83 };
84 };
85
86 gpio-keys {
87 compatible = "gpio-keys";
88 #address-cells = <1>;
89 #size-cells = <0>;
90
91 rfkill {
92 label = "WiFi";
93 linux,code = <KEY_RFKILL>;
94 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
95 };
96
97 wps {
98 label = "WPS";
99 linux,code = <KEY_WPS_BUTTON>;
100 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
101 };
102
103 restart {
104 label = "Reset";
105 linux,code = <KEY_RESTART>;
106 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
107 };
108 };
109 };
110
111 &pcie0 {
112 #address-cells = <3>;
113 #size-cells = <2>;
114
115 bridge@0,0,0 {
116 reg = <0x0000 0 0 0 0>;
117
118 #address-cells = <3>;
119 #size-cells = <2>;
120
121 wifi@0,1,0 {
122 reg = <0x0000 0 0 0 0>;
123 ieee80211-freq-limit = <5735000 5835000>;
124 };
125 };
126 };
127
128 &pcie1 {
129 #address-cells = <3>;
130 #size-cells = <2>;
131
132 bridge@1,0,0 {
133 reg = <0x0000 0 0 0 0>;
134
135 #address-cells = <3>;
136 #size-cells = <2>;
137
138 bridge@1,1,0 {
139 reg = <0x0000 0 0 0 0>;
140
141 #address-cells = <3>;
142 #size-cells = <2>;
143
144 bridge@1,2,2 {
145 reg = <0x1000 0 0 0 0>;
146
147 #address-cells = <3>;
148 #size-cells = <2>;
149
150 wifi@1,4,0 {
151 reg = <0x0000 0 0 0 0>;
152 ieee80211-freq-limit = <5170000 5730000>;
153 };
154 };
155 };
156 };
157 };
158
159 &usb2 {
160 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
161 };
162
163 &usb3 {
164 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
165 };