immortalwrt/target/linux/bcm27xx/patches-4.19/950-0562-2711-Add-basic-64-bit-support.patch

34 lines
1.3 KiB
Diff
Raw Normal View History

From 0e7db01b8ce2c2fb5596e7a9b7104e9947e5c269 Mon Sep 17 00:00:00 2001
2019-07-16 17:39:17 +08:00
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 8 Mar 2019 21:12:39 +0000
Subject: [PATCH] 2711: Add basic 64-bit support
2017-09-06 19:19:45 +08:00
2019-07-16 17:39:17 +08:00
This commit adds initial support for 64-bit 2711 builds. However,
it will only work as much as it does if the Pi4 RAM is limited to
1GB - more than that and several things break (SD card, coherent
allocations, etc.)
2017-09-06 19:19:45 +08:00
2019-07-16 17:39:17 +08:00
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
2017-09-06 19:19:45 +08:00
---
2019-07-16 17:39:17 +08:00
arch/arm64/boot/dts/broadcom/Makefile | 1 +
.../boot/dts/broadcom/bcm2711-rpi-4-b.dts | 3 +
3 files changed, 1295 insertions(+)
create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts
2017-09-06 19:19:45 +08:00
--- a/arch/arm64/boot/dts/broadcom/Makefile
+++ b/arch/arm64/boot/dts/broadcom/Makefile
2019-07-16 17:39:17 +08:00
@@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rp
bcm2837-rpi-3-b-plus.dtb
dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-3-b.dtb
dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb
+dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-4-b.dtb
dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b-plus.dtb
dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-cm3.dtb
dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-cm3.dtb
2017-09-06 19:19:45 +08:00
--- /dev/null
2019-07-16 17:39:17 +08:00
+++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts
2017-09-06 19:19:45 +08:00
@@ -0,0 +1,3 @@
+#define RPI364
+
2019-07-16 17:39:17 +08:00
+#include "../../../../arm/boot/dts/bcm2711-rpi-4-b.dts"