Commit 4a707cb1 authored by Mathew McBride's avatar Mathew McBride
Browse files

dtb: rename file to fsl-ls1088a-ten64.dtb as per mainline convention

parent 612cdcf5
Pipeline #250632875 passed with stages
in 7 minutes and 34 seconds
......@@ -36,7 +36,7 @@ build-dtb:
- ./build-dtb.sh
artifacts:
paths:
- dtb/traverse-ten64.dtb
- dtb/fsl-ls1088a-ten64.dtb
variables:
GIT_SUBMODULE_STRATEGY: recursive
......
......@@ -11,6 +11,6 @@ cd linux-dtb-compile
patch -p1 -i ../0001-arm64-dts-ls1088a-add-internal-PCS-for-DPMAC1-node.patch
patch -p1 -i ../0001-arm64-dts-add-device-tree-for-Traverse-Ten64-board.patch
make ARCH=arm64 defconfig
make ARCH=arm64 freescale/traverse-ten64.dtb
make ARCH=arm64 freescale/fsl-ls1088a-ten64.dtb
cp arch/arm64/boot/dts/freescale/traverse-ten64.dtb ..
cp arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dtb ..
......@@ -37,7 +37,7 @@ mcopy -i sdcard/boot-fat.img -s "dpaa2/dpl/eth-dpl-all.dtb" ::/dpaa2config
mmd -i sdcard/boot-fat.img spi_fw
mcopy -i sdcard/boot-fat.img -s "arm-trusted-firmware/build/${PLATFORM}/${RELEASE}/bl2_qspi.pbl" ::/spi_fw
mcopy -i sdcard/boot-fat.img -s "arm-trusted-firmware/build/${PLATFORM}/${RELEASE}/fip.bin" ::/spi_fw
mcopy -i sdcard/boot-fat.img -s "dtb/traverse-ten64.dtb" ::/spi_fw
mcopy -i sdcard/boot-fat.img -s "dtb/fsl-ls1088a-ten64.dtb" ::/spi_fw
mkimage -T script -C none -n 'Reflash bootloader' -d flash-qspi.scr.txt sdcard/flash-qspi.scr
mcopy -i sdcard/boot-fat.img -s "sdcard/flash-qspi.scr" ::/spi_fw
......
From eab253877947b059d18bcf2181403380f07f34c4 Mon Sep 17 00:00:00 2001
From 83c3377e41591b4411fb61a5970a2f2abf642d47 Mon Sep 17 00:00:00 2001
From: Mathew McBride <matt@traverse.com.au>
Date: Wed, 21 Oct 2020 02:51:12 +0000
Subject: [PATCH 2/2] arm64: dts: add device tree for Traverse Ten64 board
Subject: [PATCH] arm64: dts: add device tree for Traverse Ten64 board
Signed-off-by: Mathew McBride <matt@traverse.com.au>
---
arch/arm64/boot/dts/freescale/Makefile | 1 +
.../boot/dts/freescale/traverse-ten64.dts | 427 ++++++++++++++++++
.../boot/dts/freescale/fsl-ls1088a-ten64.dts | 427 ++++++++++++++++++
2 files changed, 428 insertions(+)
create mode 100644 arch/arm64/boot/dts/freescale/traverse-ten64.dts
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index 6f0777ee6cd6..4f962850ba7e 100644
index 6f0777ee6cd6..593e53c86c72 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -28,6 +28,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-honeycomb.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2162a-qds.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += traverse-ten64.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb
diff --git a/arch/arm64/boot/dts/freescale/traverse-ten64.dts b/arch/arm64/boot/dts/freescale/traverse-ten64.dts
@@ -18,6 +18,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-qds.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-ten64.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
new file mode 100644
index 000000000000..d2a53cfbb65a
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/traverse-ten64.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
@@ -0,0 +1,427 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
......
......@@ -16,6 +16,6 @@ mtd write dpl $load_addr +$filesize
load mmc 0 $load_addr 'dpaa2config/dpc.0x1D-0x0D.dtb'
mtd erase dpc
mtd write dpc $load_addr +$filesize
load mmc 0 $load_addr 'spi_fw/traverse-ten64.dtb'
load mmc 0 $load_addr 'spi_fw/fsl-ls1088a-ten64.dtb'
mtd erase devicetree
mtd write devicetree $load_addr +$filesize
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment