bcm27xx: add support for linux v5.15
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.15 / 950-0876-ARM-dts-Add-i2c0mux-node-to-Model-B-rev-1.patch
1 From 3b6b57200f089c75b7434d61f9037f622b99c115 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Tue, 19 Apr 2022 19:57:29 +0100
4 Subject: [PATCH] ARM: dts: Add i2c0mux node to Model B rev 1
5
6 The lack of an i2c0mux label prevents the i2c-rtc overlay from
7 being applied.
8
9 See: https://github.com/raspberrypi/linux/issues/4999
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/bcm2708-rpi-b-rev1.dts | 4 ++++
14 1 file changed, 4 insertions(+)
15
16 --- a/arch/arm/boot/dts/bcm2708-rpi-b-rev1.dts
17 +++ b/arch/arm/boot/dts/bcm2708-rpi-b-rev1.dts
18 @@ -154,6 +154,10 @@ i2c_csi_dsi: &i2c1 {
19 i2c0 = &i2c0;
20 };
21
22 + /* Provide an i2c0mux label to avoid undefined symbols in overlays */
23 + i2c0mux: i2c0mux {
24 + };
25 +
26 __overrides__ {
27 i2c0 = <&i2c0>, "status";
28 };