summaryrefslogtreecommitdiff
path: root/arch/arm/dts/armada-xp-db-xc3-24g4xg-u-boot.dtsi
diff options
context:
space:
mode:
authorChris Packham <chris.packham@alliedtelesis.co.nz>2019-04-11 22:22:53 +1200
committerStefan Roese <sr@denx.de>2019-04-12 07:04:18 +0200
commit4db944ab44a7bc8b495eece6afb124c632b02ef5 (patch)
tree96fc08bb713f84a99c0d3cb7e00b2363e43ba29d /arch/arm/dts/armada-xp-db-xc3-24g4xg-u-boot.dtsi
parent689f9cf6aa9edff89c4d4d3b843f500fc5582300 (diff)
downloadu-boot-4db944ab44a7bc8b495eece6afb124c632b02ef5.tar.gz
arm: mvebu: Add DB-XC3-24G4XG board
The DB-XC3-24G4XG is a switch development board from Marvell. It can either use and external CPU card such as the db-88f6820-amc or the internal CPU that is integrated into the switch. Add support for running U-Boot on the internal CPU and enable the USB, SPI and NAND peripherals. For now this needs the bin_hdr from the Marvell U-Boot for this board. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/dts/armada-xp-db-xc3-24g4xg-u-boot.dtsi')
-rw-r--r--arch/arm/dts/armada-xp-db-xc3-24g4xg-u-boot.dtsi24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-xp-db-xc3-24g4xg-u-boot.dtsi b/arch/arm/dts/armada-xp-db-xc3-24g4xg-u-boot.dtsi
new file mode 100644
index 0000000000..90cad85506
--- /dev/null
+++ b/arch/arm/dts/armada-xp-db-xc3-24g4xg-u-boot.dtsi
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+&uart0 {
+ u-boot,dm-pre-reloc;
+};
+
+&nand_controller {
+ compatible="marvell,mvebu-pxa3xx-nand";
+ status = "okay";
+ label = "pxa3xx_nand-0";
+ nand-rb = <0>;
+ marvell,nand-keep-config;
+ nand-on-flash-bbt;
+ nand-ecc-strength = <4>;
+ nand-ecc-step-size = <512>;
+};
+
+&spi0 {
+ u-boot,dm-pre-reloc;
+
+ spi-flash@0 {
+ u-boot,dm-pre-reloc;
+ };
+};