Re: [PATCH 1/2] arm64: dts: Add dts files for Marvell Berlin4CT SoC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On 21/07/15 15:17, Jisheng Zhang wrote:
Add initial dtsi file to support Marvell Berlin4CT SoC with
support of quad Cortex-A53 CPUs.

It also adds dts file for Marvell Berlin4CT DMP board which is
based on Berlin4CT SoC.

Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxxx>
---
  arch/arm64/boot/dts/Makefile                  |   1 +
  arch/arm64/boot/dts/marvell/Makefile          |   5 +
  arch/arm64/boot/dts/marvell/berlin4ct-dmp.dts |  68 +++++++++++
  arch/arm64/boot/dts/marvell/berlin4ct.dtsi    | 160 ++++++++++++++++++++++++++
  4 files changed, 234 insertions(+)
  create mode 100644 arch/arm64/boot/dts/marvell/Makefile
  create mode 100644 arch/arm64/boot/dts/marvell/berlin4ct-dmp.dts
  create mode 100644 arch/arm64/boot/dts/marvell/berlin4ct.dtsi


[..]

diff --git a/arch/arm64/boot/dts/marvell/berlin4ct-dmp.dts b/arch/arm64/boot/dts/marvell/berlin4ct-dmp.dts
new file mode 100644
index 0000000..a990c8d

[..]

+/dts-v1/;
+
+/memreserve/ 0x00000000 0x01000000;
+
+#include "berlin4ct.dtsi"
+
+/ {
+	model = "MARVELL BG4CT DMP BOARD";
+	compatible = "marvell,berlin4ct-dmp", "marvell,berlin4ct", "marvell,berlin";
+
+	chosen {
+		bootargs = "earlyprintk";

I think you need to use earlycon instead ?

diff --git a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi
new file mode 100644
index 0000000..0b667f2
--- /dev/null
+++ b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi

[..]

+
+	pmu {
+		compatible = "arm,armv8-pmuv3";
+		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;

Better to add interrupt-affinity as per pmu bindings[1]

Regards,
Sudeep

[1] Documentation/devicetree/bindings/arm/pmu.txt
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux