aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.10/950-0608-dtoverlays-Add-pinctrl-names-to-i2c0-overlay.patch
blob: 408fe54f1fdb52e0222d3b3ebf4d36ac47751eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 26715b72c201ab22e44698505969078520bddce0 Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Wed, 12 May 2021 16:44:11 +0100
Subject: [PATCH] dtoverlays: Add pinctrl-names to i2c0 overlay.

Using dtoverlay=i2c0 failed to set up the pinctrl nodes as
pinctrl-name = "default"; was missing from the i2c0if node.

https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=311686&p=1864112

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
 arch/arm/boot/dts/overlays/i2c0-overlay.dts | 1 +
 1 file changed, 1 insertion(+)

--- a/arch/arm/boot/dts/overlays/i2c0-overlay.dts
+++ b/arch/arm/boot/dts/overlays/i2c0-overlay.dts
@@ -8,6 +8,7 @@
 		target = <&i2c0if>;
 		__overlay__ {
 			status = "okay";
+			pinctrl-names = "default";
 			pinctrl-0 = <&i2c0_pins>;
 		};
 	};