arm64: dts: freescale: imx93-tqma9352-mba93xxla: add irq for temp sensor
authorMarkus Niebel <Markus.Niebel@ew.tq-group.com>
Mon, 19 Aug 2024 12:03:19 +0000 (14:03 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 4 Sep 2024 09:36:20 +0000 (17:36 +0800)
This adds muxing and configuration of the irq output of the temp
sensor on TQMa93xx that is connected to a GPIO line on MBa93xxLA

While at it, add comment for RTC_EVENT for pcf85063 since the IRQ line
of both devices on SoM are routed to CPU GPIO on MBa93xxLA.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts

index 718032cf57962fdad7e4f9ced2d3f1392b704f94..dd6e0b559a410881cf180be1313078418765236c 100644 (file)
 };
 
 &pcf85063 {
-       /* RTC_EVENT# is connected on MBa93xxLA */
+       /* RTC_EVENT# from SoM is connected on mainboard */
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcf85063>;
        interrupt-parent = <&gpio1>;
        interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
 };
 
+&se97_som {
+       /* TEMP_EVENT# from SoM is connected on mainboard */
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_temp_sensor_som>;
+       interrupt-parent = <&gpio1>;
+       interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+};
+
 &tpm5 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_tpm5>;
                >;
        };
 
+       pinctrl_temp_sensor_som: tempsensorsomgrp {
+               fsl,pins = <
+                       /* HYS | FSEL_0 | no DSE */
+                       MX93_PAD_SAI1_TXFS__GPIO1_IO11                  0x1000
+               >;
+       };
+
        pinctrl_tpm5: tpm5grp {
                fsl,pins = <
                        MX93_PAD_GPIO_IO06__TPM5_CH0                    0x57e