]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-am642-evm: Enable "SYNC_OUT0" output
authorMD Danish Anwar <danishanwar@ti.com>
Fri, 14 Jun 2024 10:08:29 +0000 (15:38 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Wed, 19 Jun 2024 17:19:54 +0000 (22:49 +0530)
The IEP0 SYNC_OUT0 pins are used for PPS out on AM64 EVM.
Configure its PINMUX here.

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Link: https://lore.kernel.org/r/20240614100829.3919008-1-danishanwar@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am642-evm.dts

index 9f691ed977919a15fe9fa5bdb2abeedb00c40455..6bb1ad2e56ec2295df59171614f1602629b9b0b7 100644 (file)
                        AM64X_IOPAD(0x00f4, PIN_INPUT, 2) /* (Y9) PRG1_PRU0_GPO15.PRG1_RGMII1_TX_CTL */
                >;
        };
+
+       icssg1_iep0_pins_default: icssg1-iep0-default-pins {
+               pinctrl-single,pins = <
+                       AM64X_IOPAD(0x0104, PIN_OUTPUT, 2) /* (W7) PRG1_PRU0_GPO19.PRG1_IEP0_EDC_SYNC_OUT0 */
+               >;
+       };
 };
 
 &main_uart0 {
 &gpmc0 {
        ranges = <0 0 0x00 0x51000000 0x01000000>; /* CS0 space. Min partition = 16MB */
 };
+
+&icssg1_iep0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&icssg1_iep0_pins_default>;
+};