1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright 2017 Luxul Inc.
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/dts-v1/;
7*724ba675SRob Herring
8*724ba675SRob Herring#include "bcm53573.dtsi"
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	compatible = "luxul,xap-810-v1", "brcm,bcm47189", "brcm,bcm53573";
12*724ba675SRob Herring	model = "Luxul XAP-810 V1";
13*724ba675SRob Herring
14*724ba675SRob Herring	chosen {
15*724ba675SRob Herring		bootargs = "earlycon";
16*724ba675SRob Herring	};
17*724ba675SRob Herring
18*724ba675SRob Herring	memory@0 {
19*724ba675SRob Herring		device_type = "memory";
20*724ba675SRob Herring		reg = <0x00000000 0x08000000>;
21*724ba675SRob Herring	};
22*724ba675SRob Herring
23*724ba675SRob Herring	leds-0 {
24*724ba675SRob Herring		compatible = "gpio-leds";
25*724ba675SRob Herring
26*724ba675SRob Herring		led-5ghz {
27*724ba675SRob Herring			label = "bcm53xx:blue:5ghz";
28*724ba675SRob Herring			gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
29*724ba675SRob Herring			linux,default-trigger = "default-off";
30*724ba675SRob Herring		};
31*724ba675SRob Herring
32*724ba675SRob Herring		led-system {
33*724ba675SRob Herring			label = "bcm53xx:green:system";
34*724ba675SRob Herring			gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
35*724ba675SRob Herring			linux,default-trigger = "timer";
36*724ba675SRob Herring		};
37*724ba675SRob Herring	};
38*724ba675SRob Herring
39*724ba675SRob Herring	leds-1 {
40*724ba675SRob Herring		compatible = "gpio-leds";
41*724ba675SRob Herring
42*724ba675SRob Herring		led-2ghz {
43*724ba675SRob Herring			label = "bcm53xx:blue:2ghz";
44*724ba675SRob Herring			gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
45*724ba675SRob Herring			linux,default-trigger = "default-off";
46*724ba675SRob Herring		};
47*724ba675SRob Herring	};
48*724ba675SRob Herring
49*724ba675SRob Herring	gpio-keys {
50*724ba675SRob Herring		compatible = "gpio-keys";
51*724ba675SRob Herring
52*724ba675SRob Herring		button-restart {
53*724ba675SRob Herring			label = "Reset";
54*724ba675SRob Herring			linux,code = <KEY_RESTART>;
55*724ba675SRob Herring			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
56*724ba675SRob Herring		};
57*724ba675SRob Herring	};
58*724ba675SRob Herring};
59*724ba675SRob Herring
60*724ba675SRob Herring&pcie0 {
61*724ba675SRob Herring	ranges = <0x00000000 0 0 0 0 0x00100000>;
62*724ba675SRob Herring	#address-cells = <3>;
63*724ba675SRob Herring	#size-cells = <2>;
64*724ba675SRob Herring
65*724ba675SRob Herring	bridge@0,0,0 {
66*724ba675SRob Herring		reg = <0x0000 0 0 0 0>;
67*724ba675SRob Herring		ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
68*724ba675SRob Herring		#address-cells = <3>;
69*724ba675SRob Herring		#size-cells = <2>;
70*724ba675SRob Herring
71*724ba675SRob Herring		wifi@0,1,0 {
72*724ba675SRob Herring			reg = <0x0000 0 0 0 0>;
73*724ba675SRob Herring			ranges = <0x00000000 0 0 0 0x00100000>;
74*724ba675SRob Herring			#address-cells = <1>;
75*724ba675SRob Herring			#size-cells = <1>;
76*724ba675SRob Herring
77*724ba675SRob Herring			pcie0_chipcommon: chipcommon@0 {
78*724ba675SRob Herring				reg = <0 0x1000>;
79*724ba675SRob Herring
80*724ba675SRob Herring				gpio-controller;
81*724ba675SRob Herring				#gpio-cells = <2>;
82*724ba675SRob Herring			};
83*724ba675SRob Herring		};
84*724ba675SRob Herring	};
85*724ba675SRob Herring};
86