2018-05-02 22:11:02 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
2015-01-20 03:45:37 +08:00
|
|
|
/*
|
|
|
|
* Broadcom BCM470X / BCM5301X ARM platform code.
|
|
|
|
* DTS for Luxul XWC-1000
|
|
|
|
*
|
|
|
|
* Copyright 2014 Luxul Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "bcm4708.dtsi"
|
2015-05-30 05:39:47 +08:00
|
|
|
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
2015-01-20 03:45:37 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "luxul,xwc-1000", "brcm,bcm4708";
|
|
|
|
model = "Luxul XWC-1000 (BCM4708)";
|
|
|
|
|
|
|
|
chosen {
|
2016-04-07 00:49:55 +08:00
|
|
|
bootargs = "console=ttyS0,115200 earlycon";
|
2015-01-20 03:45:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
memory {
|
|
|
|
reg = <0x00000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
2015-05-30 05:39:47 +08:00
|
|
|
nand: nand@18028000 {
|
|
|
|
nandcs@0 {
|
2018-04-04 21:14:21 +08:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "ubi";
|
|
|
|
reg = <0x00000000 0x08000000>;
|
|
|
|
};
|
2015-01-20 03:45:37 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
status {
|
|
|
|
label = "bcm53xx:green:status";
|
|
|
|
gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
linux,default-trigger = "timer";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
restart {
|
|
|
|
label = "Reset";
|
|
|
|
linux,code = <KEY_RESTART>;
|
|
|
|
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-06-29 13:22:16 +08:00
|
|
|
|
2016-04-19 14:56:46 +08:00
|
|
|
&spi_nor {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2018-04-10 06:31:53 +08:00
|
|
|
|
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|