arm64: dts: renesas: spider-cpu: Enable UFS device
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 13 Jan 2023 13:46:39 +0000 (22:46 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 27 Jan 2023 09:38:53 +0000 (10:38 +0100)
commitc3b8f309de8c6cd7d02908996f0471adb301190f
tree968d8b04754e9c549d4ef341a8685438be67b148
parentc9d95cf0bc50a320b779018854c8dda38fcf9276
arm64: dts: renesas: spider-cpu: Enable UFS device

Enable UFS device for R-Car S4-8 Spider CPU board.

Note that the conditions of RC21012 on the Spider are:
 - OUT11 (for UFS30_REFCLK_V) is disabled as default.
 - OUT11 is controlled by GPIO0 pin.
 - The GPIO0 pin is inverted sense (low active) and pull-up enabled.

To output the clock, pin 4 of TCA9554 on the Spider board needs to
output low level so that using "gpio-gate-clock" for it.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230113134639.338908-1-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi