bcm27xx: update 6.1 patches from RPi foundation
[openwrt/staging/xback.git] / target / linux / bcm27xx / patches-6.1 / 950-1263-ARM-dts-rp1-Boost-the-I2C-drive-strength.patch
1 From ea9b088747d379256e2582dd5c29638bf4ff9928 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Wed, 31 Jan 2024 17:20:07 +0000
4 Subject: [PATCH 1263/1295] ARM: dts: rp1: Boost the I2C drive strength
5
6 Boosting the drive strength on I2C pins allows SCL to achieve safe
7 voltage swings, even at 1MHz.
8
9 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
10 ---
11 arch/arm/boot/dts/rp1.dtsi | 13 +++++++++++++
12 1 file changed, 13 insertions(+)
13
14 --- a/arch/arm/boot/dts/rp1.dtsi
15 +++ b/arch/arm/boot/dts/rp1.dtsi
16 @@ -650,66 +650,79 @@
17 rp1_i2c4_34_35: rp1_i2c4_34_35 {
18 function = "i2c4";
19 pins = "gpio34", "gpio35";
20 + drive-strength = <12>;
21 bias-pull-up;
22 };
23 rp1_i2c6_38_39: rp1_i2c6_38_39 {
24 function = "i2c6";
25 pins = "gpio38", "gpio39";
26 + drive-strength = <12>;
27 bias-pull-up;
28 };
29 rp1_i2c4_40_41: rp1_i2c4_40_41 {
30 function = "i2c4";
31 pins = "gpio40", "gpio41";
32 + drive-strength = <12>;
33 bias-pull-up;
34 };
35 rp1_i2c5_44_45: rp1_i2c5_44_45 {
36 function = "i2c5";
37 pins = "gpio44", "gpio45";
38 + drive-strength = <12>;
39 bias-pull-up;
40 };
41 rp1_i2c0_0_1: rp1_i2c0_0_1 {
42 function = "i2c0";
43 pins = "gpio0", "gpio1";
44 + drive-strength = <12>;
45 bias-pull-up;
46 };
47 rp1_i2c0_8_9: rp1_i2c0_8_9 {
48 function = "i2c0";
49 pins = "gpio8", "gpio9";
50 + drive-strength = <12>;
51 bias-pull-up;
52 };
53 rp1_i2c1_2_3: rp1_i2c1_2_3 {
54 function = "i2c1";
55 pins = "gpio2", "gpio3";
56 + drive-strength = <12>;
57 bias-pull-up;
58 };
59 rp1_i2c1_10_11: rp1_i2c1_10_11 {
60 function = "i2c1";
61 pins = "gpio10", "gpio11";
62 + drive-strength = <12>;
63 bias-pull-up;
64 };
65 rp1_i2c2_4_5: rp1_i2c2_4_5 {
66 function = "i2c2";
67 pins = "gpio4", "gpio5";
68 + drive-strength = <12>;
69 bias-pull-up;
70 };
71 rp1_i2c2_12_13: rp1_i2c2_12_13 {
72 function = "i2c2";
73 pins = "gpio12", "gpio13";
74 + drive-strength = <12>;
75 bias-pull-up;
76 };
77 rp1_i2c3_6_7: rp1_i2c3_6_7 {
78 function = "i2c3";
79 pins = "gpio6", "gpio7";
80 + drive-strength = <12>;
81 bias-pull-up;
82 };
83 rp1_i2c3_14_15: rp1_i2c3_14_15 {
84 function = "i2c3";
85 pins = "gpio14", "gpio15";
86 + drive-strength = <12>;
87 bias-pull-up;
88 };
89 rp1_i2c3_22_23: rp1_i2c3_22_23 {
90 function = "i2c3";
91 pins = "gpio22", "gpio23";
92 + drive-strength = <12>;
93 bias-pull-up;
94 };
95