Merge tag 'for-5.11/dm-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/device...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / bcm47094-luxul-xwr-3150-v1.dts
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         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                 usb3    {
35                         label = "bcm53xx:green:usb3";
36                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
37                         trigger-sources = <&ohci_port1>, <&ehci_port1>,
38                                           <&xhci_port1>;
39                         linux,default-trigger = "usbport";
40                 };
41
42                 status  {
43                         label = "bcm53xx:green:status";
44                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
45                         linux,default-trigger = "timer";
46                 };
47
48                 2ghz {
49                         label = "bcm53xx:green:2ghz";
50                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
51                 };
52
53                 5ghz {
54                         label = "bcm53xx:green:5ghz";
55                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
56                 };
57         };
58
59         gpio-keys {
60                 compatible = "gpio-keys";
61
62                 restart {
63                         label = "Reset";
64                         linux,code = <KEY_RESTART>;
65                         gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
66                 };
67         };
68 };
69
70 &usb3 {
71         vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
72 };
73
74 &usb3_phy {
75         status = "okay";
76 };
77
78 &spi_nor {
79         status = "okay";
80 };
81
82 &srab {
83         status = "okay";
84
85         ports {
86                 port@0 {
87                         reg = <0>;
88                         label = "lan4";
89                 };
90
91                 port@1 {
92                         reg = <1>;
93                         label = "lan3";
94                 };
95
96                 port@2 {
97                         reg = <2>;
98                         label = "lan2";
99                 };
100
101                 port@3 {
102                         reg = <3>;
103                         label = "lan1";
104                 };
105
106                 port@4 {
107                         reg = <4>;
108                         label = "wan";
109                 };
110
111                 port@5 {
112                         reg = <5>;
113                         label = "cpu";
114                         ethernet = <&gmac0>;
115                 };
116         };
117 };