xref: /freebsd/sys/contrib/device-tree/src/arm/broadcom/bcm47189-luxul-xap-810.dts (revision db33c6f3ae9d1231087710068ee4ea5398aacca7)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2017 Luxul Inc.
4 */
5
6/dts-v1/;
7
8#include "bcm53573.dtsi"
9
10/ {
11	compatible = "luxul,xap-810-v1", "brcm,bcm47189", "brcm,bcm53573";
12	model = "Luxul XAP-810 V1";
13
14	chosen {
15		bootargs = "earlycon";
16	};
17
18	memory@0 {
19		device_type = "memory";
20		reg = <0x00000000 0x08000000>;
21	};
22
23	leds-0 {
24		compatible = "gpio-leds";
25
26		led-5ghz {
27			label = "bcm53xx:blue:5ghz";
28			gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
29		};
30
31		led-system {
32			label = "bcm53xx:green:system";
33			gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
34			linux,default-trigger = "timer";
35		};
36	};
37
38	leds-1 {
39		compatible = "gpio-leds";
40
41		led-2ghz {
42			label = "bcm53xx:blue:2ghz";
43			gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
44		};
45	};
46
47	gpio-keys {
48		compatible = "gpio-keys";
49
50		button-restart {
51			label = "Reset";
52			linux,code = <KEY_RESTART>;
53			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
54		};
55	};
56};
57
58&pcie0 {
59	ranges = <0x00000000 0 0 0 0 0x00100000>;
60	#address-cells = <3>;
61	#size-cells = <2>;
62
63	bridge@0,0,0 {
64		reg = <0x0000 0 0 0 0>;
65		ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
66		#address-cells = <3>;
67		#size-cells = <2>;
68
69		wifi@0,1,0 {
70			reg = <0x0000 0 0 0 0>;
71			ranges = <0x00000000 0 0 0 0x00100000>;
72			#address-cells = <1>;
73			#size-cells = <1>;
74
75			pcie0_chipcommon: chipcommon@0 {
76				reg = <0 0x1000>;
77
78				gpio-controller;
79				#gpio-cells = <2>;
80			};
81		};
82	};
83};
84
85&gmac0 {
86	phy-mode = "rgmii";
87	phy-handle = <&bcm54210e>;
88
89	/delete-node/ fixed-link;
90
91	mdio {
92		/delete-node/ switch@1e;
93
94		bcm54210e: ethernet-phy@0 {
95			reg = <0>;
96		};
97	};
98};
99
100&gmac1 {
101	status = "disabled";
102};
103