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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
---
 arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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";
-- 
2.25.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux