ARM: dts: rp1: Boost the I2C drive strength
authorPhil Elwell <phil@raspberrypi.com>
Wed, 31 Jan 2024 17:20:07 +0000 (17:20 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:35 +0000 (11:35 +0000)
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

index 46f80a7..00e5c4c 100644 (file)
                        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;
                        };