Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm947189acdbmr.dts
1 /*
2  * Copyright (C) 2017 Broadcom
3  * Author: Florian Fainelli <f.fainelli@gmail.com>
4  *
5  * Licensed under the ISC license.
6  */
7
8 /dts-v1/;
9
10 #include "bcm53573.dtsi"
11
12 / {
13         compatible = "brcm,bcm947189acdbmr", "brcm,bcm47189", "brcm,bcm53573";
14         model = "Broadcom BCM947189ACDBMR";
15
16         chosen {
17                 bootargs = "console=ttyS0,115200 earlycon";
18         };
19
20         memory {
21                 device_type = "memory";
22                 reg = <0x00000000 0x08000000>;
23         };
24
25         leds {
26                 compatible = "gpio-leds";
27
28                 wps {
29                         label = "bcm53xx:blue:wps";
30                         gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
31                 };
32
33                 5ghz {
34                         label = "bcm53xx:blue:5ghz";
35                         gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
36                 };
37
38                 2ghz {
39                         label = "bcm53xx:blue:2ghz";
40                         gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
41                 };
42         };
43
44         gpio-keys {
45                 compatible = "gpio-keys";
46                 #address-cells = <1>;
47                 #size-cells = <0>;
48
49                 restart {
50                         label = "Reset";
51                         linux,code = <KEY_RESTART>;
52                         gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
53                 };
54
55                 wps {
56                         label = "WPS";
57                         linux,code = <KEY_WPS_BUTTON>;
58                         gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
59                 };
60         };
61
62         spi {
63                 compatible = "spi-gpio";
64                 num-chipselects = <1>;
65                 gpio-sck = <&chipcommon 21 0>;
66                 gpio-miso = <&chipcommon 22 0>;
67                 gpio-mosi = <&chipcommon 23 0>;
68                 cs-gpios = <&chipcommon 24 0>;
69                 #address-cells = <1>;
70                 #size-cells = <0>;
71
72                 /* External BCM6802 MoCA chip is connected */
73         };
74 };
75
76 &pcie0 {
77         ranges = <0x00000000 0 0 0 0 0x00100000>;
78         #address-cells = <3>;
79         #size-cells = <2>;
80
81         bridge@0,0,0 {
82                 reg = <0x0000 0 0 0 0>;
83                 ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
84                 #address-cells = <3>;
85                 #size-cells = <2>;
86
87                 wifi@0,1,0 {
88                         reg = <0x0000 0 0 0 0>;
89                         ranges = <0x00000000 0 0 0 0x00100000>;
90                         #address-cells = <1>;
91                         #size-cells = <1>;
92                 };
93         };
94 };
95
96 &usb2 {
97         vcc-gpio = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
98 };