Tool/software:
Hello,
We are upgrading sdk from sdk9.02 to sdk10, we met a ubi0 error when mounting ubi rootfs, and we found that when compatible is "ti,am654-ospi","cdns,qspi-nor", that is we swap the position of "ti,am654-ospi" and
"cdns,qspi-nor", the ubi0 error will not occur. We want to know the reason of it, thanks.
ubi0 error:
ospi0 dts configuration:
ospi0: spi@47040000 {
compatible = "ti,am654-ospi","cdns,qspi-nor";
reg = <0x00 0x47040000 0x00 0x100>,
<0x05 0x00000000 0x01 0x00000000>;
interrupts = <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>;
cdns,fifo-depth = <256>;
cdns,fifo-width = <4>;
cdns,trigger-address = <0x0>;
clocks = <&k3_clks 109 5>;
assigned-clocks = <&k3_clks 109 5>;
assigned-clock-parents = <&k3_clks 109 7>;
assigned-clock-rates = <166666666>;
power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay"; /* Needs pinmux */
};