1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2016 Luxul Inc.
4 */
5
6/dts-v1/;
7
8#include "bcm4708.dtsi"
9
10/ {
11	compatible = "luxul,xap-1510-v1", "brcm,bcm4708";
12	model = "Luxul XAP-1510 V1";
13
14	chosen {
15		bootargs = "console=ttyS0,115200 earlycon";
16	};
17
18	memory@0 {
19		device_type = "memory";
20		reg = <0x00000000 0x08000000>;
21	};
22
23	nvram@1eff0000 {
24		compatible = "brcm,nvram";
25		reg = <0x1eff0000 0x10000>;
26
27		et0macaddr: et0macaddr {
28		};
29	};
30
31	leds {
32		compatible = "gpio-leds";
33
34		led-5ghz {
35			label = "bcm53xx:blue:5ghz";
36			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
37			linux,default-trigger = "none";
38		};
39
40		led-2ghz {
41			label = "bcm53xx:blue:2ghz";
42			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
43			linux,default-trigger = "none";
44		};
45
46		led-status {
47			label = "bcm53xx:green:status";
48			gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
49			linux,default-trigger = "timer";
50		};
51	};
52
53	gpio-keys {
54		compatible = "gpio-keys";
55
56		button-restart {
57			label = "Reset";
58			linux,code = <KEY_RESTART>;
59			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
60		};
61	};
62};
63
64&gmac0 {
65	nvmem-cells = <&et0macaddr>;
66	nvmem-cell-names = "mac-address";
67};
68
69&spi_nor {
70	status = "okay";
71};
72
73&srab {
74	status = "okay";
75
76	ports {
77		port@0 {
78			label = "poe";
79		};
80
81		port@4 {
82			label = "lan";
83		};
84
85		port@5 {
86			label = "cpu";
87		};
88
89		port@7 {
90			status = "disabled";
91		};
92
93		port@8 {
94			status = "disabled";
95		};
96	};
97};
98