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 "bcm47081.dtsi"
9
10/ {
11	compatible = "luxul,xap-1410v1", "brcm,bcm47081", "brcm,bcm4708";
12	model = "Luxul XAP-1410 V1";
13
14	chosen {
15		bootargs = "console=ttyS0,115200";
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 13 GPIO_ACTIVE_LOW>;
29			linux,default-trigger = "none";
30		};
31
32		2ghz {
33			label = "bcm53xx:blue:2ghz";
34			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
35			linux,default-trigger = "none";
36		};
37
38		status {
39			label = "bcm53xx:green:status";
40			gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
41			linux,default-trigger = "timer";
42		};
43	};
44
45	gpio-keys {
46		compatible = "gpio-keys";
47
48		restart {
49			label = "Reset";
50			linux,code = <KEY_RESTART>;
51			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
52		};
53	};
54};
55
56&spi_nor {
57	status = "okay";
58};
59
60&srab {
61	status = "okay";
62
63	ports {
64		port@4 {
65			reg = <4>;
66			label = "poe";
67		};
68
69		port@5 {
70			reg = <5>;
71			label = "cpu";
72			ethernet = <&gmac0>;
73		};
74	};
75};
76