xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm47094-luxul-xwr-3100.dts (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2016 Luxul Inc.
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring
8724ba675SRob Herring#include "bcm47094.dtsi"
9724ba675SRob Herring#include "bcm5301x-nand-cs0-bch4.dtsi"
10724ba675SRob Herring
11724ba675SRob Herring/ {
12724ba675SRob Herring	compatible = "luxul,xwr-3100-v1", "brcm,bcm47094", "brcm,bcm4708";
13724ba675SRob Herring	model = "Luxul XWR-3100 V1";
14724ba675SRob Herring
15724ba675SRob Herring	chosen {
16724ba675SRob Herring		bootargs = "console=ttyS0,115200 earlycon";
17724ba675SRob Herring	};
18724ba675SRob Herring
19724ba675SRob Herring	memory@0 {
20724ba675SRob Herring		device_type = "memory";
21724ba675SRob Herring		reg = <0x00000000 0x08000000>,
22724ba675SRob Herring		      <0x88000000 0x08000000>;
23724ba675SRob Herring	};
24724ba675SRob Herring
25724ba675SRob Herring	nvram@1eff0000 {
26724ba675SRob Herring		compatible = "brcm,nvram";
27724ba675SRob Herring		reg = <0x1eff0000 0x10000>;
28724ba675SRob Herring
29724ba675SRob Herring		et0macaddr: et0macaddr {
30724ba675SRob Herring			#nvmem-cell-cells = <1>;
31724ba675SRob Herring		};
32724ba675SRob Herring	};
33724ba675SRob Herring
34724ba675SRob Herring	leds {
35724ba675SRob Herring		compatible = "gpio-leds";
36724ba675SRob Herring
37724ba675SRob Herring		led-power {
38724ba675SRob Herring			label = "bcm53xx:green:power";
39724ba675SRob Herring			gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
40724ba675SRob Herring			linux,default-trigger = "default-on";
41724ba675SRob Herring		};
42724ba675SRob Herring
43724ba675SRob Herring		led-lan3 {
44724ba675SRob Herring			label = "bcm53xx:green:lan3";
45724ba675SRob Herring			gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
46724ba675SRob Herring		};
47724ba675SRob Herring
48724ba675SRob Herring		led-lan4 {
49724ba675SRob Herring			label = "bcm53xx:green:lan4";
50724ba675SRob Herring			gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
51724ba675SRob Herring		};
52724ba675SRob Herring
53724ba675SRob Herring		led-wan {
54724ba675SRob Herring			label = "bcm53xx:green:wan";
55724ba675SRob Herring			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
56724ba675SRob Herring		};
57724ba675SRob Herring
58724ba675SRob Herring		led-lan1 {
59724ba675SRob Herring			label = "bcm53xx:green:lan1";
60724ba675SRob Herring			gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
61724ba675SRob Herring		};
62724ba675SRob Herring
63724ba675SRob Herring		led-lan2 {
64724ba675SRob Herring			label = "bcm53xx:green:lan2";
65724ba675SRob Herring			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
66724ba675SRob Herring		};
67724ba675SRob Herring
68724ba675SRob Herring		led-usb3 {
69724ba675SRob Herring			label = "bcm53xx:green:usb3";
70724ba675SRob Herring			gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
71724ba675SRob Herring			trigger-sources = <&ohci_port1>, <&ehci_port1>,
72724ba675SRob Herring					  <&xhci_port1>;
73724ba675SRob Herring			linux,default-trigger = "usbport";
74724ba675SRob Herring		};
75724ba675SRob Herring
76724ba675SRob Herring		led-status {
77724ba675SRob Herring			label = "bcm53xx:green:status";
78724ba675SRob Herring			gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
79724ba675SRob Herring			linux,default-trigger = "timer";
80724ba675SRob Herring		};
81724ba675SRob Herring
82724ba675SRob Herring		led-2ghz {
83724ba675SRob Herring			label = "bcm53xx:green:2ghz";
84724ba675SRob Herring			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
85724ba675SRob Herring		};
86724ba675SRob Herring
87724ba675SRob Herring		led-5ghz {
88724ba675SRob Herring			label = "bcm53xx:green:5ghz";
89724ba675SRob Herring			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
90724ba675SRob Herring		};
91724ba675SRob Herring	};
92724ba675SRob Herring
93724ba675SRob Herring	gpio-keys {
94724ba675SRob Herring		compatible = "gpio-keys";
95724ba675SRob Herring
96724ba675SRob Herring		button-restart {
97724ba675SRob Herring			label = "Reset";
98724ba675SRob Herring			linux,code = <KEY_RESTART>;
99724ba675SRob Herring			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
100724ba675SRob Herring		};
101724ba675SRob Herring	};
102724ba675SRob Herring};
103724ba675SRob Herring
104724ba675SRob Herring&usb3 {
105724ba675SRob Herring	vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
106724ba675SRob Herring};
107724ba675SRob Herring
108724ba675SRob Herring&gmac0 {
109724ba675SRob Herring	nvmem-cells = <&et0macaddr 0>;
110724ba675SRob Herring	nvmem-cell-names = "mac-address";
111724ba675SRob Herring};
112724ba675SRob Herring
113724ba675SRob Herring&spi_nor {
114724ba675SRob Herring	status = "okay";
115724ba675SRob Herring};
116724ba675SRob Herring
117724ba675SRob Herring&usb3_phy {
118724ba675SRob Herring	status = "okay";
119724ba675SRob Herring};
120724ba675SRob Herring
121724ba675SRob Herring&srab {
122724ba675SRob Herring	status = "okay";
123724ba675SRob Herring
124724ba675SRob Herring	ports {
125724ba675SRob Herring		port@0 {
126724ba675SRob Herring			label = "lan4";
127724ba675SRob Herring		};
128724ba675SRob Herring
129724ba675SRob Herring		port@1 {
130724ba675SRob Herring			label = "lan3";
131724ba675SRob Herring		};
132724ba675SRob Herring
133724ba675SRob Herring		port@2 {
134724ba675SRob Herring			label = "lan2";
135724ba675SRob Herring		};
136724ba675SRob Herring
137724ba675SRob Herring		port@3 {
138724ba675SRob Herring			label = "lan1";
139724ba675SRob Herring		};
140724ba675SRob Herring
141724ba675SRob Herring		port@4 {
142724ba675SRob Herring			label = "wan";
143724ba675SRob Herring			nvmem-cells = <&et0macaddr 5>;
144724ba675SRob Herring			nvmem-cell-names = "mac-address";
145724ba675SRob Herring		};
146724ba675SRob Herring
147724ba675SRob Herring		port@5 {
148724ba675SRob Herring			label = "cpu";
149724ba675SRob Herring		};
150*473baeabSRafał Miłecki
151*473baeabSRafał Miłecki		port@7 {
152*473baeabSRafał Miłecki			status = "disabled";
153*473baeabSRafał Miłecki		};
154*473baeabSRafał Miłecki
155*473baeabSRafał Miłecki		port@8 {
156*473baeabSRafał Miłecki			status = "disabled";
157*473baeabSRafał Miłecki		};
158724ba675SRob Herring	};
159724ba675SRob Herring};
160