Merge tag 'qcom-dts-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/agross...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm47081-luxul-xwr-1200.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Copyright 2017 Luxul Inc.
4  */
5
6 /dts-v1/;
7
8 #include "bcm47081.dtsi"
9 #include "bcm5301x-nand-cs0-bch4.dtsi"
10
11 / {
12         compatible = "luxul,xwr-1200v1", "brcm,bcm47081", "brcm,bcm4708";
13         model = "Luxul XWR-1200 V1";
14
15         chosen {
16                 bootargs = "console=ttyS0,115200";
17         };
18
19         memory {
20                 reg = <0x00000000 0x08000000>;
21         };
22
23         leds {
24                 compatible = "gpio-leds";
25
26                 power {
27                         label = "bcm53xx:green:power";
28                         gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
29                         linux,default-trigger = "default-on";
30                 };
31
32                 lan3 {
33                         label = "bcm53xx:green:lan3";
34                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
35                         linux,default-trigger = "none";
36                 };
37
38                 lan4 {
39                         label = "bcm53xx:green:lan4";
40                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
41                         linux,default-trigger = "none";
42                 };
43
44                 wan {
45                         label = "bcm53xx:green:wan";
46                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
47                         linux,default-trigger = "none";
48                 };
49
50                 lan2 {
51                         label = "bcm53xx:green:lan2";
52                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
53                         linux,default-trigger = "none";
54                 };
55
56                 usb {
57                         label = "bcm53xx:green:usb";
58                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
59                         trigger-sources = <&ohci_port2>, <&ehci_port2>;
60                         linux,default-trigger = "usbport";
61                 };
62
63                 status {
64                         label = "bcm53xx:green:status";
65                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
66                         linux,default-trigger = "timer";
67                 };
68
69                 2ghz {
70                         label = "bcm53xx:green:2ghz";
71                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
72                         linux,default-trigger = "none";
73                 };
74
75                 5ghz {
76                         label = "bcm53xx:green:5ghz";
77                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
78                         linux,default-trigger = "none";
79                 };
80
81                 lan1 {
82                         label = "bcm53xx:green:lan1";
83                         gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
84                         linux,default-trigger = "none";
85                 };
86         };
87
88         gpio-keys {
89                 compatible = "gpio-keys";
90                 #address-cells = <1>;
91                 #size-cells = <0>;
92
93                 restart {
94                         label = "Reset";
95                         linux,code = <KEY_RESTART>;
96                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
97                 };
98         };
99 };
100
101 &usb2 {
102         vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
103 };
104
105 &spi_nor {
106         status = "okay";
107 };