ath79: add support for COMFAST CF-E130N v2
[openwrt/staging/luka.git] / target / linux / bcm27xx / patches-4.19 / 950-0562-2711-Add-basic-64-bit-support.patch
1 From 0e7db01b8ce2c2fb5596e7a9b7104e9947e5c269 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Fri, 8 Mar 2019 21:12:39 +0000
4 Subject: [PATCH] 2711: Add basic 64-bit support
5
6 This commit adds initial support for 64-bit 2711 builds. However,
7 it will only work as much as it does if the Pi4 RAM is limited to
8 1GB - more than that and several things break (SD card, coherent
9 allocations, etc.)
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
12 ---
13 arch/arm64/boot/dts/broadcom/Makefile | 1 +
14 .../boot/dts/broadcom/bcm2711-rpi-4-b.dts | 3 +
15 3 files changed, 1295 insertions(+)
16 create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts
17
18 --- a/arch/arm64/boot/dts/broadcom/Makefile
19 +++ b/arch/arm64/boot/dts/broadcom/Makefile
20 @@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rp
21 bcm2837-rpi-3-b-plus.dtb
22 dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-3-b.dtb
23 dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb
24 +dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-4-b.dtb
25 dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b-plus.dtb
26 dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-cm3.dtb
27 dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-cm3.dtb
28 --- /dev/null
29 +++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts
30 @@ -0,0 +1,3 @@
31 +#define RPI364
32 +
33 +#include "../../../../arm/boot/dts/bcm2711-rpi-4-b.dts"