Merge remote-tracking branches 'asoc/topic/mtk', 'asoc/topic/nau8540', 'asoc/topic...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm47081-luxul-xwr-1200.dts
1 /*
2  * Copyright 2017 Luxul Inc.
3  *
4  * Licensed under the ISC license.
5  */
6
7 /dts-v1/;
8
9 #include "bcm47081.dtsi"
10 #include "bcm5301x-nand-cs0-bch4.dtsi"
11
12 / {
13         compatible = "luxul,xwr-1200v1", "brcm,bcm47081", "brcm,bcm4708";
14         model = "Luxul XWR-1200 V1";
15
16         chosen {
17                 bootargs = "console=ttyS0,115200";
18         };
19
20         memory {
21                 reg = <0x00000000 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                         linux,default-trigger = "none";
37                 };
38
39                 lan4 {
40                         label = "bcm53xx:green:lan4";
41                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
42                         linux,default-trigger = "none";
43                 };
44
45                 wan {
46                         label = "bcm53xx:green:wan";
47                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
48                         linux,default-trigger = "none";
49                 };
50
51                 lan2 {
52                         label = "bcm53xx:green:lan2";
53                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
54                         linux,default-trigger = "none";
55                 };
56
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                 };
63
64                 status {
65                         label = "bcm53xx:green:status";
66                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
67                         linux,default-trigger = "timer";
68                 };
69
70                 2ghz {
71                         label = "bcm53xx:green:2ghz";
72                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
73                         linux,default-trigger = "none";
74                 };
75
76                 5ghz {
77                         label = "bcm53xx:green:5ghz";
78                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
79                         linux,default-trigger = "none";
80                 };
81
82                 lan1 {
83                         label = "bcm53xx:green:lan1";
84                         gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
85                         linux,default-trigger = "none";
86                 };
87         };
88
89         gpio-keys {
90                 compatible = "gpio-keys";
91                 #address-cells = <1>;
92                 #size-cells = <0>;
93
94                 restart {
95                         label = "Reset";
96                         linux,code = <KEY_RESTART>;
97                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
98                 };
99         };
100 };
101
102 &usb2 {
103         vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
104 };
105
106 &spi_nor {
107         status = "okay";
108 };