opnsense-src/sys/arm/broadcom/bcm2835
Tetsuya Uemura 9d35469e9a bcm2835_gpio: Handle BCM2711 pin configuration
Add support for GPIO internal pull up/down configuration on RPi4 family.

BCM2711 SoC on 4th generation Raspberry Pi changed the way to configure
its GPIO pins' internal pull up/down resistors. NetBSD already have
support for this change, and port it to FreeBSD is trivial.

This patch, based on the NetBSD commit adds the appropriate method for
BCM2711 and now we can properly configure the GPIO pins' pull status.

PR:		256372
Reviewed by:	mhorne
Obtained from:	NetBSD bb88cfa64ad8
Pull Request:	https://github.com/freebsd/freebsd-src/pull/746
2023-05-29 15:47:12 -03:00
..
bcm283x_dwc_fdt.c arm/arm64 broadcom: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
bcm2835_audio.c Remove pcm_devclass from DRIVER_MODULE invocations. 2022-05-06 15:46:56 -07:00
bcm2835_bsc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_bscreg.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_bscvar.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_clkman.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_clkman.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_cpufreq.c arm/arm64 broadcom: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
bcm2835_dma.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_dma.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_fb.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_fbd.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_firmware.c arm/arm64 broadcom: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
bcm2835_firmware.h Aadd Raspberry Pi firmware messages to manage GPIOs 2020-07-28 11:13:37 +00:00
bcm2835_ft5406.c arm/arm64 broadcom: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
bcm2835_gpio.c bcm2835_gpio: Handle BCM2711 pin configuration 2023-05-29 15:47:12 -03:00
bcm2835_intr.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_mbox.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_mbox.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_mbox_prop.h arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_pwm.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_rng.c arm/arm64 broadcom: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
bcm2835_sdhci.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_sdhost.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_spi.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_spireg.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_spivar.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_systimer.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_vcbus.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_vcbus.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_vcio.c Remove some NULL checks after M_WAITOK allocations from sys/arm/. 2016-08-09 16:02:35 +00:00
bcm2835_wdog.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2835_wdog.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bcm2836.c arm: remove passing trapframe to intr_ipi_dispatch() 2023-04-26 20:08:30 +01:00
bcm2836_mp.c Change leading spaces to tabs, no functional change. 2017-09-02 19:22:16 +00:00
bcm2836_mp.h Remove "all rights reserved" from copyright for the file I own. 2019-12-03 21:00:45 +00:00
bcm2838_pci.c Remove redundant data from pci host generic 2023-04-24 12:33:50 +01:00
bcm2838_xhci.c arm/arm64 broadcom: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
files.bcm283x Handle Raspberry Pi 4 xhci firmware loading. 2020-08-03 10:19:50 +00:00
files.bcm2835 Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00
files.bcm2836 Create device options for the two common ARM timers. 2015-11-21 16:23:56 +00:00
raspberrypi_gpio.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
std.bcm2835 Add the SOC_BCM2835 and SOC_BCM2836 options for the arm kernel and add the 2015-03-24 18:46:01 +00:00
std.bcm2836 Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
std.rpi Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
vc_vchi_audioserv_defs.h Add VideoCore audio driver for Rasperry Pi (BCM2835) 2015-02-08 01:12:40 +00:00