diff mbox series

[v2,2/2] arm64: dts: renesas: rzg2ul-smarc: [DO NOT APPLY] Add PMIC IRQ property

Message ID 20240226194715.427597-3-biju.das.jz@bp.renesas.com (mailing list archive)
State Not Applicable
Delegated to: Geert Uytterhoeven
Headers show
Series Enable DA9062 PMIC and built-in RTC, GPIO and ONKEY | expand

Commit Message

Biju Das Feb. 26, 2024, 7:47 p.m. UTC
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi b/arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi
index f6f6f8280df6..812af2891a95 100644
--- a/arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi
@@ -21,14 +21,26 @@  &cpu_dai {
 	sound-dai = <&ssi1>;
 };
 
+&pinctrl {
+	pmic_pins: pmic {
+		pinmux = <RZG2L_PORT_PINMUX(18, 4, 1)>;  /* IRQ6 */
+	};
+};
+
 &i2c0 {
 	clock-frequency = <400000>;
 
 	da9062: pmic@58 {
 		compatible = "dlg,da9062";
 		reg = <0x58>;
+		pinctrl-0 = <&pmic_pins>;
+		pinctrl-names = "default";
 		gpio-controller;
 		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+		interrupt-parent = <&irqc>;
+		interrupts = <RZG2L_IRQ6 IRQ_TYPE_LEVEL_LOW>;
 
 		gpio {
 			compatible = "dlg,da9062-gpio";