Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / bcm47081-luxul-xwr-1200.dts
blob432254383769a03d97dbc60f6b934a812df04cdb
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Copyright 2017 Luxul Inc.
4  */
6 /dts-v1/;
8 #include "bcm47081.dtsi"
9 #include "bcm5301x-nand-cs0-bch4.dtsi"
11 / {
12         compatible = "luxul,xwr-1200v1", "brcm,bcm47081", "brcm,bcm4708";
13         model = "Luxul XWR-1200 V1";
15         chosen {
16                 bootargs = "console=ttyS0,115200";
17         };
19         memory@0 {
20                 device_type = "memory";
21                 reg = <0x00000000 0x08000000>;
22         };
24         leds {
25                 compatible = "gpio-leds";
27                 power {
28                         label = "bcm53xx:green:power";
29                         gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
30                         linux,default-trigger = "default-on";
31                 };
33                 lan3 {
34                         label = "bcm53xx:green:lan3";
35                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
36                         linux,default-trigger = "none";
37                 };
39                 lan4 {
40                         label = "bcm53xx:green:lan4";
41                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
42                         linux,default-trigger = "none";
43                 };
45                 wan {
46                         label = "bcm53xx:green:wan";
47                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
48                         linux,default-trigger = "none";
49                 };
51                 lan2 {
52                         label = "bcm53xx:green:lan2";
53                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
54                         linux,default-trigger = "none";
55                 };
57                 usb {
58                         label = "bcm53xx:green:usb";
59                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
60                         trigger-sources = <&ohci_port2>, <&ehci_port2>;
61                         linux,default-trigger = "usbport";
62                 };
64                 status {
65                         label = "bcm53xx:green:status";
66                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
67                         linux,default-trigger = "timer";
68                 };
70                 2ghz {
71                         label = "bcm53xx:green:2ghz";
72                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
73                         linux,default-trigger = "none";
74                 };
76                 5ghz {
77                         label = "bcm53xx:green:5ghz";
78                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
79                         linux,default-trigger = "none";
80                 };
82                 lan1 {
83                         label = "bcm53xx:green:lan1";
84                         gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
85                         linux,default-trigger = "none";
86                 };
87         };
89         gpio-keys {
90                 compatible = "gpio-keys";
92                 restart {
93                         label = "Reset";
94                         linux,code = <KEY_RESTART>;
95                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
96                 };
97         };
100 &usb2 {
101         vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
104 &spi_nor {
105         status = "okay";
108 &srab {
109         status = "okay";
111         ports {
112                 port@0 {
113                         reg = <0>;
114                         label = "lan4";
115                 };
117                 port@1 {
118                         reg = <1>;
119                         label = "lan3";
120                 };
122                 port@2 {
123                         reg = <2>;
124                         label = "lan2";
125                 };
127                 port@3 {
128                         reg = <3>;
129                         label = "lan1";
130                 };
132                 port@4 {
133                         reg = <4>;
134                         label = "wan";
135                 };
137                 port@5 {
138                         reg = <5>;
139                         label = "cpu";
140                         ethernet = <&gmac0>;
141                 };
142         };