0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003 * Copyright 2019 Legrand AV Inc.
0004 */
0005
0006 /dts-v1/;
0007
0008 #include "bcm47094.dtsi"
0009 #include "bcm5301x-nand-cs0-bch8.dtsi"
0010
0011 / {
0012 compatible = "luxul,xwc-2000-v1", "brcm,bcm47094", "brcm,bcm4708";
0013 model = "Luxul XWC-2000 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 leds {
0026 compatible = "gpio-leds";
0027
0028 status {
0029 label = "bcm53xx:green:status";
0030 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
0031 linux,default-trigger = "timer";
0032 };
0033 };
0034
0035 gpio-keys {
0036 compatible = "gpio-keys";
0037
0038 button-restart {
0039 label = "Reset";
0040 linux,code = <KEY_RESTART>;
0041 gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
0042 };
0043 };
0044 };
0045
0046 &uart1 {
0047 status = "okay";
0048 };
0049
0050 &spi_nor {
0051 status = "okay";
0052 };
0053
0054 &srab {
0055 status = "okay";
0056
0057 ports {
0058 port@0 {
0059 reg = <0>;
0060 label = "lan";
0061 };
0062
0063 port@5 {
0064 reg = <5>;
0065 label = "cpu";
0066 ethernet = <&gmac0>;
0067 };
0068 };
0069 };