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>
This commit is contained in:
Yashwanth Varakala 2024-02-22 13:28:50 +01:00 committed by Shawn Guo
parent bb64588903
commit 7b4544849e
2 changed files with 15 additions and 1 deletions

View File

@ -201,6 +201,15 @@ &pwm3 {
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 @@ MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x40
>;
};
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

View File

@ -175,7 +175,6 @@ eeprom@51 {
rv3028: rtc@52 {
compatible = "microcrystal,rv3028";
reg = <0x52>;
trickle-resistor-ohms = <3000>;
};
};