blob: ac75154234745f8979c5ce0724b282028e664b06 [file] [log] [blame]
Rafał Miłecki2b3db672018-05-02 16:11:02 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
Dan Haab4335e6f2016-09-27 11:27:11 -06002/*
3 * Copyright 2016 Luxul Inc.
Dan Haab4335e6f2016-09-27 11:27:11 -06004 */
5
6/dts-v1/;
7
8#include "bcm47094.dtsi"
9#include "bcm5301x-nand-cs0-bch4.dtsi"
10
11/ {
12 compatible = "luxul,xwr-3100v1", "brcm,bcm47094", "brcm,bcm4708";
13 model = "Luxul XWR-3100 V1";
14
15 chosen {
16 bootargs = "console=ttyS0,115200 earlycon";
17 };
18
Florian Fainellidfa84bb2019-05-28 16:01:33 -070019 memory@0 {
Rob Herringabe60a32019-01-09 10:26:14 -060020 device_type = "memory";
Rafał Miłeckia252ccd32016-12-07 08:56:54 +010021 reg = <0x00000000 0x08000000
22 0x88000000 0x08000000>;
Dan Haab4335e6f2016-09-27 11:27:11 -060023 };
24
25 leds {
26 compatible = "gpio-leds";
27
28 power {
29 label = "bcm53xx:green:power";
30 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "default-on";
32 };
33
34 lan3 {
Rafał Miłecki226cc022016-12-07 08:56:51 +010035 label = "bcm53xx:green:lan3";
Dan Haab4335e6f2016-09-27 11:27:11 -060036 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
Dan Haab4335e6f2016-09-27 11:27:11 -060037 };
38
39 lan4 {
Rafał Miłecki226cc022016-12-07 08:56:51 +010040 label = "bcm53xx:green:lan4";
Dan Haab4335e6f2016-09-27 11:27:11 -060041 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
Dan Haab4335e6f2016-09-27 11:27:11 -060042 };
43
44 wan {
45 label = "bcm53xx:green:wan";
46 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
Dan Haab4335e6f2016-09-27 11:27:11 -060047 };
48
49 lan1 {
Rafał Miłecki226cc022016-12-07 08:56:51 +010050 label = "bcm53xx:green:lan1";
Dan Haab4335e6f2016-09-27 11:27:11 -060051 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
Dan Haab4335e6f2016-09-27 11:27:11 -060052 };
53
54 lan2 {
55 label = "bcm53xx:green:lan2";
56 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
Dan Haab4335e6f2016-09-27 11:27:11 -060057 };
58
59 usb3 {
60 label = "bcm53xx:green:usb3";
61 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
Rafał Miłecki0b1f1102017-08-02 06:40:41 +020062 trigger-sources = <&ohci_port1>, <&ehci_port1>,
63 <&xhci_port1>;
64 linux,default-trigger = "usbport";
Dan Haab4335e6f2016-09-27 11:27:11 -060065 };
66
67 status {
68 label = "bcm53xx:green:status";
69 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
70 linux,default-trigger = "timer";
71 };
72
73 2ghz {
74 label = "bcm53xx:green:2ghz";
75 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
Dan Haab4335e6f2016-09-27 11:27:11 -060076 };
77
78 5ghz {
79 label = "bcm53xx:green:5ghz";
80 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
Dan Haab4335e6f2016-09-27 11:27:11 -060081 };
82 };
83
84 gpio-keys {
85 compatible = "gpio-keys";
Dan Haab4335e6f2016-09-27 11:27:11 -060086
87 restart {
88 label = "Reset";
89 linux,code = <KEY_RESTART>;
90 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
91 };
92 };
93};
94
Dan Haab4335e6f2016-09-27 11:27:11 -060095&usb3 {
96 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
97};
98
99&spi_nor {
100 status = "okay";
101};
Vivek Unune37f6130e2018-04-09 18:31:53 -0400102
103&usb3_phy {
104 status = "okay";
105};