bd41b27508
hw/arm: Add memory region for BCM2837 RPiVid ASB
...
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Message-id: 20240226000259.2752893-13-sergey.kambalin@auriga.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2024-02-27 13:01:42 +00:00
bf1da4b308
hw/arm/raspi4b: Temporarily disable unimplemented rpi4b devices
...
This commit adds RPi4B device tree modifications:
- disable pcie, rng200, thermal sensor and genet devices
(they're going to be re-enabled in the following commits)
- create additional memory region in device tree
if RAM amount exceeds VC base address.
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Message-id: 20240226000259.2752893-12-sergey.kambalin@auriga.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2024-02-27 13:01:42 +00:00
7785e8ea22
hw/arm: Introduce Raspberry PI 4 machine
...
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Message-id: 20240226000259.2752893-11-sergey.kambalin@auriga.com
[PMM: Change name to 'raspi4b', not 'raspi4b-2g']
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2024-02-27 13:01:42 +00:00
08df067636
hw/arm/raspi: Split out raspi machine common part
...
Pre-setup for raspberry pi 4 introduction
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Message-id: 20240226000259.2752893-4-sergey.kambalin@auriga.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2024-02-27 13:01:42 +00:00
074259c0f2
hw/misc/bcm2835_property: Handle CORE_CLK_ID firmware property
...
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Message-id: 20230612223456.33824-5-philmd@linaro.org
Message-Id: <20230531155258.8361-1-sergey.kambalin@auriga.com >
[PMD: Split from bigger patch: 3/4]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org >
[PMM: added a comment about RPI_FIRMWARE_CORE_CLK_RATE
really being SoC-specific]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2023-06-19 15:27:21 +01:00
5dc496363a
hw/misc/bcm2835_property: Replace magic frequency values by definitions
...
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-id: 20230612223456.33824-4-philmd@linaro.org
Message-Id: <20230531155258.8361-1-sergey.kambalin@auriga.com >
[PMD: Split from bigger patch: 4/4]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2023-06-19 15:27:21 +01:00
0c201cc17f
Updated the FSF address to < https://www.gnu.org/licenses/ >
...
The Free Software Foundation moved to a new address and some
sources in QEMU referred to their old location.
The address should be updated and replaced by a pointer to
<https://www.gnu.org/licenses/ >
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/379
Signed-off-by: Khadija Kamran <kkamran.bese16seecs@seecs.edu.pk >
Message-Id: <576ee9203fdac99d7251a98faa66b9ce1e7febc5.1675941486.git.kkamran.bese16seecs@seecs.edu.pk >
Reviewed-by: Stefan Weil <sw@weilnetz.de >
Signed-off-by: Thomas Huth <thuth@redhat.com >
2023-02-27 09:15:39 +01:00
74de7145fd
hw/arm/raspi: fix CPRMAN base address
...
The CPRMAN (clock controller) was mapped at the watchdog/power manager
address. It was also split into two unimplemented peripherals (CM and
A2W) but this is really the same one, as shown by this extract of the
Raspberry Pi 3 Linux device tree:
watchdog@7e100000 {
compatible = "brcm,bcm2835-pm\0brcm,bcm2835-pm-wdt";
[...]
reg = <0x7e100000 0x114 0x7e00a000 0x24>;
[...]
};
[...]
cprman@7e101000 {
compatible = "brcm,bcm2835-cprman";
[...]
reg = <0x7e101000 0x2000>;
[...]
};
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Signed-off-by: Luc Michel <luc@lmichel.fr >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2020-10-27 11:10:44 +00:00
d8e53d7b2d
hw/arm/raspi: Define various blocks base addresses
...
The Raspberry firmware is closed-source. While running it, it
accesses various I/O registers. Logging these accesses as UNIMP
(unimplemented) help to understand what the firmware is doing
(ideally we want it able to boot a Linux kernel).
Document various blocks we might use later.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Luc Michel <luc.michel@greensocs.com >
Message-id: 20200921034729.432931-2-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2020-10-01 15:31:00 +01:00
d442d95f2f
hw/arm/bcm2835_peripherals: Use the thermal sensor block
...
Map the thermal sensor in the BCM2835 block.
Reviewed-by: Alistair Francis <alistair.francis@wdc.com >
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-id: 20191019234715.25750-3-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2019-10-25 13:09:27 +01:00
00cbd5bd74
hw/arm/bcm2835: Add various unimplemented peripherals
...
Base addresses and sizes taken from the "BCM2835 ARM Peripherals"
datasheet from February 06 2012:
https://www.raspberrypi.org/app/uploads/2012/02/BCM2835-ARM-Peripherals.pdf
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Alistair Francis <alistair.francis@wdc.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-id: 20190926173428.10713-6-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2019-10-15 18:09:05 +01:00
5cd436f950
hw/arm/bcm2835: Rename some definitions
...
The UART1 is part of the AUX peripheral,
the PCM_CLOCK (yet unimplemented) is part of the CPRMAN.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Alistair Francis <alistair.francis@wdc.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-id: 20190926173428.10713-5-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2019-10-15 18:09:05 +01:00
f91005e195
Supply missing header guards
...
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Message-Id: <20190604181618.19980-5-armbru@redhat.com >
2019-06-12 13:20:21 +02:00
7c62aeb82a
bcm2835_peripherals: add rollup device for bcm2835 peripherals
...
This device maintains all the non-CPU peripherals on bcm2835 (Pi1)
which are also present on bcm2836 (Pi2). It also implements the
private address spaces used for DMA and mailboxes.
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com >
Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com >
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2016-02-03 15:00:45 +00:00