From 9e6b1d5ba6d50c3be3c0d08a6dc7f61a9aa95240 Mon Sep 17 00:00:00 2001 From: Niek Ilmer Date: Thu, 22 Jun 2023 15:08:49 +0200 Subject: [PATCH] SOC: Smartbond: Add DA14695 This commits adds the DA14695 variant. The main difference with the DA14699 is a smaller package with less GPIO. Signed-off-by: Niek Ilmer --- dts/arm/renesas/smartbond/da14695.dtsi | 12 ++++++++++++ .../da1469x/Kconfig.defconfig.da14695 | 9 +++++++++ soc/arm/renesas_smartbond/da1469x/Kconfig.soc | 5 ++++- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 dts/arm/renesas/smartbond/da14695.dtsi create mode 100644 soc/arm/renesas_smartbond/da1469x/Kconfig.defconfig.da14695 diff --git a/dts/arm/renesas/smartbond/da14695.dtsi b/dts/arm/renesas/smartbond/da14695.dtsi new file mode 100644 index 00000000000..37d75e4ecc4 --- /dev/null +++ b/dts/arm/renesas/smartbond/da14695.dtsi @@ -0,0 +1,12 @@ +/* Copyright (c) 2023 Renesas Electronics Corporation and/or its affiliates */ +/* SPDX-License-Identifier: Apache-2.0 */ + +#include "da1469x.dtsi" + +&sram0 { + reg = <0x20000000 DT_SIZE_K(512)>; +}; + +&gpio1 { + ngpios = <12>; +}; diff --git a/soc/arm/renesas_smartbond/da1469x/Kconfig.defconfig.da14695 b/soc/arm/renesas_smartbond/da1469x/Kconfig.defconfig.da14695 new file mode 100644 index 00000000000..101e275b79f --- /dev/null +++ b/soc/arm/renesas_smartbond/da1469x/Kconfig.defconfig.da14695 @@ -0,0 +1,9 @@ +# Copyright (c) 2023 Renesas Electronics Corporation and/or its affiliates +# SPDX-License-Identifier: Apache-2.0 + +if SOC_DA14695 + +config SOC + default "da14695" + +endif # SOC_DA14695 diff --git a/soc/arm/renesas_smartbond/da1469x/Kconfig.soc b/soc/arm/renesas_smartbond/da1469x/Kconfig.soc index edce4039867..b1e7eddb850 100644 --- a/soc/arm/renesas_smartbond/da1469x/Kconfig.soc +++ b/soc/arm/renesas_smartbond/da1469x/Kconfig.soc @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Renesas Electronics Corporation +# Copyright (c) 2022-2023 Renesas Electronics Corporation and/or its affiliates # SPDX-License-Identifier: Apache-2.0 choice @@ -8,4 +8,7 @@ choice config SOC_DA14699 bool "DA14699" +config SOC_DA14695 + bool "DA14695" + endchoice