To use "mtdparts=..." in cmdline, the spi_master bus_num must be static. This property is use to asign a static bus number for spi_master other than allocate dynamically. Signed-off-by: Hou Zhiqiang <B48286@xxxxxxxxxxxxx> --- arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi | 1 + arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi b/arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi index 75854b2..cb4d488 100644 --- a/arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi +++ b/arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi @@ -38,4 +38,5 @@ spi@7000 { compatible = "fsl,mpc8536-espi"; reg = <0x7000 0x1000>; interrupts = <59 0x2 0 0>; + bus-num = <0>; }; diff --git a/arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi index 6db0697..54358f3 100644 --- a/arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi +++ b/arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi @@ -38,4 +38,5 @@ spi@110000 { compatible = "fsl,mpc8536-espi"; reg = <0x110000 0x1000>; interrupts = <53 0x2 0 0>; + bus-num = <0>; }; -- 1.8.5 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html