Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2567241iob; Fri, 6 May 2022 05:59:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMiwfAHx+tKbqqeOBSzMrP8TDJxSkkKEYoWKHSDu7VmrSPAKIT6Ck2suBiygZYtvkiv5ya X-Received: by 2002:a05:6402:2710:b0:427:d087:b with SMTP id y16-20020a056402271000b00427d087000bmr3327522edd.11.1651841947448; Fri, 06 May 2022 05:59:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651841947; cv=none; d=google.com; s=arc-20160816; b=pmM1srGMgd4gmA2M5ThhcdeEYu94h4coYCIYIcYuUP9t3P9ksiFq9pm4VNUxcVrV2W 1oTwYkPM7NuGO0Ecqt+MOYUi3tiJ5MP6Kt0ZeOT8YJnzwtBooh3CcO+DT41GD3h7qo2M knoVHpGHWV37WE8dZL/oidvVEQNHpilWHKwQqQwdZOOc2h8AIpmaQiohqRipy76txaN/ znx/YTby1VaJ8jSkSt6OKuPqT5VZJQvJiXRxLPPZrYhsSqFqfibJ30ez+de60SnKJXev fgLtV+QBMmDA864z2O/ZNl5YqxGaOyNj7R3MMa0nZDa1YUmS97/rHXeJ1fUtvGJ8omBB S9lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ebGEldA3FSxzjKP+0IoEsgqVdV2j6ezCK0sWg/HoQHE=; b=p75jMSYl3sPvUBjVGn0cu64EaukWk+bzRcnJwx+f3qxuXOkee+v1JTk96z2/s5PhwM I4mC9um224dQmhK+RCT18MV7mNUURFx5nr3RO2XFs3ATfKwU2l0Vd/EQMt2+HhQsTUtV xRebE7qbHkXrHS5fkxXUgynL3vTwvMvbHf6RI8/jpkoIQF3fEEhl/wt4nhOLRGQug3rH aod/khtJqDisXxcuryH0gD7gfYyvOk4lsbbd6pnpt3fPFcH97SPusR/1XuRTsjccb5KF sqj4J6yu3Ox3H/wFLlSnw4lRz6fJEDi3QtwZtjIiamrW6/5uXMBAlubH6BEytFW4Nvqn XRhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=zJyiiAF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z26-20020a170906075a00b006f3ac5c0472si4416464ejb.1004.2022.05.06.05.58.43; Fri, 06 May 2022 05:59:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=zJyiiAF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350220AbiEDNLU (ORCPT + 99 others); Wed, 4 May 2022 09:11:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350391AbiEDNKr (ORCPT ); Wed, 4 May 2022 09:10:47 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A10940E63; Wed, 4 May 2022 06:06:54 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 244AF0hI016186; Wed, 4 May 2022 15:06:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=ebGEldA3FSxzjKP+0IoEsgqVdV2j6ezCK0sWg/HoQHE=; b=zJyiiAF94Zf8uKa13IiCR5sv9lvl9c2skYQ+DuNSw2ClfzCkR9pptSzSJwCJP/ljmOnF 1xefXURZaa4NReuCEF4lzx95XlK6PL1A/bovCLXTTBQeQhyJ/030MOnPVvW2CPojlpwo Qi+O8m5Il95Bv1giY0D7JxJmiKnH/25/jwu9GfHuR0uun6JVdxape9PPeP8i03TuqsVZ XU44lt5bNhZ6lNa47axe4rQbA57/4itbUoyaGApMJrFQj2CZ3xcx6YDNDefyIltnPflR Ye2Xjx1rBShrXqhLhvLoMXe4NN8nfLhfqk39zI3zumHZS8LCAs+s1fbeDOVp29ik/xWu kA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3frvf0m5a5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 May 2022 15:06:40 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C5A8810002A; Wed, 4 May 2022 15:06:39 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id BEEE121FEAA; Wed, 4 May 2022 15:06:39 +0200 (CEST) Received: from localhost (10.75.127.45) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 4 May 2022 15:06:39 +0200 From: Valentin Caron To: Alessandro Zummo , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Alexandre Torgue CC: Gabriel Fernandez , Amelie Delaunay , Valentin Caron , , , , , Subject: [PATCH 6/6] ARM: dts: stm32: add RTC LSCO support on stm32mp135f-dk Date: Wed, 4 May 2022 15:06:17 +0200 Message-ID: <20220504130617.331290-5-valentin.caron@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220504130233.330983-1-valentin.caron@foss.st.com> References: <20220504130233.330983-1-valentin.caron@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-04_04,2022-05-04_01,2022-02-23_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gabriel Fernandez Add LSCO support on stm32mp135f-dk board. LSCO output is mapped on RTC_OUT2_RMP (PI1), directly routed on LPO_IN pin of Wifi/Bluetooth module. Signed-off-by: Gabriel Fernandez Signed-off-by: Valentin Caron --- arch/arm/boot/dts/stm32mp13-pinctrl.dtsi | 6 ++++++ arch/arm/boot/dts/stm32mp135f-dk.dts | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi index d2472cd8f1d0..0aaafd529404 100644 --- a/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi @@ -6,6 +6,12 @@ #include &pinctrl { + rtc_out2_rmp_pins_a: rtc-out2-rmp-pins-0 { + pins { + pinmux = ; /* RTC_OUT2_RMP */ + }; + }; + sdmmc1_b4_pins_a: sdmmc1-b4-0 { pins { pinmux = , /* SDMMC1_D0 */ diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts index 09d6226d598f..de9fd89fce5c 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -12,6 +12,7 @@ #include "stm32mp135.dtsi" #include "stm32mp13xf.dtsi" #include "stm32mp13-pinctrl.dtsi" +#include / { model = "STMicroelectronics STM32MP135F-DK Discovery Board"; @@ -63,6 +64,9 @@ &iwdg2 { }; &rtc { + st,lsco = ; + pinctrl-0 = <&rtc_out2_rmp_pins_a>; + pinctrl-names = "default"; status = "okay"; }; -- 2.25.1