hw/arm: Connect SPI Controller to BCM2835
authorRayhan Faizel <rayhan.faizel@gmail.com>
Mon, 29 Jan 2024 22:18:08 +0000 (03:48 +0530)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:59 +0000 (13:51 +0000)
commitf09c2b7ba9908714a3e2f1decd989462536cf731
treea381c8fb67ab0f1f9470882b6a8e23b148707e03
parent28004fb741343b77b1044a0f01d27d8b36b59651
hw/arm: Connect SPI Controller to BCM2835

This patch will allow the SPI controller to be accessible from BCM2835 based
boards as SPI0. SPI driver is usually disabled by default and config.txt does
not work.

Instead, dtmerge can be used to apply spi=on on a bcm2835 dtb file.

Signed-off-by: Rayhan Faizel <rayhan.faizel@gmail.com>
Message-id: 20240129221807.2983148-3-rayhan.faizel@gmail.com
[PMM: indent tweak]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/Kconfig
hw/arm/bcm2835_peripherals.c
include/hw/arm/bcm2835_peripherals.h