]> git.dujemihanovic.xyz Git - u-boot.git/commit
rpi5: Use devicetree as alternative way to read IO base addresses
authorDmitry Malkin <dmitry@bedrocksystems.com>
Tue, 23 Jan 2024 08:07:54 +0000 (10:07 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 30 Jan 2024 16:39:39 +0000 (17:39 +0100)
commit60878e753c3d37ddc974c0de9da643850df175b6
tree450885f786880411f60d9cbcbbc2152fcb9d565f
parenta5a27eafc422b7a57de904b73152fc9a860c7640
rpi5: Use devicetree as alternative way to read IO base addresses

MBOX and Watchdog on RPi5/bcm2712 have a different base IO offsets.
Find them via devicetree blob passed by bootloader.

Signed-off-by: Dmitry Malkin <dmitry@bedrocksystems.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Tested-by: Jens Maus <mail@jens-maus.de>
Tested-by: Darko Alavanja <darko.alavanja@konsulko.com>
Signed-off-by: Ivan T. Ivanov <iivanov@suse.de>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
arch/arm/mach-bcm283x/include/mach/base.h
arch/arm/mach-bcm283x/include/mach/mbox.h
arch/arm/mach-bcm283x/include/mach/sdhci.h
arch/arm/mach-bcm283x/include/mach/timer.h
arch/arm/mach-bcm283x/include/mach/wdog.h
arch/arm/mach-bcm283x/init.c