[PATCH 1/2] powerpc/85xx: Add a property bus-num for espi controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux