Hi,
one of our customers is using the AM6412 on a custom board with QSPI Winbond flash W25Q01JV. Currently the boot stalls when u-boot.img is being loaded from flash. Attached is the bootup log.
The following changes to the device tree were made to support QSPI instead of OSPI.
&main_pmx0 { qspi0_pins_default: qspi0-pins-default { pinctrl-single,pins = < AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */ AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */ AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* (M19) OSPI0_D0 */ AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* (M18) OSPI0_D1 */ AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* (M20) OSPI0_D2 */ AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* (M21) OSPI0_D3 */ >; }; }; &qspi0 { pinctrl-names = "default"; pinctrl-0 = <&qspi0_pins_default>; flash@0{ compatible = "jedec,spi-nor"; #address-cells = <1>; #size-cells = <1>; reg = <0x0>; spi-max-frequency = <133000000>; }; };
Could someone review this, to see if anything was missed to support the QSPI Flash?
Are we missing anything else?
Is there AM64xx HW that has been used to validate QSPI Flash with u-boot bootflow?
Regards,
--Gunter