Skip to content

Commit 2bd898f

Browse files
committed
pinctrl: Add Pi 5 support
Pi 5 uses the GPIO and pinmux features of RP1 as well as those of the BCM2712 SoC. Add support for all of those. Signed-off-by: Phil Elwell <[email protected]>
1 parent 9a7f4a3 commit 2bd898f

File tree

3 files changed

+1376
-1
lines changed

3 files changed

+1376
-1
lines changed

pinctrl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -pedantic")
77
project(pinctrl)
88

99
#add executables
10-
add_executable(pinctrl pinctrl.c gpiolib.c util.c gpiochip_bcm2835.c)
10+
add_executable(pinctrl pinctrl.c gpiolib.c util.c gpiochip_bcm2835.c gpiochip_bcm2712.c gpiochip_rp1.c)
1111
install(TARGETS pinctrl RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
1212
install(FILES pinctrl-completion.bash RENAME pinctrl DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/bash-completion/completions")

0 commit comments

Comments
 (0)