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		#address-cells = <1>;
63		#size-cells = <0>;
64
65		port@0 {
66			reg = <0>;
67			label = "poe";
68		};
69
70		port@1 {
71			reg = <1>;
72			label = "lan";
73		};
74
75		port@5 {
76			reg = <5>;
77			label = "cpu";
78			ethernet = <&gmac0>;
79		};
80	};
81};
82