xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm47189-luxul-xap-810.dts (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2017 Luxul Inc.
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring
8724ba675SRob Herring#include "bcm53573.dtsi"
9724ba675SRob Herring
10724ba675SRob Herring/ {
11724ba675SRob Herring	compatible = "luxul,xap-810-v1", "brcm,bcm47189", "brcm,bcm53573";
12724ba675SRob Herring	model = "Luxul XAP-810 V1";
13724ba675SRob Herring
14724ba675SRob Herring	chosen {
15724ba675SRob Herring		bootargs = "earlycon";
16724ba675SRob Herring	};
17724ba675SRob Herring
18724ba675SRob Herring	memory@0 {
19724ba675SRob Herring		device_type = "memory";
20724ba675SRob Herring		reg = <0x00000000 0x08000000>;
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	leds-0 {
24724ba675SRob Herring		compatible = "gpio-leds";
25724ba675SRob Herring
26724ba675SRob Herring		led-5ghz {
27724ba675SRob Herring			label = "bcm53xx:blue:5ghz";
28724ba675SRob Herring			gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
29724ba675SRob Herring		};
30724ba675SRob Herring
31724ba675SRob Herring		led-system {
32724ba675SRob Herring			label = "bcm53xx:green:system";
33724ba675SRob Herring			gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
34724ba675SRob Herring			linux,default-trigger = "timer";
35724ba675SRob Herring		};
36724ba675SRob Herring	};
37724ba675SRob Herring
38724ba675SRob Herring	leds-1 {
39724ba675SRob Herring		compatible = "gpio-leds";
40724ba675SRob Herring
41724ba675SRob Herring		led-2ghz {
42724ba675SRob Herring			label = "bcm53xx:blue:2ghz";
43724ba675SRob Herring			gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
44724ba675SRob Herring		};
45724ba675SRob Herring	};
46724ba675SRob Herring
47724ba675SRob Herring	gpio-keys {
48724ba675SRob Herring		compatible = "gpio-keys";
49724ba675SRob Herring
50724ba675SRob Herring		button-restart {
51724ba675SRob Herring			label = "Reset";
52724ba675SRob Herring			linux,code = <KEY_RESTART>;
53724ba675SRob Herring			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
54724ba675SRob Herring		};
55724ba675SRob Herring	};
56724ba675SRob Herring};
57724ba675SRob Herring
58724ba675SRob Herring&pcie0 {
59724ba675SRob Herring	ranges = <0x00000000 0 0 0 0 0x00100000>;
60724ba675SRob Herring	#address-cells = <3>;
61724ba675SRob Herring	#size-cells = <2>;
62724ba675SRob Herring
63724ba675SRob Herring	bridge@0,0,0 {
64724ba675SRob Herring		reg = <0x0000 0 0 0 0>;
65724ba675SRob Herring		ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
66724ba675SRob Herring		#address-cells = <3>;
67724ba675SRob Herring		#size-cells = <2>;
68724ba675SRob Herring
69724ba675SRob Herring		wifi@0,1,0 {
70724ba675SRob Herring			reg = <0x0000 0 0 0 0>;
71724ba675SRob Herring			ranges = <0x00000000 0 0 0 0x00100000>;
72724ba675SRob Herring			#address-cells = <1>;
73724ba675SRob Herring			#size-cells = <1>;
74724ba675SRob Herring
75724ba675SRob Herring			pcie0_chipcommon: chipcommon@0 {
76724ba675SRob Herring				reg = <0 0x1000>;
77724ba675SRob Herring
78724ba675SRob Herring				gpio-controller;
79724ba675SRob Herring				#gpio-cells = <2>;
80724ba675SRob Herring			};
81724ba675SRob Herring		};
82724ba675SRob Herring	};
83724ba675SRob Herring};
8444ad8207SRafał Miłecki
8544ad8207SRafał Miłecki&gmac0 {
8644ad8207SRafał Miłecki	phy-mode = "rgmii";
8744ad8207SRafał Miłecki	phy-handle = <&bcm54210e>;
8844ad8207SRafał Miłecki
89e0ae343aSRafał Miłecki	/delete-node/ fixed-link;
90e0ae343aSRafał Miłecki
9144ad8207SRafał Miłecki	mdio {
9244ad8207SRafał Miłecki		/delete-node/ switch@1e;
9344ad8207SRafał Miłecki
9444ad8207SRafał Miłecki		bcm54210e: ethernet-phy@0 {
9544ad8207SRafał Miłecki			reg = <0>;
9644ad8207SRafał Miłecki		};
9744ad8207SRafał Miłecki	};
9844ad8207SRafał Miłecki};
99*d8835601SRafał Miłecki
100*d8835601SRafał Miłecki&gmac1 {
101*d8835601SRafał Miłecki	status = "disabled";
102*d8835601SRafał Miłecki};
103