Linux Audio

Check our new training course

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