aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/boot/dts/mpc8569mds.dts26
-rw-r--r--drivers/of/base.c1
2 files changed, 24 insertions, 3 deletions
diff --git a/arch/powerpc/boot/dts/mpc8569mds.dts b/arch/powerpc/boot/dts/mpc8569mds.dts
index ece3b305cd06..23a102ea9143 100644
--- a/arch/powerpc/boot/dts/mpc8569mds.dts
+++ b/arch/powerpc/boot/dts/mpc8569mds.dts
@@ -259,10 +259,21 @@
259 }; 259 };
260 260
261 par_io@e0100 { 261 par_io@e0100 {
262 #address-cells = <1>;
263 #size-cells = <1>;
262 reg = <0xe0100 0x100>; 264 reg = <0xe0100 0x100>;
265 ranges = <0x0 0xe0100 0x100>;
263 device_type = "par_io"; 266 device_type = "par_io";
264 num-ports = <7>; 267 num-ports = <7>;
265 268
269 qe_pio_e: gpio-controller@80 {
270 #gpio-cells = <2>;
271 compatible = "fsl,mpc8569-qe-pario-bank",
272 "fsl,mpc8323-qe-pario-bank";
273 reg = <0x80 0x18>;
274 gpio-controller;
275 };
276
266 pio1: ucc_pin@01 { 277 pio1: ucc_pin@01 {
267 pio-map = < 278 pio-map = <
268 /* port pin dir open_drain assignment has_irq */ 279 /* port pin dir open_drain assignment has_irq */
@@ -368,12 +379,21 @@
368 }; 379 };
369 380
370 spi@4c0 { 381 spi@4c0 {
371 cell-index = <0>; 382 #address-cells = <1>;
372 compatible = "fsl,spi"; 383 #size-cells = <0>;
384 compatible = "fsl,mpc8569-qe-spi", "fsl,spi";
373 reg = <0x4c0 0x40>; 385 reg = <0x4c0 0x40>;
386 cell-index = <0>;
374 interrupts = <2>; 387 interrupts = <2>;
375 interrupt-parent = <&qeic>; 388 interrupt-parent = <&qeic>;
376 mode = "cpu"; 389 gpios = <&qe_pio_e 30 0>;
390 mode = "cpu-qe";
391
392 serial-flash@0 {
393 compatible = "stm,m25p40";
394 reg = <0>;
395 spi-max-frequency = <25000000>;
396 };
377 }; 397 };
378 398
379 spi@500 { 399 spi@500 {
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 41c5dfd85358..391f91c0bf55 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -447,6 +447,7 @@ struct of_modalias_table {
447static struct of_modalias_table of_modalias_table[] = { 447static struct of_modalias_table of_modalias_table[] = {
448 { "fsl,mcu-mpc8349emitx", "mcu-mpc8349emitx" }, 448 { "fsl,mcu-mpc8349emitx", "mcu-mpc8349emitx" },
449 { "mmc-spi-slot", "mmc_spi" }, 449 { "mmc-spi-slot", "mmc_spi" },
450 { "stm,m25p40", "m25p80" },
450}; 451};
451 452
452/** 453/**