blob: b959a9504eeabaa62e441df72f1772b14d0a7859 [file] [log] [blame]
Rafał Miłecki2b3db672018-05-02 16:11:02 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
Dan Haab1f4b0d52017-10-09 09:46:22 -06002/*
3 * Copyright (C) 2017 Luxul Inc.
Dan Haab1f4b0d52017-10-09 09:46:22 -06004 */
5
6/dts-v1/;
7
8#include "bcm4708.dtsi"
9#include "bcm5301x-nand-cs0-bch8.dtsi"
10
11/ {
12 compatible = "luxul,xbr-4500-v1", "brcm,bcm47094", "brcm,bcm4708";
13 model = "Luxul XBR-4500 V1";
14
15 chosen {
16 bootargs = "earlycon";
17 };
18
Florian Fainellidfa84bb2019-05-28 16:01:33 -070019 memory@0 {
Rob Herringabe60a32019-01-09 10:26:14 -060020 device_type = "memory";
Rafał Miłecki43986f32021-03-09 13:55:00 +010021 reg = <0x00000000 0x08000000>,
22 <0x88000000 0x18000000>;
Dan Haab1f4b0d52017-10-09 09:46:22 -060023 };
24
Rafał Miłeckia872b8e2021-03-10 22:04:46 +010025 nvram@1eff0000 {
26 compatible = "brcm,nvram";
27 reg = <0x1eff0000 0x10000>;
28 };
29
Dan Haab1f4b0d52017-10-09 09:46:22 -060030 leds {
31 compatible = "gpio-leds";
32
33 status {
34 label = "bcm53xx:green:status";
35 gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>;
36 linux,default-trigger = "timer";
37 };
38
39 usb3 {
40 label = "bcm53xx:green:usb3";
41 gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>;
42 trigger-sources = <&ohci_port1>, <&ehci_port1>,
43 <&xhci_port1>;
44 linux,default-trigger = "usbport";
45 };
46
47 };
48
49 gpio-keys {
50 compatible = "gpio-keys";
Dan Haab1f4b0d52017-10-09 09:46:22 -060051
52 restart {
53 label = "Reset";
54 linux,code = <KEY_RESTART>;
55 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
56 };
57 };
58};
59
60&usb3 {
61 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
62};
63
64&spi_nor {
65 status = "okay";
66};
Vivek Unune37f6130e2018-04-09 18:31:53 -040067
68&usb3_phy {
69 status = "okay";
70};
Rafał Miłecki225ffaf2021-09-07 08:00:48 +020071
72&srab {
73 status = "okay";
74
75 ports {
76 port@0 {
77 reg = <0>;
78 label = "wan";
79 };
80
81 port@1 {
82 reg = <1>;
83 label = "lan4";
84 };
85
86 port@2 {
87 reg = <2>;
88 label = "lan3";
89 };
90
91 port@3 {
92 reg = <3>;
93 label = "lan2";
94 };
95
96 port@4 {
97 reg = <4>;
98 label = "lan1";
99 };
100
101 port@5 {
102 reg = <5>;
103 label = "cpu";
104 ethernet = <&gmac0>;
105 };
106 };
107};