xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm947189acdbmr.dts (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1724ba675SRob Herring/*
2724ba675SRob Herring * Copyright (C) 2017 Broadcom
3724ba675SRob Herring * Author: Florian Fainelli <f.fainelli@gmail.com>
4724ba675SRob Herring *
5724ba675SRob Herring * Licensed under the ISC license.
6724ba675SRob Herring */
7724ba675SRob Herring
8724ba675SRob Herring/dts-v1/;
9724ba675SRob Herring
10724ba675SRob Herring#include "bcm53573.dtsi"
11724ba675SRob Herring
12724ba675SRob Herring/ {
13724ba675SRob Herring	compatible = "brcm,bcm947189acdbmr", "brcm,bcm47189", "brcm,bcm53573";
14724ba675SRob Herring	model = "Broadcom BCM947189ACDBMR";
15724ba675SRob Herring
16724ba675SRob Herring	chosen {
17724ba675SRob Herring		bootargs = "console=ttyS0,115200 earlycon";
18724ba675SRob Herring	};
19724ba675SRob Herring
20724ba675SRob Herring	memory@0 {
21724ba675SRob Herring		device_type = "memory";
22724ba675SRob Herring		reg = <0x00000000 0x08000000>;
23724ba675SRob Herring	};
24724ba675SRob Herring
25724ba675SRob Herring	leds {
26724ba675SRob Herring		compatible = "gpio-leds";
27724ba675SRob Herring
28724ba675SRob Herring		led-wps {
29724ba675SRob Herring			label = "bcm53xx:blue:wps";
30724ba675SRob Herring			gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
31724ba675SRob Herring		};
32724ba675SRob Herring
33724ba675SRob Herring		led-5ghz {
34724ba675SRob Herring			label = "bcm53xx:blue:5ghz";
35724ba675SRob Herring			gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
36724ba675SRob Herring		};
37724ba675SRob Herring
38724ba675SRob Herring		led-2ghz {
39724ba675SRob Herring			label = "bcm53xx:blue:2ghz";
40724ba675SRob Herring			gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
41724ba675SRob Herring		};
42724ba675SRob Herring	};
43724ba675SRob Herring
44724ba675SRob Herring	gpio-keys {
45724ba675SRob Herring		compatible = "gpio-keys";
46724ba675SRob Herring
47724ba675SRob Herring		button-restart {
48724ba675SRob Herring			label = "Reset";
49724ba675SRob Herring			linux,code = <KEY_RESTART>;
50724ba675SRob Herring			gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
51724ba675SRob Herring		};
52724ba675SRob Herring
53724ba675SRob Herring		button-wps {
54724ba675SRob Herring			label = "WPS";
55724ba675SRob Herring			linux,code = <KEY_WPS_BUTTON>;
56724ba675SRob Herring			gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
57724ba675SRob Herring		};
58724ba675SRob Herring	};
59724ba675SRob Herring
60724ba675SRob Herring	spi {
61724ba675SRob Herring		compatible = "spi-gpio";
62724ba675SRob Herring		num-chipselects = <1>;
63*2c0fd6b3SRafał Miłecki		sck-gpios = <&chipcommon 21 0>;
64*2c0fd6b3SRafał Miłecki		miso-gpios = <&chipcommon 22 0>;
65*2c0fd6b3SRafał Miłecki		mosi-gpios = <&chipcommon 23 0>;
66724ba675SRob Herring		cs-gpios = <&chipcommon 24 0>;
67724ba675SRob Herring		#address-cells = <1>;
68724ba675SRob Herring		#size-cells = <0>;
69724ba675SRob Herring
70724ba675SRob Herring		/* External BCM6802 MoCA chip is connected */
71724ba675SRob Herring	};
72724ba675SRob Herring};
73724ba675SRob Herring
74724ba675SRob Herring&pcie0 {
75724ba675SRob Herring	ranges = <0x00000000 0 0 0 0 0x00100000>;
76724ba675SRob Herring	#address-cells = <3>;
77724ba675SRob Herring	#size-cells = <2>;
78724ba675SRob Herring
79724ba675SRob Herring	bridge@0,0,0 {
80724ba675SRob Herring		reg = <0x0000 0 0 0 0>;
81724ba675SRob Herring		ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
82724ba675SRob Herring		#address-cells = <3>;
83724ba675SRob Herring		#size-cells = <2>;
84724ba675SRob Herring
85724ba675SRob Herring		wifi@0,1,0 {
86724ba675SRob Herring			reg = <0x0000 0 0 0 0>;
87724ba675SRob Herring			ranges = <0x00000000 0 0 0 0x00100000>;
88724ba675SRob Herring			#address-cells = <1>;
89724ba675SRob Herring			#size-cells = <1>;
90724ba675SRob Herring		};
91724ba675SRob Herring	};
92724ba675SRob Herring};
93724ba675SRob Herring
94724ba675SRob Herring&usb2 {
95724ba675SRob Herring	vcc-gpio = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
96724ba675SRob Herring};
97