From: Andrej Picej <andrej.picej@norik.com>
To: shawnguo@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org
Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
upstream@lists.phytec.de
Subject: [PATCH v3 09/15] arm64: dts: imx8mm: move bulk of rtc properties to carrierboards
Date: Tue, 18 Feb 2025 08:41:50 +0100 [thread overview]
Message-ID: <20250218074156.807214-10-andrej.picej@norik.com> (raw)
In-Reply-To: <20250218074156.807214-1-andrej.picej@norik.com>
From: Yannic Moog <y.moog@phytec.de>
Move properties from SoM's dtsi to carrierboard's dts as they are
actually defined by the carrier board design.
Signed-off-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
---
Changes in v3:
- no change
---
.../boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 10 ++++++++++
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 10 ----------
.../boot/dts/freescale/imx8mm-phygate-tauri-l.dts | 10 ++++++++++
3 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
index 7aaf705c7e47..17e5dd40b5d7 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
@@ -221,6 +221,10 @@ &pcie_phy {
/* RTC */
&rv3028 {
+ interrupt-parent = <&gpio1>;
+ interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
+ pinctrl-0 = <&pinctrl_rtc>;
+ pinctrl-names = "default";
aux-voltage-chargeable = <1>;
trickle-resistor-ohms = <3000>;
wakeup-source;
@@ -410,6 +414,12 @@ MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x40
>;
};
+ pinctrl_rtc: rtcgrp {
+ fsl,pins = <
+ MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x1c0
+ >;
+ };
+
pinctrl_tpm: tpmgrp {
fsl,pins = <
MX8MM_IOMUXC_SD1_STROBE_GPIO2_IO11 0x140
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
index cced82226c6d..672baba4c8d0 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
@@ -301,10 +301,6 @@ eeprom@51 {
/* RTC */
rv3028: rtc@52 {
compatible = "microcrystal,rv3028";
- interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
- interrupt-parent = <&gpio1>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_rtc>;
reg = <0x52>;
};
};
@@ -377,12 +373,6 @@ MX8MM_IOMUXC_I2C1_SCL_GPIO5_IO14 0x1e0
>;
};
- pinctrl_rtc: rtcgrp {
- fsl,pins = <
- MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x1c0
- >;
- };
-
pinctrl_sn65dsi83: sn65dsi83grp {
fsl,pins = <
MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x0
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts
index c9bf4ac254bb..755cf9cacd22 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts
@@ -215,6 +215,10 @@ &pwm4 {
/* RTC */
&rv3028 {
+ interrupt-parent = <&gpio1>;
+ interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
+ pinctrl-0 = <&pinctrl_rtc>;
+ pinctrl-names = "default";
aux-voltage-chargeable = <1>;
trickle-resistor-ohms = <3000>;
wakeup-source;
@@ -395,6 +399,12 @@ MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x40
>;
};
+ pinctrl_rtc: rtcgrp {
+ fsl,pins = <
+ MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x1c0
+ >;
+ };
+
pinctrl_tempsense: tempsensegrp {
fsl,pins = <
MX8MM_IOMUXC_SAI3_TXFS_GPIO4_IO31 0x00
--
2.34.1
next prev parent reply other threads:[~2025-02-18 7:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-18 7:41 [PATCH v3 00/15] Update PHYTEC's i.MX8MM DTSs Andrej Picej
2025-02-18 7:41 ` [PATCH v3 01/15] arm64: dts: imx8mm-phycore-som: Keep LDO3 on in suspend Andrej Picej
2025-02-18 7:41 ` [PATCH v3 02/15] arm64: dts: imx8mm-phycore-som: Fix bluetooth wakeup source Andrej Picej
2025-02-18 7:41 ` [PATCH v3 03/15] arm64: dts: imx8mm-phycore-som: Remove magic-packet property Andrej Picej
2025-02-18 7:41 ` [PATCH v3 04/15] arm64: dts: imx8mm-phycore-som: Assign regulator for dsi to lvds bridge Andrej Picej
2025-02-18 7:41 ` [PATCH v3 05/15] arm64: dts: imx8mm-phycore-som: add descriptions to nodes Andrej Picej
2025-02-18 7:41 ` [PATCH v3 06/15] arm64: dts: imx8mm-phyboard-polis: add RTC description Andrej Picej
2025-02-18 7:41 ` [PATCH v3 07/15] arm64: dts: imx8mm-phyboard-polis: Set RTC as wakeup-source Andrej Picej
2025-02-18 7:41 ` [PATCH v3 08/15] arm64: dts: imx8mm-phygate-tauri-l: " Andrej Picej
2025-02-18 7:41 ` Andrej Picej [this message]
2025-02-18 7:41 ` [PATCH v3 10/15] arm64: dts: imx8mm-phyboard-polis: Assign missing regulator for bluetooth Andrej Picej
2025-02-18 7:41 ` [PATCH v3 11/15] arm64: dts: imx8mm-phyboard-polis: Add support for PEB-AV-10 Andrej Picej
2025-02-18 7:41 ` [PATCH v3 12/15] arm64: dts: imx8mm-phyboard-polis: Add overlay for PEB-EVAL-01 Andrej Picej
2025-02-18 7:41 ` [PATCH v3 13/15] arm64: dts: imx8mm-phycore-som: Add overlay for rproc Andrej Picej
2025-02-18 7:41 ` [PATCH v3 14/15] arm64: dts: imx8mm-phycore-som: Add no-eth phy overlay Andrej Picej
2025-02-18 7:41 ` [PATCH v3 15/15] arm64: dts: imx8mm-phycore-som: Add overlay to disable SPI NOR flash Andrej Picej
2025-02-23 8:17 ` [PATCH v3 00/15] Update PHYTEC's i.MX8MM DTSs Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250218074156.807214-10-andrej.picej@norik.com \
--to=andrej.picej@norik.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=upstream@lists.phytec.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox