Skip to content

Commit

Permalink
Add a GPIO driver for the Arm pl061 controller
Browse files Browse the repository at this point in the history
A PL061 is a simple 8 pin GPIO controller. This GPIO device is used to
signal an internal request for shutdown on some virtual machines including
Arm-based Amazon EC2 instances.

Submitted by:	Ali Saidi <alisaidi_amazon.com> (previouss version)
Reviewed by:	Ali Saidi, manu
Differential Revision:	https://reviews.freebsd.org/D24065
  • Loading branch information
zxombie committed Sep 8, 2020
1 parent 30fe2bb commit 1fc1a22
Show file tree
Hide file tree
Showing 6 changed files with 843 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys/arm64/conf/GENERIC
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ device gpioregulator
device ls1046_gpio # LS1046A GPIO controller
device mv_gpio # Marvell GPIO controller
device mvebu_pinctrl # Marvell Pinmux Controller
device pl061 # Arm PL061 GPIO controller
device rk_gpio # RockChip GPIO Controller
device rk_pinctrl # RockChip Pinmux Controller

Expand Down
3 changes: 3 additions & 0 deletions sys/conf/files.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ dev/iicbus/sy8106a.c optional sy8106a fdt
dev/iicbus/twsi/mv_twsi.c optional twsi fdt
dev/iicbus/twsi/a10_twsi.c optional twsi fdt
dev/iicbus/twsi/twsi.c optional twsi fdt
dev/gpio/pl061.c optional pl061 gpio
dev/gpio/pl061_acpi.c optional pl061 gpio acpi
dev/gpio/pl061_fdt.c optional pl061 gpio fdt
dev/hwpmc/hwpmc_arm64.c optional hwpmc
dev/hwpmc/hwpmc_arm64_md.c optional hwpmc
dev/mbox/mbox_if.m optional soc_brcm_bcm2837
Expand Down

0 comments on commit 1fc1a22

Please sign in to comment.