xref: /freebsd/sys/contrib/device-tree/src/arm/broadcom/bcm47094-luxul-abr-4500.dts (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) 2017 Luxul Inc.
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include "bcm4708.dtsi"
9f126890aSEmmanuel Vadot#include "bcm5301x-nand-cs0-bch8.dtsi"
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot/ {
12f126890aSEmmanuel Vadot	compatible = "luxul,abr-4500-v1", "brcm,bcm47094", "brcm,bcm4708";
13f126890aSEmmanuel Vadot	model = "Luxul ABR-4500 V1";
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot	chosen {
16f126890aSEmmanuel Vadot		bootargs = "earlycon";
17f126890aSEmmanuel Vadot	};
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	memory@0 {
20f126890aSEmmanuel Vadot		device_type = "memory";
21f126890aSEmmanuel Vadot		reg = <0x00000000 0x08000000>,
22f126890aSEmmanuel Vadot		      <0x88000000 0x18000000>;
23f126890aSEmmanuel Vadot	};
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	nvram@1eff0000 {
26f126890aSEmmanuel Vadot		compatible = "brcm,nvram";
27f126890aSEmmanuel Vadot		reg = <0x1eff0000 0x10000>;
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot		et0macaddr: et0macaddr {
30f126890aSEmmanuel Vadot			#nvmem-cell-cells = <1>;
31f126890aSEmmanuel Vadot		};
32f126890aSEmmanuel Vadot	};
33f126890aSEmmanuel Vadot
34f126890aSEmmanuel Vadot	leds {
35f126890aSEmmanuel Vadot		compatible = "gpio-leds";
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot		led-status {
38f126890aSEmmanuel Vadot			label = "bcm53xx:green:status";
39f126890aSEmmanuel Vadot			gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
40f126890aSEmmanuel Vadot			linux,default-trigger = "timer";
41f126890aSEmmanuel Vadot		};
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot		led-usb3 {
44f126890aSEmmanuel Vadot			label = "bcm53xx:green:usb3";
45f126890aSEmmanuel Vadot			gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
46f126890aSEmmanuel Vadot			trigger-sources = <&ohci_port1>, <&ehci_port1>,
47f126890aSEmmanuel Vadot				<&xhci_port1>;
48f126890aSEmmanuel Vadot			linux,default-trigger = "usbport";
49f126890aSEmmanuel Vadot		};
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot	};
52f126890aSEmmanuel Vadot
53f126890aSEmmanuel Vadot	gpio-keys {
54f126890aSEmmanuel Vadot		compatible = "gpio-keys";
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot		button-restart {
57f126890aSEmmanuel Vadot			label = "Reset";
58f126890aSEmmanuel Vadot			linux,code = <KEY_RESTART>;
59f126890aSEmmanuel Vadot			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
60f126890aSEmmanuel Vadot		};
61f126890aSEmmanuel Vadot	};
62f126890aSEmmanuel Vadot};
63f126890aSEmmanuel Vadot
64f126890aSEmmanuel Vadot&usb3 {
65f126890aSEmmanuel Vadot	vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
66f126890aSEmmanuel Vadot};
67f126890aSEmmanuel Vadot
68f126890aSEmmanuel Vadot&gmac0 {
69f126890aSEmmanuel Vadot	nvmem-cells = <&et0macaddr 0>;
70f126890aSEmmanuel Vadot	nvmem-cell-names = "mac-address";
71f126890aSEmmanuel Vadot};
72f126890aSEmmanuel Vadot
73f126890aSEmmanuel Vadot&spi_nor {
74f126890aSEmmanuel Vadot	status = "okay";
75f126890aSEmmanuel Vadot};
76f126890aSEmmanuel Vadot
77f126890aSEmmanuel Vadot&usb3_phy {
78f126890aSEmmanuel Vadot	status = "okay";
79f126890aSEmmanuel Vadot};
80f126890aSEmmanuel Vadot
81f126890aSEmmanuel Vadot&srab {
82f126890aSEmmanuel Vadot	status = "okay";
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot	ports {
85f126890aSEmmanuel Vadot		port@0 {
86f126890aSEmmanuel Vadot			label = "wan";
87f126890aSEmmanuel Vadot			nvmem-cells = <&et0macaddr 1>;
88f126890aSEmmanuel Vadot			nvmem-cell-names = "mac-address";
89f126890aSEmmanuel Vadot		};
90f126890aSEmmanuel Vadot
91f126890aSEmmanuel Vadot		port@1 {
92f126890aSEmmanuel Vadot			label = "lan4";
93f126890aSEmmanuel Vadot		};
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot		port@2 {
96f126890aSEmmanuel Vadot			label = "lan3";
97f126890aSEmmanuel Vadot		};
98f126890aSEmmanuel Vadot
99f126890aSEmmanuel Vadot		port@3 {
100f126890aSEmmanuel Vadot			label = "lan2";
101f126890aSEmmanuel Vadot		};
102f126890aSEmmanuel Vadot
103f126890aSEmmanuel Vadot		port@4 {
104f126890aSEmmanuel Vadot			label = "lan1";
105f126890aSEmmanuel Vadot		};
106f126890aSEmmanuel Vadot
107f126890aSEmmanuel Vadot		port@5 {
108f126890aSEmmanuel Vadot			label = "cpu";
109f126890aSEmmanuel Vadot		};
110*84943d6fSEmmanuel Vadot
111*84943d6fSEmmanuel Vadot		port@7 {
112*84943d6fSEmmanuel Vadot			status = "disabled";
113*84943d6fSEmmanuel Vadot		};
114*84943d6fSEmmanuel Vadot
115*84943d6fSEmmanuel Vadot		port@8 {
116*84943d6fSEmmanuel Vadot			status = "disabled";
117*84943d6fSEmmanuel Vadot		};
118f126890aSEmmanuel Vadot	};
119f126890aSEmmanuel Vadot};
120