Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[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                 reg = <0x00000000 0x08000000>;
22         };
23
24         leds {
25                 compatible = "gpio-leds";
26
27                 wps {
28                         label = "bcm53xx:blue:wps";
29                         gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
30                 };
31
32                 5ghz {
33                         label = "bcm53xx:blue:5ghz";
34                         gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
35                 };
36
37                 2ghz {
38                         label = "bcm53xx:blue:2ghz";
39                         gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
40                 };
41         };
42
43         gpio-keys {
44                 compatible = "gpio-keys";
45                 #address-cells = <1>;
46                 #size-cells = <0>;
47
48                 restart {
49                         label = "Reset";
50                         linux,code = <KEY_RESTART>;
51                         gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
52                 };
53
54                 wps {
55                         label = "WPS";
56                         linux,code = <KEY_WPS_BUTTON>;
57                         gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
58                 };
59         };
60
61         spi {
62                 compatible = "spi-gpio";
63                 num-chipselects = <1>;
64                 gpio-sck = <&chipcommon 21 0>;
65                 gpio-miso = <&chipcommon 22 0>;
66                 gpio-mosi = <&chipcommon 23 0>;
67                 cs-gpios = <&chipcommon 24 0>;
68                 #address-cells = <1>;
69                 #size-cells = <0>;
70
71                 /* External BCM6802 MoCA chip is connected */
72         };
73 };
74
75 &pcie0 {
76         ranges = <0x00000000 0 0 0 0 0x00100000>;
77         #address-cells = <3>;
78         #size-cells = <2>;
79
80         bridge@0,0,0 {
81                 reg = <0x0000 0 0 0 0>;
82                 ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
83                 #address-cells = <3>;
84                 #size-cells = <2>;
85
86                 wifi@0,1,0 {
87                         reg = <0x0000 0 0 0 0>;
88                         ranges = <0x00000000 0 0 0 0x00100000>;
89                         #address-cells = <1>;
90                         #size-cells = <1>;
91                 };
92         };
93 };
94
95 &usb2 {
96         vcc-gpio = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
97 };