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