aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc836x_mds.dts
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-01-24 10:40:07 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-01-28 09:32:58 -0500
commitf3a2b29d932fbf92e133d814c4873fd15be51abc (patch)
treedf6c2c960540b0f648d2ae3e3648111d500b97c0 /arch/powerpc/boot/dts/mpc836x_mds.dts
parent59a0ea5091d309fa8338954b84cf5307dbd83ec9 (diff)
[POWERPC] fsl_spi: stop using device_type = "spi"
Also: - rename "fsl_spi" to "fsl,spi"; - add and use cell-index property, if found; - split probing code out of fsl_spi_init, thus we can call it for legacy device_type probing and new "compatible" probing. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc836x_mds.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc836x_mds.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/boot/dts/mpc836x_mds.dts b/arch/powerpc/boot/dts/mpc836x_mds.dts
index fa98bdf0de8c..d3b8262df686 100644
--- a/arch/powerpc/boot/dts/mpc836x_mds.dts
+++ b/arch/powerpc/boot/dts/mpc836x_mds.dts
@@ -225,8 +225,8 @@
225 }; 225 };
226 226
227 spi@4c0 { 227 spi@4c0 {
228 device_type = "spi"; 228 cell-index = <0>;
229 compatible = "fsl_spi"; 229 compatible = "fsl,spi";
230 reg = <4c0 40>; 230 reg = <4c0 40>;
231 interrupts = <2>; 231 interrupts = <2>;
232 interrupt-parent = < &qeic >; 232 interrupt-parent = < &qeic >;
@@ -234,8 +234,8 @@
234 }; 234 };
235 235
236 spi@500 { 236 spi@500 {
237 device_type = "spi"; 237 cell-index = <1>;
238 compatible = "fsl_spi"; 238 compatible = "fsl,spi";
239 reg = <500 40>; 239 reg = <500 40>;
240 interrupts = <1>; 240 interrupts = <1>;
241 interrupt-parent = < &qeic >; 241 interrupt-parent = < &qeic >;