* [PATCH] arm: dts: rz-g2-beacon-u-boot: Enable pinmux for QSPI
@ 2022-01-11 13:21 Adam Ford
0 siblings, 0 replies; only message in thread
From: Adam Ford @ 2022-01-11 13:21 UTC (permalink / raw)
To: u-boot; +Cc: marex, Adam Ford
When booting from QSPI, the boot ROM appears to mux the QSPI
pins, but it's not guaranteed to be setup when booting from
eMMC. Fix this by explicitly configuring the pinmux.
Signed-off-by: Adam Ford <aford173@gmail.com>
diff --git a/arch/arm/dts/rz-g2-beacon-u-boot.dtsi b/arch/arm/dts/rz-g2-beacon-u-boot.dtsi
index ef0b96a71e..4d17854918 100644
--- a/arch/arm/dts/rz-g2-beacon-u-boot.dtsi
+++ b/arch/arm/dts/rz-g2-beacon-u-boot.dtsi
@@ -33,12 +33,21 @@
u-boot,dm-pre-reloc;
};
+&pfc {
+ qspi_pins: qspi {
+ groups = "qspi_ctrl", "qspi_data4";
+ function = "qspi";
+ };
+};
+
&prr {
u-boot,dm-pre-reloc;
};
&rpc {
compatible = "renesas,rcar-gen3-rpc";
+ pinctrl-0 = <&qspi_pins>;
+ pinctrl-names = "default";
num-cs = <1>;
spi-max-frequency = <40000000>;
#address-cells = <1>;
--
2.32.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-11 13:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-11 13:21 [PATCH] arm: dts: rz-g2-beacon-u-boot: Enable pinmux for QSPI Adam Ford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox