]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: ti: k3-j722s: Add gpio-ranges properties
authorJared McArthur <j-mcarthur@ti.com>
Thu, 27 Jun 2024 16:25:39 +0000 (11:25 -0500)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 1 Jul 2024 16:06:07 +0000 (21:36 +0530)
commit5e5c50964e2e524a7537c97303e9266b11f372d8
tree6e569e491dc8535a779509444af4c54d95f4042a
parentd72d73a44c3c98109764bfb56c329cd628c518cc
arm64: dts: ti: k3-j722s: Add gpio-ranges properties

The AM67A/J722S/TDA4AEN platform is a derivative of AM62P platform
and we have no single 1:1 relation regarding index of GPIO and pin
controller. The GPIOs and pin controller registers have mapping and
holes in the map. These have been extracted from the J722S data
sheet. The MCU mapping is carried forward as is with J722S, however the
main GPIO block has differences that needs to be accounted for.

Mux mode input is selected as it is bi-directional. In case a specific
pull type or a specific pin level drive setting is desired, the board
device tree files will have to explicitly mux those pins for the GPIO
with the desired setting.

Ref: J722S Data sheet https://www.ti.com/lit/gpn/tda4aen-q1

Signed-off-by: Jared McArthur <j-mcarthur@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20240627162539.691223-4-nm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j722s-main.dtsi