1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2018 Luxul Inc.
4 */
5
6/dts-v1/;
7
8#include "bcm47094.dtsi"
9
10/ {
11	compatible = "luxul,xap-1610-v1", "brcm,bcm47094", "brcm,bcm4708";
12	model = "Luxul XAP-1610 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		status	{
27			label = "bcm53xx:green:status";
28			gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
29			linux,default-trigger = "timer";
30		};
31
32		2ghz {
33			label = "bcm53xx:blue:2ghz";
34			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
35		};
36
37		5ghz {
38			label = "bcm53xx:blue:5ghz";
39			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
40		};
41	};
42
43	gpio-keys {
44		compatible = "gpio-keys";
45
46		restart {
47			label = "Reset";
48			linux,code = <KEY_RESTART>;
49			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
50		};
51	};
52};
53
54&spi_nor {
55	status = "okay";
56};
57
58&srab {
59	status = "okay";
60
61	ports {
62		port@0 {
63			reg = <0>;
64			label = "poe";
65		};
66
67		port@1 {
68			reg = <1>;
69			label = "lan";
70		};
71
72		port@5 {
73			reg = <5>;
74			label = "cpu";
75			ethernet = <&gmac0>;
76		};
77	};
78};
79