openwrt/target/linux/bcm27xx/patches-5.10/950-0463-bcm2711-Disable-bsc_intr-and-aon_intr-by-default-and.patch
Álvaro Fernández Rojas 8299d1f057 bcm27xx: add kernel 5.10 support
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted
patches, wireless patches and defconfig patches.

bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 4B v1.1 4G
bcm2711: boot tested on RPi 4B v1.1 4G

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-08-21 19:07:07 +02:00

39 lines
1.0 KiB
Diff

From 8c11d9b768c6753f045e8669a9d90bb008874b4b Mon Sep 17 00:00:00 2001
From: Dom Cobley <popcornmix@gmail.com>
Date: Wed, 9 Dec 2020 16:37:01 +0000
Subject: [PATCH] bcm2711: Disable bsc_intr and aon_intr by default and
enable in overlay
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
---
arch/arm/boot/dts/bcm2711.dtsi | 2 ++
.../boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts | 14 ++++++++++++++
2 files changed, 16 insertions(+)
--- a/arch/arm/boot/dts/bcm2711.dtsi
+++ b/arch/arm/boot/dts/bcm2711.dtsi
@@ -314,6 +314,7 @@
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <1>;
+ status = "disabled";
};
hdmi0: hdmi@7ef00700 {
--- a/arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts
+++ b/arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts
@@ -166,6 +166,13 @@
};
};
+ fragment@24 {
+ target = <&aon_intr>;
+ __overlay__ {
+ status = "okay";
+ };
+ };
+
__overrides__ {
audio = <0>,"!17";
audio1 = <0>,"!18";