xref: /linux/arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3150-v1.dts (revision fc143580753348c62068f30958fede937aa471ad)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2018 Luxul Inc.
4 */
5
6/dts-v1/;
7
8#include "bcm47094.dtsi"
9#include "bcm5301x-nand-cs0-bch8.dtsi"
10
11/ {
12	compatible = "luxul,xwr-3150-v1", "brcm,bcm47094", "brcm,bcm4708";
13	model = "Luxul XWR-3150 V1";
14
15	chosen {
16		bootargs = "earlycon";
17	};
18
19	memory@0 {
20		device_type = "memory";
21		reg = <0x00000000 0x08000000>,
22		      <0x88000000 0x18000000>;
23	};
24
25	nvram@1eff0000 {
26		compatible = "brcm,nvram";
27		reg = <0x1eff0000 0x10000>;
28
29		et0macaddr: et0macaddr {
30			#nvmem-cell-cells = <1>;
31		};
32	};
33
34	leds {
35		compatible = "gpio-leds";
36
37		led-power {
38			label = "bcm53xx:green:power";
39			gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
40			linux,default-trigger = "default-on";
41		};
42
43		led-usb3 {
44			label = "bcm53xx:green:usb3";
45			gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
46			trigger-sources = <&ohci_port1>, <&ehci_port1>,
47					  <&xhci_port1>;
48			linux,default-trigger = "usbport";
49		};
50
51		led-status {
52			label = "bcm53xx:green:status";
53			gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
54			linux,default-trigger = "timer";
55		};
56
57		led-2ghz {
58			label = "bcm53xx:green:2ghz";
59			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
60		};
61
62		led-5ghz {
63			label = "bcm53xx:green:5ghz";
64			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
65		};
66	};
67
68	gpio-keys {
69		compatible = "gpio-keys";
70
71		button-restart {
72			label = "Reset";
73			linux,code = <KEY_RESTART>;
74			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
75		};
76	};
77};
78
79&gmac0 {
80	nvmem-cells = <&et0macaddr 0>;
81	nvmem-cell-names = "mac-address";
82};
83
84&pcie0 {
85	#address-cells = <3>;
86	#size-cells = <2>;
87
88	bridge@0,0 {
89		reg = <0x0000 0 0 0 0>;
90
91		#address-cells = <3>;
92		#size-cells = <2>;
93
94		wifi@0,0 {
95			compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
96			reg = <0x0000 0 0 0 0>;
97			brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930";
98		};
99	};
100};
101
102&pcie1 {
103	#address-cells = <3>;
104	#size-cells = <2>;
105
106	bridge@0,0 {
107		reg = <0x0000 0 0 0 0>;
108
109		#address-cells = <3>;
110		#size-cells = <2>;
111
112		wifi@0,0 {
113			compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac";
114			reg = <0x0000 0 0 0 0>;
115			brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930";
116		};
117	};
118};
119
120&usb3 {
121	vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
122};
123
124&usb3_phy {
125	status = "okay";
126};
127
128&spi_nor {
129	status = "okay";
130};
131
132&srab {
133	status = "okay";
134
135	ports {
136		port@0 {
137			label = "lan4";
138		};
139
140		port@1 {
141			label = "lan3";
142		};
143
144		port@2 {
145			label = "lan2";
146		};
147
148		port@3 {
149			label = "lan1";
150		};
151
152		port@4 {
153			label = "wan";
154			nvmem-cells = <&et0macaddr 5>;
155			nvmem-cell-names = "mac-address";
156		};
157
158		port@5 {
159			label = "cpu";
160		};
161	};
162};
163