X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm2708%2Fpatches-4.19%2F950-0564-2711-Add-basic-64-bit-support.patch;fp=target%2Flinux%2Fbrcm2708%2Fpatches-4.19%2F950-0564-2711-Add-basic-64-bit-support.patch;h=892914befabf9d5527b879247bc847ac85882ea0;hb=c2308a7e4adbb2acc8ff149f91d1ca46801c135e;hp=0000000000000000000000000000000000000000;hpb=67dcc43f3a22dc3a7ac07a7065971b426feeb043;p=openwrt%2Fopenwrt.git diff --git a/target/linux/brcm2708/patches-4.19/950-0564-2711-Add-basic-64-bit-support.patch b/target/linux/brcm2708/patches-4.19/950-0564-2711-Add-basic-64-bit-support.patch new file mode 100644 index 0000000000..892914befa --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0564-2711-Add-basic-64-bit-support.patch @@ -0,0 +1,33 @@ +From 0e7db01b8ce2c2fb5596e7a9b7104e9947e5c269 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 8 Mar 2019 21:12:39 +0000 +Subject: [PATCH] 2711: Add basic 64-bit support + +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.) + +Signed-off-by: Phil Elwell +--- + 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 + +--- a/arch/arm64/boot/dts/broadcom/Makefile ++++ b/arch/arm64/boot/dts/broadcom/Makefile +@@ -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 +--- /dev/null ++++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts +@@ -0,0 +1,3 @@ ++#define RPI364 ++ ++#include "../../../../arm/boot/dts/bcm2711-rpi-4-b.dts"