Skip to contentSkip to conversation

arm: dts: rz-g2-beacon-u-boot: Enable pinmux for QSPI

PATCH New Adam Ford 1 participant 1 message Jan 11, 2022 Arm (32-bit)

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 arm: dts: rz-g2-beacon-u-boot: Enable pinmux for QSPI

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.

arch/arm/dts/rz-g2-beacon-u-boot.dtsi +9 -0
index ef0b96a71e..4d17854918 100644
@@ -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>;
Signature · 1 line
2.32.0