bcm27xx: add kernel 5.10 support
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.10 / 950-0609-dtoverlays-Update-__symbols__-i2c0-from-i2c0-overlay.patch
1 From a21652bfb50b240936124de0dbc288418106e5de Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Wed, 12 May 2021 16:47:05 +0100
4 Subject: [PATCH] dtoverlays: Update /__symbols__/i2c0 from i2c0
5 overlay
6
7 Update the symbol as well as the alias so that other overlays will
8 then be applied against the right node.
9
10 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
11 ---
12 arch/arm/boot/dts/overlays/i2c0-overlay.dts | 8 ++++++++
13 1 file changed, 8 insertions(+)
14
15 --- a/arch/arm/boot/dts/overlays/i2c0-overlay.dts
16 +++ b/arch/arm/boot/dts/overlays/i2c0-overlay.dts
17 @@ -65,6 +65,14 @@
18 i2c0 = "/soc/i2c@7e205000";
19 };
20 };
21 +
22 + fragment@8 {
23 + target-path = "/__symbols__";
24 + __overlay__ {
25 + i2c0 = "/soc/i2c@7e205000";
26 + };
27 + };
28 +
29 __overrides__ {
30 pins_0_1 = <0>,"+1-2-3-4";
31 pins_28_29 = <0>,"-1+2-3-4";