From d57dd03af9cdd0d44bdbedbe926f0f5e7d99e59d Mon Sep 17 00:00:00 2001 From: Oliver Gaskell Date: Thu, 12 Sep 2024 16:50:46 +0100 Subject: [PATCH] arm: dts: Support SC594-SOM-EZKIT Add minimal device tree for Analog Devices' SC594-SOM-EZKIT board, and the SC594 SoM. This patch depends on patch 01, for sc5xx.dtsi. Co-developed-by: Greg Malysa Signed-off-by: Greg Malysa Co-developed-by: Nathan Barrett-Morrison Signed-off-by: Nathan Barrett-Morrison Signed-off-by: Oliver Gaskell --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sc594-som-ezkit.dts | 13 +++++++++++++ arch/arm/dts/sc594-som.dtsi | 19 +++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 arch/arm/dts/sc594-som-ezkit.dts create mode 100644 arch/arm/dts/sc594-som.dtsi diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index a1484c1eee..a56867b3de 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1262,6 +1262,7 @@ dtb-$(CONFIG_TARGET_SC573_EZKIT) += sc573-ezkit.dtb dtb-$(CONFIG_TARGET_SC584_EZKIT) += sc584-ezkit.dtb dtb-$(CONFIG_TARGET_SC589_MINI) += sc589-mini.dtb dtb-$(CONFIG_TARGET_SC589_EZKIT) += sc589-ezkit.dtb +dtb-$(CONFIG_TARGET_SC594_SOM_EZKIT) += sc594-som-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/sc594-som-ezkit.dts b/arch/arm/dts/sc594-som-ezkit.dts new file mode 100644 index 0000000000..e744a3a4ed --- /dev/null +++ b/arch/arm/dts/sc594-som-ezkit.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * (C) Copyright 2024 - Analog Devices, Inc. + */ + +/dts-v1/; + +#include "sc594-som.dtsi" + +/ { + model = "ADI SC594-SOM-EZKIT"; + compatible = "adi,sc594-som-ezkit", "adi,sc59x"; +}; diff --git a/arch/arm/dts/sc594-som.dtsi b/arch/arm/dts/sc594-som.dtsi new file mode 100644 index 0000000000..e15473f8e8 --- /dev/null +++ b/arch/arm/dts/sc594-som.dtsi @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * (C) Copyright 2024 - Analog Devices, Inc. + */ + +/dts-v1/; + +#include "sc5xx.dtsi" + +&timer0 { + clocks = <&clk ADSP_SC594_CLK_CGU0_SCLK0>; +}; + +&clk { + compatible = "adi,sc594-clocks"; + reg = <0x3108d000 0x1000>, + <0x3108e000 0x1000>, + <0x3108f000 0x1000>; +}; -- 2.39.5