408fe54f1fdb52e0222d3b3ebf4d36ac47751eb4
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.10 / 950-0608-dtoverlays-Add-pinctrl-names-to-i2c0-overlay.patch
1 From 26715b72c201ab22e44698505969078520bddce0 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Wed, 12 May 2021 16:44:11 +0100
4 Subject: [PATCH] dtoverlays: Add pinctrl-names to i2c0 overlay.
5
6 Using dtoverlay=i2c0 failed to set up the pinctrl nodes as
7 pinctrl-name = "default"; was missing from the i2c0if node.
8
9 https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=311686&p=1864112
10
11 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/overlays/i2c0-overlay.dts | 1 +
14 1 file changed, 1 insertion(+)
15
16 --- a/arch/arm/boot/dts/overlays/i2c0-overlay.dts
17 +++ b/arch/arm/boot/dts/overlays/i2c0-overlay.dts
18 @@ -8,6 +8,7 @@
19 target = <&i2c0if>;
20 __overlay__ {
21 status = "okay";
22 + pinctrl-names = "default";
23 pinctrl-0 = <&i2c0_pins>;
24 };
25 };