diff options
author | Yashwanth Varakala <y.varakala@phytec.de> | 2024-02-22 15:28:50 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2024-02-25 16:10:08 +0300 |
commit | 7b4544849e0742d6f9b80e25804228c097c1edcc (patch) | |
tree | 87f28dc2b029617b00a3850ffdac5a564e6469f6 /arch/arm64/boot/dts | |
parent | bb645889037f170fab42381be2b1c7a4a378a0a4 (diff) | |
download | linux-7b4544849e0742d6f9b80e25804228c097c1edcc.tar.xz |
arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node
The interrupt of the RTC is connected on the carrier board
phyBOARD-i.MX8MP-Pollux.
RTC trickle-charger devicetree property is dependent on the
phyboard-pollux design.
Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 15 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts index 9e8afceba65e..7df8fafbbb90 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts @@ -201,6 +201,15 @@ pinctrl-0 = <&pinctrl_pwm3>; }; +&rv3028 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rtc>; + interrupt-parent = <&gpio4>; + interrupts = <19 IRQ_TYPE_LEVEL_LOW>; + wakeup-source; + trickle-resistor-ohms = <3000>; +}; + /* debug console */ &uart1 { pinctrl-names = "default"; @@ -369,6 +378,12 @@ >; }; + pinctrl_rtc: rtcgrp { + fsl,pins = < + MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x1C0 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x40 diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi index c976c3b6cbc6..e6ffa6a6b68b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi @@ -175,7 +175,6 @@ rv3028: rtc@52 { compatible = "microcrystal,rv3028"; reg = <0x52>; - trickle-resistor-ohms = <3000>; }; }; |