]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: dts: ti: k3-j722s: Add main_i2c4 device node
authorAniket Limaye <a-limaye@ti.com>
Wed, 4 Mar 2026 09:11:05 +0000 (14:41 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 23 Mar 2026 10:27:49 +0000 (15:57 +0530)
commitf1c5ba960ddddda26880304ba08db11e56d07002
treeefce1819c3dbf05a10e8ed45f7b76c690c7ce143
parent5c86ef2055900ebe5e5a195a7d67b14ff665b60e
arm64: dts: ti: k3-j722s: Add main_i2c4 device node

Add missing device tree node for main_i2c4, and the corresponding ranges
in cbass_main. Interrupt for this i2c controller is routed through the
Main GPIOMUX Router.
Base address, Interrupt IDs are taken from J722S TRM [0].
Device, Clock IDs are taken from TISCI docs [1].

Additionally, the I2C4 is the only interrupt source to the GPIOMUX INTR
router that generates level interrupts, while all other sources generate
edge interrupts. Due to this, the router needs to handle interrupt-type
on a per-line basis. Modify the router node and its consumers to
specify the interrupt type corresponding to each interrupt line.

[0]: https://www.ti.com/lit/zip/sprujb3
[1]:
https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/index.html#j722s

Signed-off-by: Jared McArthur <j-mcarthur@ti.com>
Signed-off-by: Aniket Limaye <a-limaye@ti.com>
Tested-by: Nora Schiffer <nora.schiffer@ew.tq-group.com>
Link: https://patch.msgid.link/20260304-j722s-main-i2c4-dt-v1-1-03f79f0cdf97@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi
arch/arm64/boot/dts/ti/k3-j722s-main.dtsi
arch/arm64/boot/dts/ti/k3-j722s.dtsi