bcm27xx: switch to 5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.10 / 950-0452-ARM-dts-Declare-Pi400-and-CM4-have-no-audio-pins.patch
1 From a3028b49ed28dfcd27fb12dd811ef5572fc80c30 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Wed, 3 Feb 2021 16:23:43 +0000
4 Subject: [PATCH] ARM: dts: Declare Pi400 and CM4 have no audio pins
5
6 The audio_pins node is left as a placeholder for the audremap overlay,
7 and it must have (empty) brcm,function and brcm,pins properties
8 otherwise it will be rejected by the pinctrl driver.
9
10 See: https://www.raspberrypi.org/forums/viewtopic.php?f=98&t=301891
11
12 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
13 ---
14 arch/arm/boot/dts/bcm2711-rpi-400.dts | 4 ++--
15 arch/arm/boot/dts/bcm2711-rpi-cm4.dts | 2 ++
16 2 files changed, 4 insertions(+), 2 deletions(-)
17
18 --- a/arch/arm/boot/dts/bcm2711-rpi-400.dts
19 +++ b/arch/arm/boot/dts/bcm2711-rpi-400.dts
20 @@ -565,8 +565,8 @@
21
22 &gpio {
23 audio_pins: audio_pins {
24 - brcm,pins = <40 41>;
25 - brcm,function = <4>;
26 + brcm,pins = <>;
27 + brcm,function = <>;
28 };
29 };
30
31 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4.dts
32 +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4.dts
33 @@ -556,6 +556,8 @@
34
35 &gpio {
36 audio_pins: audio_pins {
37 + brcm,pins = <>;
38 + brcm,function = <>;
39 };
40 };
41