[PATCH 2/3] arm64: dts: renesas: r9a09g047: Add missing I2C clock-frequency

Tommaso Merciai <[email protected]> Mon, 3 Aug 2026 15:28:25 +0200
Newsgroups org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound
Message-ID <[email protected]>
clock-frequency is a required property of the renesas,riic binding, but
it is not set in any of the I2C nodes, so dtbs_check fails on boards
that enable an I2C controller without providing a rate:

  r9a09g047e57-smarc.dtb: i2c@14400800 (renesas,riic-r9a09g047):
  'clock-frequency' is a required property

Add the standard mode rate (100 kHz) to all I2C nodes. Boards that
need a faster bus can still override it.

Signed-off-by: Tommaso Merciai <[email protected]>
---
 arch/arm64/boot/dts/renesas/r9a09g047.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a09g047.dtsi b/arch/arm64/boot/dts/renesas/r9a09g047.dtsi
index 73757e8e2197..b9a707f04004 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g047.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a09g047.dtsi
@@ -1538,6 +1538,7 @@ i2c0: i2c@14400400 {
 			interrupt-names = "tei", "ri", "ti", "spi", "sti",
 					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD 0x94>;
+			clock-frequency = <100000>;
 			resets = <&cpg 0x98>;
 			power-domains = <&cpg>;
 			#address-cells = <1>;
@@ -1559,6 +1560,7 @@ i2c1: i2c@14400800 {
 			interrupt-names = "tei", "ri", "ti", "spi", "sti",
 					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD 0x95>;
+			clock-frequency = <100000>;
 			resets = <&cpg 0x99>;
 			power-domains = <&cpg>;
 			#address-cells = <1>;
@@ -1580,6 +1582,7 @@ i2c2: i2c@14400c00 {
 			interrupt-names = "tei", "ri", "ti", "spi", "sti",
 					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD 0x96>;
+			clock-frequency = <100000>;
 			resets = <&cpg 0x9a>;
 			power-domains = <&cpg>;
 			#address-cells = <1>;
@@ -1601,6 +1604,7 @@ i2c3: i2c@14401000 {
 			interrupt-names = "tei", "ri", "ti", "spi", "sti",
 					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD 0x97>;
+			clock-frequency = <100000>;
 			resets = <&cpg 0x9b>;
 			power-domains = <&cpg>;
 			#address-cells = <1>;
@@ -1622,6 +1626,7 @@ i2c4: i2c@14401400 {
 			interrupt-names = "tei", "ri", "ti", "spi", "sti",
 					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD 0x98>;
+			clock-frequency = <100000>;
 			resets = <&cpg 0x9c>;
 			power-domains = <&cpg>;
 			#address-cells = <1>;
@@ -1643,6 +1648,7 @@ i2c5: i2c@14401800 {
 			interrupt-names = "tei", "ri", "ti", "spi", "sti",
 					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD 0x99>;
+			clock-frequency = <100000>;
 			resets = <&cpg 0x9d>;
 			power-domains = <&cpg>;
 			#address-cells = <1>;
@@ -1664,6 +1670,7 @@ i2c6: i2c@14401c00 {
 			interrupt-names = "tei", "ri", "ti", "spi", "sti",
 					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD 0x9a>;
+			clock-frequency = <100000>;
 			resets = <&cpg 0x9e>;
 			power-domains = <&cpg>;
 			#address-cells = <1>;
@@ -1685,6 +1692,7 @@ i2c7: i2c@14402000 {
 			interrupt-names = "tei", "ri", "ti", "spi", "sti",
 					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD 0x9b>;
+			clock-frequency = <100000>;
 			resets = <&cpg 0x9f>;
 			power-domains = <&cpg>;
 			#address-cells = <1>;
@@ -1706,6 +1714,7 @@ i2c8: i2c@11c01000 {
 			interrupt-names = "tei", "ri", "ti", "spi", "sti",
 					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD 0x93>;
+			clock-frequency = <100000>;
 			resets = <&cpg 0xa0>;
 			power-domains = <&cpg>;
 			#address-cells = <1>;
-- 
2.54.0