1 From 9731e002f651c0b386137105c8d91d198b73b721 Mon Sep 17 00:00:00 2001
2 From: Michael Zoran <mzoran@crowfest.net>
3 Date: Wed, 24 Aug 2016 03:35:56 -0700
4 Subject: [PATCH] Add arm64 configuration and device tree differences.
5 Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing
8 ARM64: Modify default config to get raspbian to boot (#1686)
10 1. Enable emulation of deprecated instructions.
11 2. Enable ARM 8.1 and 8.2 features which are not detected at runtime.
12 3. Switch the default governer to powersave.
13 4. Include the watchdog timer driver in the kernel image rather then a module.
15 Tested with raspbian-jessie 2016-09-23.
17 ARM64: Make it work again on 4.9 (#1790)
19 * Invoke the dtc compiler with the same options used in arm mode.
20 * ARM64 now uses the bcm2835 platform just like ARM32.
21 * ARM64: Update bcmrpi3_defconfig
23 Signed-off-by: Michael Zoran <mzoran@crowfest.net>
25 Update arm64 Makefile to compile bcm2710 dtb file
27 The line 'dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb' has been copied from previous rpi-4.14.y version into rpi-4.15.y arch/arm64/boot/dts/broadcom/Makefile to restore compilation of bcm2710-rpi-3-b.dtb device tree blob under 'make ARCH=arm64 dtbs' command.
29 arm64: enable thermal / enable mmc (#2425)
31 This commit adds support for RP3-B-Plus in in arch arm64 (#2464)
33 Enable AES, AES bit slice, and AES NEON engines on arm64
35 Enable bbr module for arm64
37 arch/arm64/Kconfig.platforms | 6 -
38 arch/arm64/boot/dts/Makefile | 2 +
39 arch/arm64/boot/dts/broadcom/Makefile | 3 +
40 .../dts/broadcom/bcm2710-rpi-3-b-plus.dts | 3 +
41 .../boot/dts/broadcom/bcm2710-rpi-3-b.dts | 3 +
42 .../dts/broadcom/bcm283x-rpi-lan7515.dtsi | 1 +
43 arch/arm64/boot/dts/overlays | 1 +
44 8 files changed, 1302 insertions(+), 6 deletions(-)
45 create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts
46 create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dts
47 create mode 120000 arch/arm64/boot/dts/broadcom/bcm283x-rpi-lan7515.dtsi
48 create mode 120000 arch/arm64/boot/dts/overlays
50 diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
51 index 393d2b524284..e9bdec0ead72 100644
52 --- a/arch/arm64/Kconfig.platforms
53 +++ b/arch/arm64/Kconfig.platforms
55 menu "Platform selection"
58 - bool "Actions Semi Platforms"
61 - This enables support for the Actions Semiconductor S900 SoC family.
64 bool "Allwinner sunxi 64-bit SoC Family"
65 select ARCH_HAS_RESET_CONTROLLER
66 diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile
67 index 4690364d584b..cd9c79566ebe 100644
68 --- a/arch/arm64/boot/dts/Makefile
69 +++ b/arch/arm64/boot/dts/Makefile
70 @@ -26,3 +26,5 @@ subdir-y += synaptics
76 diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile
77 index 1193a9e34bbb..78d23305bc31 100644
78 --- a/arch/arm64/boot/dts/broadcom/Makefile
79 +++ b/arch/arm64/boot/dts/broadcom/Makefile
81 # SPDX-License-Identifier: GPL-2.0
82 dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rpi-3-b.dtb \
83 bcm2837-rpi-3-b-plus.dtb
84 +dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-3-b.dtb
85 +dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb
86 +dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b-plus.dtb
88 subdir-y += northstar2
90 diff --git a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts
92 index 000000000000..d9242ff77079
94 +++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts
98 +#include "../../../../arm/boot/dts/bcm2710-rpi-3-b-plus.dts"
99 diff --git a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dts b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dts
101 index 000000000000..deb33441da95
103 +++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dts
107 +#include "../../../../arm/boot/dts/bcm2710-rpi-3-b.dts"
108 diff --git a/arch/arm64/boot/dts/broadcom/bcm283x-rpi-lan7515.dtsi b/arch/arm64/boot/dts/broadcom/bcm283x-rpi-lan7515.dtsi
110 index 000000000000..fc4c05bbe7fd
112 +++ b/arch/arm64/boot/dts/broadcom/bcm283x-rpi-lan7515.dtsi
114 +../../../../arm/boot/dts/bcm283x-rpi-lan7515.dtsi
115 \ No newline at end of file
116 diff --git a/arch/arm64/boot/dts/overlays b/arch/arm64/boot/dts/overlays
118 index 000000000000..ded08646b6f6
120 +++ b/arch/arm64/boot/dts/overlays
122 +../../../arm/boot/dts/overlays
123 \ No newline at end of file