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