Skip to contentSkip to conversation

arm64: dts: renesas: spider-cpu: add i2c0 bus

PATCH In review Wolfram Sang 2 participants 3 messages Dec 20, 2022 – Jan 11, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: renesas: spider-cpu: add i2c0 bus

Add the bus and the GPIO expander connected to it. Based on BSP patches by LUU HOAI and Phong Hoang.

---
 .../boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi +20 -0
index 045d70535519..48a8f80d5962 100644
@@ -67,6 +67,21 @@ &hscif0 {
 	status = "okay";
 };
 
+&i2c0 {
+	pinctrl-0 = <&i2c0_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <400000>;
+
+	gpio@20 {
+		compatible = "ti,tca9554";
+		reg = <0x20>;
+		gpio-controller;
+		#gpio-cells = <2>;
+	};
+};
+
 &i2c4 {
 	pinctrl-0 = <&i2c4_pins>;
 	pinctrl-names = "default";
@@ -112,6 +127,11 @@ hscif0_pins: hscif0 {
 		function = "hscif0";
 	};
 
+	i2c0_pins: i2c0 {
+		groups = "i2c0";
+		function = "i2c0";
+	};
+
 	i2c4_pins: i2c4 {
 		groups = "i2c4";
 		function = "i2c4";
Signature · 1 line
2.35.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Wolfram,

Quoted 4 lines · Wolfram Sang

Add the bus and the GPIO expander connected to it. Based on BSP patches by LUU HOAI and Phong Hoang.

But perhaps Shimoda-san's patch is more useful?

[PATCH] arm64: dts: renesas: r8a779f0: spider-cpu: Enable UFS device
https://lore.kernel.org/all/[email protected]

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds