0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003 * Copyright (C) 2017 Luxul Inc.
0004 */
0005
0006 /dts-v1/;
0007
0008 #include "bcm4708.dtsi"
0009 #include "bcm5301x-nand-cs0-bch8.dtsi"
0010
0011 / {
0012 compatible = "luxul,abr-4500-v1", "brcm,bcm47094", "brcm,bcm4708";
0013 model = "Luxul ABR-4500 V1";
0014
0015 chosen {
0016 bootargs = "earlycon";
0017 };
0018
0019 memory@0 {
0020 device_type = "memory";
0021 reg = <0x00000000 0x08000000>,
0022 <0x88000000 0x18000000>;
0023 };
0024
0025 nvram@1eff0000 {
0026 compatible = "brcm,nvram";
0027 reg = <0x1eff0000 0x10000>;
0028 };
0029
0030 leds {
0031 compatible = "gpio-leds";
0032
0033 status {
0034 label = "bcm53xx:green:status";
0035 gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
0036 linux,default-trigger = "timer";
0037 };
0038
0039 usb3 {
0040 label = "bcm53xx:green:usb3";
0041 gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
0042 trigger-sources = <&ohci_port1>, <&ehci_port1>,
0043 <&xhci_port1>;
0044 linux,default-trigger = "usbport";
0045 };
0046
0047 };
0048
0049 gpio-keys {
0050 compatible = "gpio-keys";
0051
0052 button-restart {
0053 label = "Reset";
0054 linux,code = <KEY_RESTART>;
0055 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
0056 };
0057 };
0058 };
0059
0060 &usb3 {
0061 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
0062 };
0063
0064 &spi_nor {
0065 status = "okay";
0066 };
0067
0068 &usb3_phy {
0069 status = "okay";
0070 };
0071
0072 &srab {
0073 status = "okay";
0074
0075 ports {
0076 port@0 {
0077 reg = <0>;
0078 label = "wan";
0079 };
0080
0081 port@1 {
0082 reg = <1>;
0083 label = "lan4";
0084 };
0085
0086 port@2 {
0087 reg = <2>;
0088 label = "lan3";
0089 };
0090
0091 port@3 {
0092 reg = <3>;
0093 label = "lan2";
0094 };
0095
0096 port@4 {
0097 reg = <4>;
0098 label = "lan1";
0099 };
0100
0101 port@5 {
0102 reg = <5>;
0103 label = "cpu";
0104 ethernet = <&gmac0>;
0105 };
0106 };
0107 };