Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszer...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm47094-luxul-xwr-3100.dts
1 /*
2  * Copyright 2016 Luxul Inc.
3  *
4  * Licensed under the ISC license.
5  */
6
7 /dts-v1/;
8
9 #include "bcm47094.dtsi"
10 #include "bcm5301x-nand-cs0-bch4.dtsi"
11
12 / {
13         compatible = "luxul,xwr-3100v1", "brcm,bcm47094", "brcm,bcm4708";
14         model = "Luxul XWR-3100 V1";
15
16         chosen {
17                 bootargs = "console=ttyS0,115200 earlycon";
18         };
19
20         memory {
21                 reg = <0x00000000 0x08000000
22                        0x88000000 0x08000000>;
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                 lan3    {
35                         label = "bcm53xx:green:lan3";
36                         gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
37                         linux,default-trigger = "default-off";
38                 };
39
40                 lan4    {
41                         label = "bcm53xx:green:lan4";
42                         gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
43                         linux,default-trigger = "default-off";
44                 };
45
46                 wan     {
47                         label = "bcm53xx:green:wan";
48                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
49                         linux,default-trigger = "default-off";
50                 };
51
52                 lan1    {
53                         label = "bcm53xx:green:lan1";
54                         gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
55                         linux,default-trigger = "default-off";
56                 };
57
58                 lan2    {
59                         label = "bcm53xx:green:lan2";
60                         gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
61                         linux,default-trigger = "default-off";
62                 };
63
64                 usb3    {
65                         label = "bcm53xx:green:usb3";
66                         gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
67                         linux,default-trigger = "default-off";
68                 };
69
70                 status  {
71                         label = "bcm53xx:green:status";
72                         gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
73                         linux,default-trigger = "timer";
74                 };
75
76                 2ghz {
77                         label = "bcm53xx:green:2ghz";
78                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
79                         linux,default-trigger = "default-off";
80                 };
81
82                 5ghz {
83                         label = "bcm53xx:green:5ghz";
84                         gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
85                         linux,default-trigger = "default-off";
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 17 GPIO_ACTIVE_LOW>;
98                 };
99         };
100 };
101
102 &usb3 {
103         vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
104 };
105
106 &spi_nor {
107         status = "okay";
108 };