]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: Support SC584-EZKIT
authorOliver Gaskell <Oliver.Gaskell@analog.com>
Thu, 12 Sep 2024 15:50:43 +0000 (16:50 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 3 Oct 2024 15:29:22 +0000 (09:29 -0600)
Add minimal device tree for Analog Devices' SC584-EZKIT board, and
common files for the SC58x family.

This patch depends on Patch 01, for sc5xx.dtsi.

Co-developed-by: Greg Malysa <greg.malysa@timesys.com>
Signed-off-by: Greg Malysa <greg.malysa@timesys.com>
Co-developed-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Co-developed-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Signed-off-by: Oliver Gaskell <Oliver.Gaskell@analog.com>
arch/arm/dts/Makefile
arch/arm/dts/sc584-ezkit.dts [new file with mode: 0644]
arch/arm/dts/sc58x.dtsi [new file with mode: 0644]

index d2194908d9c1cf80f81839c61b92aeafbc2b231f..c827b5b4a41f7b40b8e517b91c208e57f592f71b 100644 (file)
@@ -1259,6 +1259,7 @@ dtb-$(CONFIG_TARGET_IMX8MM_CL_IOT_GATE_OPTEE) += imx8mm-cl-iot-gate-optee.dtb \
                                        imx8mm-cl-iot-gate-ied-tpm1.dtbo
 
 dtb-$(CONFIG_TARGET_SC573_EZKIT) += sc573-ezkit.dtb
+dtb-$(CONFIG_TARGET_SC584_EZKIT) += sc584-ezkit.dtb
 
 ifneq ($(CONFIG_TARGET_IMX8MP_RSB3720A1_4G)$(CONFIG_TARGET_IMX8MP_RSB3720A1_6G),)
 dtb-y += imx8mp-rsb3720-a1.dtb
diff --git a/arch/arm/dts/sc584-ezkit.dts b/arch/arm/dts/sc584-ezkit.dts
new file mode 100644 (file)
index 0000000..4ec6bcf
--- /dev/null
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2024 - Analog Devices, Inc.
+ */
+
+/dts-v1/;
+
+#include "sc58x.dtsi"
+
+/ {
+       model = "ADI SC584-EZKIT";
+       compatible = "adi,sc584-ezkit", "adi,sc58x";
+};
diff --git a/arch/arm/dts/sc58x.dtsi b/arch/arm/dts/sc58x.dtsi
new file mode 100644 (file)
index 0000000..6614531
--- /dev/null
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2024 - Analog Devices, Inc.
+ */
+
+#include "sc5xx.dtsi"
+
+/ {
+       gic: interrupt-controller@310b2000 {
+               compatible = "arm,cortex-a5-gic";
+               #interrupt-cells = <3>;
+               #address-cells = <0>;
+               interrupt-controller;
+               reg = <0x310B2000 0x1000>,
+                     <0x310B4000 0x100>;
+       };
+};
+
+&timer0 {
+       reg = <0x31001004 0x100>,
+             <0x31001060 0x100>;
+       clocks = <&clk ADSP_SC58X_CLK_CGU0_SCLK0>;
+};