From a5389df5b9d4c8c73f8d8397654836aea3dae149 Mon Sep 17 00:00:00 2001 From: Junho Lee Date: Thu, 5 Dec 2024 17:14:12 +0900 Subject: [PATCH] boards: raspberrypi: rpi_5: Add RP1 GPIO support Enable GPIO pins on the Raspberry pi 5. Signed-off-by: Junho Lee --- boards/raspberrypi/rpi_5/doc/index.rst | 3 +++ boards/raspberrypi/rpi_5/rpi_5.dts | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/boards/raspberrypi/rpi_5/doc/index.rst b/boards/raspberrypi/rpi_5/doc/index.rst index ea3b3c4243a9..d503f573df35 100644 --- a/boards/raspberrypi/rpi_5/doc/index.rst +++ b/boards/raspberrypi/rpi_5/doc/index.rst @@ -41,6 +41,9 @@ The Raspberry Pi 5 board configuration supports the following hardware features: - N/A - :dtcompatible:`arm,gic-v2` * - GPIO + - :kconfig:option:`CONFIG_GPIO` + - :dtcompatible:`raspberrypi,rp1-gpio` + * - GPIO (Internal) - :kconfig:option:`CONFIG_GPIO` - :dtcompatible:`brcm,brcmstb-gpio` * - UART diff --git a/boards/raspberrypi/rpi_5/rpi_5.dts b/boards/raspberrypi/rpi_5/rpi_5.dts index 6fca0efd3d0c..adba94d94748 100644 --- a/boards/raspberrypi/rpi_5/rpi_5.dts +++ b/boards/raspberrypi/rpi_5/rpi_5.dts @@ -43,3 +43,7 @@ status = "okay"; current-speed = <115200>; }; + +&gpio0_0 { + status = "okay"; +};