mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
47 lines
1.5 KiB
Diff
47 lines
1.5 KiB
Diff
From a63147794f18db239bde3189611d251131111414 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 16 Oct 2023 09:06:25 +0100
|
|
Subject: [PATCH 0673/1085] dts: bcm2712: Set default I2C baudrates to 100kHz
|
|
|
|
The RP1 I2C interfaces were being left with their default clock rates,
|
|
apparently 400kHz.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/broadcom/bcm2712-rpi-5-b.dts | 2 ++
|
|
arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi | 2 ++
|
|
2 files changed, 4 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/broadcom/bcm2712-rpi-5-b.dts
|
|
+++ b/arch/arm/boot/dts/broadcom/bcm2712-rpi-5-b.dts
|
|
@@ -250,11 +250,13 @@ i2c0mux: &rp1_gpio {};
|
|
i2c_csi_dsi0: &i2c6 { // Note: This is for MIPI0 connector only
|
|
pinctrl-0 = <&rp1_i2c6_38_39>;
|
|
pinctrl-names = "default";
|
|
+ clock-frequency = <100000>;
|
|
};
|
|
|
|
i2c_csi_dsi1: &i2c4 { // Note: This is for MIPI1 connector only
|
|
pinctrl-0 = <&rp1_i2c4_40_41>;
|
|
pinctrl-names = "default";
|
|
+ clock-frequency = <100000>;
|
|
};
|
|
|
|
i2c_csi_dsi: &i2c_csi_dsi1 { }; // An alias for compatibility
|
|
--- a/arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi
|
|
+++ b/arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi
|
|
@@ -204,11 +204,13 @@ uart4: &rp1_uart4 { };
|
|
i2c_vc: &i2c0 { // This is pins 27,28 on the header (not MIPI)
|
|
pinctrl-0 = <&rp1_i2c0_0_1>;
|
|
pinctrl-names = "default";
|
|
+ clock-frequency = <100000>;
|
|
};
|
|
|
|
i2c_arm: &i2c1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&rp1_i2c1_2_3>;
|
|
+ clock-frequency = <100000>;
|
|
};
|
|
|
|
&i2c2 {
|