0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003 * Broadcom BCM470X / BCM5301X ARM platform code.
0004 * DTS for Luxul XWC-1000
0005 *
0006 * Copyright 2014 Luxul Inc.
0007 */
0008
0009 /dts-v1/;
0010
0011 #include "bcm4708.dtsi"
0012 #include "bcm5301x-nand-cs0-bch8.dtsi"
0013
0014 / {
0015 compatible = "luxul,xwc-1000", "brcm,bcm4708";
0016 model = "Luxul XWC-1000 (BCM4708)";
0017
0018 chosen {
0019 bootargs = "console=ttyS0,115200 earlycon";
0020 };
0021
0022 memory@0 {
0023 device_type = "memory";
0024 reg = <0x00000000 0x08000000>;
0025 };
0026
0027 nand_controller: nand-controller@18028000 {
0028 nand@0 {
0029 partitions {
0030 compatible = "fixed-partitions";
0031 #address-cells = <1>;
0032 #size-cells = <1>;
0033
0034 partition@0 {
0035 label = "ubi";
0036 reg = <0x00000000 0x08000000>;
0037 };
0038 };
0039 };
0040 };
0041
0042 leds {
0043 compatible = "gpio-leds";
0044
0045 status {
0046 label = "bcm53xx:green:status";
0047 gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
0048 linux,default-trigger = "timer";
0049 };
0050 };
0051
0052 gpio-keys {
0053 compatible = "gpio-keys";
0054
0055 button-restart {
0056 label = "Reset";
0057 linux,code = <KEY_RESTART>;
0058 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
0059 };
0060 };
0061 };
0062
0063 &spi_nor {
0064 status = "okay";
0065 };
0066
0067 &srab {
0068 status = "okay";
0069
0070 ports {
0071 port@4 {
0072 reg = <4>;
0073 label = "lan";
0074 };
0075
0076 port@5 {
0077 reg = <5>;
0078 label = "cpu";
0079 ethernet = <&gmac0>;
0080 };
0081 };
0082 };