GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / bcm47094-luxul-xwr-3100.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Copyright 2016 Luxul Inc.
4  */
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
19         memory {
20                 reg = <0x00000000 0x08000000
21                        0x88000000 0x08000000>;
22         };
23
24         leds {
25                 compatible = "gpio-leds";
26
27                 power   {
28                         label = "bcm53xx:green:power";
29                         gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
30                         linux,default-trigger = "default-on";
31                 };
32
33                 lan3    {
34                         label = "bcm53xx:green:lan3";
35                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
36                 };
37
38                 lan4    {
39                         label = "bcm53xx:green:lan4";
40                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
41                 };
42
43                 wan     {
44                         label = "bcm53xx:green:wan";
45                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
46                 };
47
48                 lan1    {
49                         label = "bcm53xx:green:lan1";
50                         gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
51                 };
52
53                 lan2    {
54                         label = "bcm53xx:green:lan2";
55                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
56                 };
57
58                 usb3    {
59                         label = "bcm53xx:green:usb3";
60                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
61                         trigger-sources = <&ohci_port1>, <&ehci_port1>,
62                                           <&xhci_port1>;
63                         linux,default-trigger = "usbport";
64                 };
65
66                 status  {
67                         label = "bcm53xx:green:status";
68                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
69                         linux,default-trigger = "timer";
70                 };
71
72                 2ghz {
73                         label = "bcm53xx:green:2ghz";
74                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
75                 };
76
77                 5ghz {
78                         label = "bcm53xx:green:5ghz";
79                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
80                 };
81         };
82
83         gpio-keys {
84                 compatible = "gpio-keys";
85                 #address-cells = <1>;
86                 #size-cells = <0>;
87
88                 restart {
89                         label = "Reset";
90                         linux,code = <KEY_RESTART>;
91                         gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
92                 };
93         };
94 };
95
96 &usb3 {
97         vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
98 };
99
100 &spi_nor {
101         status = "okay";
102 };
103
104 &usb3_phy {
105         status = "okay";
106 };