arm64: dts: ti: k3-j722s: Add gpio-reserved-ranges for main_gpio1
authorJared McArthur <j-mcarthur@ti.com>
Fri, 9 Aug 2024 16:28:28 +0000 (11:28 -0500)
committerNishanth Menon <nm@ti.com>
Sat, 24 Aug 2024 19:40:51 +0000 (14:40 -0500)
commit67d820656fd87581e9ea8b27e42fbcdd0202b3b5
tree433c0a047af05165b0b5f0f357f1d8e322f3d9ff
parent235b5b08ea3cb2743309d7d27b85d34387ee4b54
arm64: dts: ti: k3-j722s: Add gpio-reserved-ranges for main_gpio1

Commit ed07d82f9e3e8 ("arm64: dts: ti: k3-am62p-j722s: Move
SoC-specific node properties") introduced the main_gpio1 node
and included the ti,ngpio property, but did not include the
gpio-reserved-ranges property. As a result, the user could try
to access gpios that do not exist. Fix this by introducing the
gpio-reserved-ranges property.

The non-existent gpios are found in the am67x datasheet [1] in Table
5-27.

Depends on patch: dt-bindings: gpio: gpio-davinci: Add the
gpio-reserved-ranges property [2]

[1] https://www.ti.com/lit/ds/symlink/am67.pdf
[2] https://lore.kernel.org/all/20240809154638.394091-2-j-mcarthur@ti.com/

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