xref: /freebsd/sys/contrib/device-tree/src/arm/broadcom/bcm47094-luxul-xap-1610.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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	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-status {
35			label = "bcm53xx:green:status";
36			gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
37			linux,default-trigger = "timer";
38		};
39
40		led-2ghz {
41			label = "bcm53xx:blue:2ghz";
42			gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
43		};
44
45		led-5ghz {
46			label = "bcm53xx:blue:5ghz";
47			gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
48		};
49	};
50
51	gpio-keys {
52		compatible = "gpio-keys";
53
54		button-restart {
55			label = "Reset";
56			linux,code = <KEY_RESTART>;
57			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
58		};
59	};
60};
61
62&gmac0 {
63	nvmem-cells = <&et0macaddr>;
64	nvmem-cell-names = "mac-address";
65};
66
67&spi_nor {
68	status = "okay";
69};
70
71&srab {
72	status = "okay";
73
74	ports {
75		port@0 {
76			label = "poe";
77		};
78
79		port@1 {
80			label = "lan";
81		};
82
83		port@5 {
84			label = "cpu";
85		};
86	};
87};
88