dts: arm64: ti: ti_am62x_a53: Add MAIN_GPIO*

Currently only 32 lines are enabled in both, since the GPIO subsystem
does not support > 32 lines.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
This commit is contained in:
Ayush Singh 2025-06-04 16:35:55 +05:30 committed by Fabio Baltieri
commit 5aefdf3e60

View file

@ -9,6 +9,7 @@
#include <arm64/armv8-a.dtsi>
#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
#include <zephyr/dt-bindings/pinctrl/ti-k3-pinctrl.h>
#include <zephyr/dt-bindings/gpio/gpio.h>
/ {
#address-cells = <1>;
@ -186,4 +187,24 @@
#size-cells = <0>;
status = "disabled";
};
main_gpio0: gpio@600000 {
compatible = "ti,davinci-gpio";
reg = <0x00600000 0x100>;
gpio-controller;
#gpio-cells = <2>;
/* FIXME: Enable all 92 GPIOs */
ngpios = <32>;
status = "disabled";
};
main_gpio1: gpio@601000 {
compatible = "ti,davinci-gpio";
reg = <0x00601000 0x100>;
gpio-controller;
#gpio-cells = <2>;
/* FIXME: Enable all 52 GPIOs */
ngpios = <32>;
status = "disabled";
};
};