From: Andrei Gherzan <and...@balena.io> This PR consolidates the work we've done to support the new Raspberry Pi 4 board. It also includes commits from https://github.com/mbgg/u-boot.git (credits to Matthias Brugger).
Andrei Gherzan (13): dts: Create a dtsi for BCM2835/6/7 specific configuration dts: Add initial support for bcm2838 arm: mach-bcm283x: Define configs for RaspberryPi 4 arm: mach-bcm283x: Define mbox address for BCM2838 rpi: Add rpi_model entry for RaspberryPi 4 dt-bindings: Define BCM2838_CLOCK_EMMC2 needed for RaspberryPi 4 arm: bcm283x: Include definition for additional emmc clock arm: bcm283x: Define device base addresses for bcm2835 config: rpi4: Add defconfig for rpi4-32 dts: bcm2838-rpi-4-b: Use the emmc2 interface for sdhci rpi: Add memory map for bcm2838 configs: rpi4: Remove DWC2 and USB_ETHER configs dts: bcm2838-rpi-4-b: Use the emmc2/2811 compatible string for SDHCI Fabian Vogt (2): bcm2835 video: Bail out early if querying video information fails bcm283x mbox: Correctly wait for space to send Matthias Brugger (1): mmc: bcm2835_sdhci: Add support for bcm2711 device arch/arm/dts/Makefile | 4 +- arch/arm/dts/bcm2835-common.dtsi | 53 +++++ arch/arm/dts/bcm2835.dtsi | 1 + arch/arm/dts/bcm2836.dtsi | 1 + arch/arm/dts/bcm2837.dtsi | 1 + arch/arm/dts/bcm2838-rpi-4-b.dts | 52 +++++ arch/arm/dts/bcm2838.dtsi | 237 +++++++++++++++++++++ arch/arm/dts/bcm283x.dtsi | 45 +--- arch/arm/mach-bcm283x/Kconfig | 35 +++ arch/arm/mach-bcm283x/include/mach/mbox.h | 13 +- arch/arm/mach-bcm283x/include/mach/sdhci.h | 4 + arch/arm/mach-bcm283x/include/mach/timer.h | 4 + arch/arm/mach-bcm283x/include/mach/wdog.h | 4 + arch/arm/mach-bcm283x/mbox.c | 6 +- board/raspberrypi/rpi/rpi.c | 32 ++- configs/rpi_4_32b_defconfig | 40 ++++ configs/rpi_4_defconfig | 3 - drivers/mmc/bcm2835_sdhci.c | 12 +- drivers/video/bcm2835.c | 4 +- include/dt-bindings/clock/bcm2835.h | 2 + 20 files changed, 494 insertions(+), 59 deletions(-) create mode 100644 arch/arm/dts/bcm2835-common.dtsi create mode 100644 arch/arm/dts/bcm2838-rpi-4-b.dts create mode 100644 arch/arm/dts/bcm2838.dtsi create mode 100644 configs/rpi_4_32b_defconfig -- 2.22.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot