Linux Audio

Check our new training course

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