0001 /*
0002 * Copyright (C) 2017 Broadcom
0003 * Author: Florian Fainelli <f.fainelli@gmail.com>
0004 *
0005 * Licensed under the ISC license.
0006 */
0007
0008 /dts-v1/;
0009
0010 #include "bcm53573.dtsi"
0011
0012 / {
0013 compatible = "brcm,bcm947189acdbmr", "brcm,bcm47189", "brcm,bcm53573";
0014 model = "Broadcom BCM947189ACDBMR";
0015
0016 chosen {
0017 bootargs = "console=ttyS0,115200 earlycon";
0018 };
0019
0020 memory@0 {
0021 device_type = "memory";
0022 reg = <0x00000000 0x08000000>;
0023 };
0024
0025 leds {
0026 compatible = "gpio-leds";
0027
0028 wps {
0029 label = "bcm53xx:blue:wps";
0030 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
0031 };
0032
0033 5ghz {
0034 label = "bcm53xx:blue:5ghz";
0035 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
0036 };
0037
0038 2ghz {
0039 label = "bcm53xx:blue:2ghz";
0040 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
0041 };
0042 };
0043
0044 gpio-keys {
0045 compatible = "gpio-keys";
0046
0047 button-restart {
0048 label = "Reset";
0049 linux,code = <KEY_RESTART>;
0050 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
0051 };
0052
0053 button-wps {
0054 label = "WPS";
0055 linux,code = <KEY_WPS_BUTTON>;
0056 gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
0057 };
0058 };
0059
0060 spi {
0061 compatible = "spi-gpio";
0062 num-chipselects = <1>;
0063 gpio-sck = <&chipcommon 21 0>;
0064 gpio-miso = <&chipcommon 22 0>;
0065 gpio-mosi = <&chipcommon 23 0>;
0066 cs-gpios = <&chipcommon 24 0>;
0067 #address-cells = <1>;
0068 #size-cells = <0>;
0069
0070 /* External BCM6802 MoCA chip is connected */
0071 };
0072 };
0073
0074 &pcie0 {
0075 ranges = <0x00000000 0 0 0 0 0x00100000>;
0076 #address-cells = <3>;
0077 #size-cells = <2>;
0078
0079 bridge@0,0,0 {
0080 reg = <0x0000 0 0 0 0>;
0081 ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
0082 #address-cells = <3>;
0083 #size-cells = <2>;
0084
0085 wifi@0,1,0 {
0086 reg = <0x0000 0 0 0 0>;
0087 ranges = <0x00000000 0 0 0 0x00100000>;
0088 #address-cells = <1>;
0089 #size-cells = <1>;
0090 };
0091 };
0092 };
0093
0094 &usb2 {
0095 vcc-gpio = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
0096 };