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 "bcm53573.dtsi"
9
10/ {
11	compatible = "luxul,xap-1440-v1", "brcm,bcm47189", "brcm,bcm53573";
12	model = "Luxul XAP-1440 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		led-wlan {
27			label = "bcm53xx:blue:wlan";
28			gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
29		};
30
31		led-system {
32			label = "bcm53xx:green:system";
33			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
34			linux,default-trigger = "timer";
35		};
36	};
37
38	gpio-keys {
39		compatible = "gpio-keys";
40
41		button-restart {
42			label = "Reset";
43			linux,code = <KEY_RESTART>;
44			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
45		};
46	};
47};
48
49&gmac0 {
50	phy-mode = "rgmii";
51	phy-handle = <&bcm54210e>;
52
53	/delete-node/ fixed-link;
54
55	mdio {
56		/delete-node/ switch@1e;
57
58		bcm54210e: ethernet-phy@0 {
59			reg = <0>;
60		};
61	};
62};
63
64&gmac1 {
65	status = "disabled";
66};
67