arm: dts: rz-g2-beacon-u-boot: Enable pinmux for QSPI
authorAdam Ford <aford173@gmail.com>
Tue, 11 Jan 2022 13:21:06 +0000 (07:21 -0600)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 22 Jan 2022 22:12:56 +0000 (23:12 +0100)
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>
arch/arm/dts/rz-g2-beacon-u-boot.dtsi

index ef0b96a..4d17854 100644 (file)
        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>;