arm64: dts: renesas: spider-cpu: add i2c0 bus
Subsystems (2)
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
@@ -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
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.
Signed-off-by Wolfram Sang <[email protected]>
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
Quoted 9 lines
Quoted 5 lines
Add the bus and the GPIO expander connected to it. Based on BSP patches by LUU HOAI and Phong Hoang.
Signed-off-by Wolfram Sang <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>But perhaps Shimoda-san's patch is more useful?
If UFS is ready soon, then for sure.