xref: /freebsd/sys/contrib/device-tree/src/arm/broadcom/bcm47189-luxul-xap-1440.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright 2017 Luxul Inc.
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include "bcm53573.dtsi"
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot/ {
11f126890aSEmmanuel Vadot	compatible = "luxul,xap-1440-v1", "brcm,bcm47189", "brcm,bcm53573";
12f126890aSEmmanuel Vadot	model = "Luxul XAP-1440 V1";
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot	chosen {
15f126890aSEmmanuel Vadot		bootargs = "earlycon";
16f126890aSEmmanuel Vadot	};
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot	memory@0 {
19f126890aSEmmanuel Vadot		device_type = "memory";
20f126890aSEmmanuel Vadot		reg = <0x00000000 0x08000000>;
21f126890aSEmmanuel Vadot	};
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	leds {
24f126890aSEmmanuel Vadot		compatible = "gpio-leds";
25f126890aSEmmanuel Vadot
26f126890aSEmmanuel Vadot		led-wlan {
27f126890aSEmmanuel Vadot			label = "bcm53xx:blue:wlan";
28f126890aSEmmanuel Vadot			gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
29f126890aSEmmanuel Vadot		};
30f126890aSEmmanuel Vadot
31f126890aSEmmanuel Vadot		led-system {
32f126890aSEmmanuel Vadot			label = "bcm53xx:green:system";
33f126890aSEmmanuel Vadot			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
34f126890aSEmmanuel Vadot			linux,default-trigger = "timer";
35f126890aSEmmanuel Vadot		};
36f126890aSEmmanuel Vadot	};
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot	gpio-keys {
39f126890aSEmmanuel Vadot		compatible = "gpio-keys";
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot		button-restart {
42f126890aSEmmanuel Vadot			label = "Reset";
43f126890aSEmmanuel Vadot			linux,code = <KEY_RESTART>;
44f126890aSEmmanuel Vadot			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
45f126890aSEmmanuel Vadot		};
46f126890aSEmmanuel Vadot	};
47f126890aSEmmanuel Vadot};
48*aa1a8ff2SEmmanuel Vadot
49*aa1a8ff2SEmmanuel Vadot&gmac0 {
50*aa1a8ff2SEmmanuel Vadot	phy-mode = "rgmii";
51*aa1a8ff2SEmmanuel Vadot	phy-handle = <&bcm54210e>;
52*aa1a8ff2SEmmanuel Vadot
53*aa1a8ff2SEmmanuel Vadot	/delete-node/ fixed-link;
54*aa1a8ff2SEmmanuel Vadot
55*aa1a8ff2SEmmanuel Vadot	mdio {
56*aa1a8ff2SEmmanuel Vadot		/delete-node/ switch@1e;
57*aa1a8ff2SEmmanuel Vadot
58*aa1a8ff2SEmmanuel Vadot		bcm54210e: ethernet-phy@0 {
59*aa1a8ff2SEmmanuel Vadot			reg = <0>;
60*aa1a8ff2SEmmanuel Vadot		};
61*aa1a8ff2SEmmanuel Vadot	};
62*aa1a8ff2SEmmanuel Vadot};
63*aa1a8ff2SEmmanuel Vadot
64*aa1a8ff2SEmmanuel Vadot&gmac1 {
65*aa1a8ff2SEmmanuel Vadot	status = "disabled";
66*aa1a8ff2SEmmanuel Vadot};
67