summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-6.6/950-0872-ARM-dts-rp1-Boost-the-I2C-drive-strength.patch
blob: d4be8831317b9ceaa4e228f9a45d3446bf159f50 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
From 67700133ffb225ac2e816166bd10dedf30441524 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Wed, 31 Jan 2024 17:20:07 +0000
Subject: [PATCH 0872/1085] ARM: dts: rp1: Boost the I2C drive strength

Boosting the drive strength on I2C pins allows SCL to achieve safe
voltage swings, even at 1MHz.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
 arch/arm/boot/dts/broadcom/rp1.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

--- a/arch/arm/boot/dts/broadcom/rp1.dtsi
+++ b/arch/arm/boot/dts/broadcom/rp1.dtsi
@@ -650,66 +650,79 @@
 			rp1_i2c4_34_35: rp1_i2c4_34_35 {
 				function = "i2c4";
 				pins = "gpio34", "gpio35";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c6_38_39: rp1_i2c6_38_39 {
 				function = "i2c6";
 				pins = "gpio38", "gpio39";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c4_40_41: rp1_i2c4_40_41 {
 				function = "i2c4";
 				pins = "gpio40", "gpio41";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c5_44_45: rp1_i2c5_44_45 {
 				function = "i2c5";
 				pins = "gpio44", "gpio45";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c0_0_1: rp1_i2c0_0_1 {
 				function = "i2c0";
 				pins = "gpio0", "gpio1";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c0_8_9: rp1_i2c0_8_9 {
 				function = "i2c0";
 				pins = "gpio8", "gpio9";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c1_2_3: rp1_i2c1_2_3 {
 				function = "i2c1";
 				pins = "gpio2", "gpio3";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c1_10_11: rp1_i2c1_10_11 {
 				function = "i2c1";
 				pins = "gpio10", "gpio11";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c2_4_5: rp1_i2c2_4_5 {
 				function = "i2c2";
 				pins = "gpio4", "gpio5";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c2_12_13: rp1_i2c2_12_13 {
 				function = "i2c2";
 				pins = "gpio12", "gpio13";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c3_6_7: rp1_i2c3_6_7 {
 				function = "i2c3";
 				pins = "gpio6", "gpio7";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c3_14_15: rp1_i2c3_14_15 {
 				function = "i2c3";
 				pins = "gpio14", "gpio15";
+				drive-strength = <12>;
 				bias-pull-up;
 			};
 			rp1_i2c3_22_23: rp1_i2c3_22_23 {
 				function = "i2c3";
 				pins = "gpio22", "gpio23";
+				drive-strength = <12>;
 				bias-pull-up;
 			};