From patchwork Fri May 6 15:27:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12841329 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8133BC433EF for ; Fri, 6 May 2022 15:32:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0pFI0SelILzHn8C15J1yJzYG34U5rnhybY5WUpt0BMc=; b=cMp8PR+BmUAMZG kOiwYKJ+q4oXqbzajdD6c1idUTE0GHA9W2K5+aPp8SLPnpfRP1COBgmAkRmU/qO7tLpGaMyeZRhed i4Xi1PVxxUEdmhxB1YAkGHqJXfCKHo9HDpW8l/9bo6OUqzRPgp7lFDcTYEu8CdqQCqru/yWpLvMeS vz4vC6r6l1EnqgWVWtV1IOAtEkC+55ZNfqL7KuSr4ypaPQUrgOzVjGSzQxA1TILnpRQfkNLq+JJRf ecTDorofYugQj4FhFDnhS+dFQKddkPN4kAcEKjGs1zTjAS2tFWtkeG5rvstGTTEKZdBrqcirfzeDp HXAKqFRo5qlW9t+2W1Vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmzvQ-0044gc-N1; Fri, 06 May 2022 15:31:24 +0000 Received: from mout.perfora.net ([74.208.4.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmztB-0043Cr-Ud for linux-arm-kernel@lists.infradead.org; Fri, 06 May 2022 15:29:07 +0000 Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MRSm1-1nPfjz0fmH-00NSFR; Fri, 06 May 2022 17:28:58 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marcel Ziswiler , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Russell King , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 12/24] ARM: dts: imx7-colibri: move rtc node Date: Fri, 6 May 2022 17:27:57 +0200 Message-Id: <20220506152809.295409-13-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220506152809.295409-1-marcel@ziswiler.com> References: <20220506152809.295409-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:xjSlamvLAi6Uw+RHd6U7taVRuhpg5MGJ0CqVYOoEcJK0tG/8mnh dlWDNmWtpbQG/hrJb5pTWgqDuSVfUHy7QJgUNI1tYBukX6ON0WmhTWqCqTkjK3vxEoXT2Z+ 1qeSl82wRRlZ5up5aIJgWoOqoTJ5FprcmbUcuEUmqT/zgJTDn04ii9HbAwys3quN9/nUEju VJeorvkTZIkz0dCw0WJsg== X-UI-Out-Filterresults: notjunk:1;V03:K0:A5chbVZ63TA=:RUoK36KABzWuVZd1KXUPNH 4AvDavS2YQ75WjH3nkYKEGrxhzcle/FYYKlC05Hv52oGxFALJYaUyhwL5MXlmueP+hzpXoxQd oDRiJ1y/MdFXjpsd+dpmNAA3A/zc2Vp/FIXOSPd/TJ8drV8IApfWnUQcGKntm5iPV5RVtzEXv RkkEn7SEbPr92g1pFEPySGQ92Di8NShlzukAZGO/jwW3z2wdxxT0W5yr51Poyho5umO+AD4y3 fNZR9fEJz1qL1Masl6X9uo1WYgpVqXMvlaBnRHaeVAJzAZ78ZZpqvQsnRhY7H15gL5o+I7pLb PMe6Ht9s3AHgbIBiNRACtI+nRvW3EWrtB5zIPRLbz5qwdW2ebJ0cuOZHBUP9b2i3Kag0OYd/u Pm4IxtF4BRYVqoDCf8SaahrsU6I/f1864moQlQvEysTOqp4vF16V9LZ9ncXj/ob4roNtbv8ZF l1lsCms64q4YuXIaCVSzTfPfXOqkEntw1ir8xyR6LtQDZ/B3Ke8MOLz6FZ3mPJYQ22vGUZjfG tGSDeSxjxt16bawhL+0ounImbvi85L8yjDmM7ZOaeB9CIaIbtN0440/8QgWrTo32Xl26GsK1y jnU/mxTE3aUvd7XOwAj8XfECLiWgirk1HqDqoJTfOLTOUPcA+lECPt3WB8CdNh3tfc+wPVBv1 Gbb1BqN76oQUszATbIZuMNiSkZT4W7pez8sPqxgmWhx0wmtMzglAsuzwhu8ociQZGpzrWf2BB rIBWvo47wOKV03Ra X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220506_082906_142490_0B0B8D24 X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Marcel Ziswiler Move I2C RTC to module-level to be enabled on carrier board-level. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/imx7-colibri-aster.dtsi | 11 +++++------ arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 11 +++++------ arch/arm/boot/dts/imx7-colibri.dtsi | 7 +++++++ 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/imx7-colibri-aster.dtsi b/arch/arm/boot/dts/imx7-colibri-aster.dtsi index f3a5cb7d6a0c..9796bfabe241 100644 --- a/arch/arm/boot/dts/imx7-colibri-aster.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-aster.dtsi @@ -21,12 +21,6 @@ &fec1 { &i2c4 { status = "okay"; - - /* M41T0M6 real time clock on carrier board */ - rtc: rtc@68 { - compatible = "st,m41t0"; - reg = <0x68>; - }; }; &pwm1 { @@ -45,6 +39,11 @@ &pwm4 { status = "okay"; }; +/* M41T0M6 real time clock */ +&rtc { + status = "okay"; +}; + &uart1 { status = "okay"; }; diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi index 618831e89ce8..e3aac56aece8 100644 --- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi @@ -56,12 +56,6 @@ &fec1 { &i2c4 { status = "okay"; - - /* M41T0M6 real time clock on carrier board */ - rtc: rtc@68 { - compatible = "st,m41t0"; - reg = <0x68>; - }; }; &pwm1 { @@ -80,6 +74,11 @@ &pwm4 { status = "okay"; }; +/* M41T0M6 real time clock */ +&rtc { + status = "okay"; +}; + &uart1 { status = "okay"; }; diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index 3da9ddc06aae..da3df00c7d67 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -507,6 +507,13 @@ atmel_mxt_ts: touchscreen@4a { reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; /* SODIMM 106 / RST */ status = "disabled"; }; + + /* M41T0M6 real time clock on carrier board */ + rtc: rtc@68 { + compatible = "st,m41t0"; + reg = <0x68>; + status = "disabled"; + }; }; &lcdif {