Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161771
b: refs/heads/master
c: 9b9d401
h: refs/heads/master
i:
  161769: 4f32fa7
  161767: 33673f2
v: v3
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Aug 25, 2009
1 parent 9a5c6de commit 0683afd
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 818fcac554397a04987d49e2bd2dfc2d394b265c
refs/heads/master: 9b9d401b8d11796f4c4bcbcabecfec9f5d85ea25
45 changes: 45 additions & 0 deletions trunk/arch/powerpc/boot/dts/mpc8569mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,18 @@
};

bcsr@1,0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "fsl,mpc8569mds-bcsr";
reg = <1 0 0x8000>;
ranges = <0 1 0 0x8000>;

bcsr17: gpio-controller@11 {
#gpio-cells = <2>;
compatible = "fsl,mpc8569mds-bcsr-gpio";
reg = <0x11 0x1>;
gpio-controller;
};
};

nand@3,0 {
Expand Down Expand Up @@ -315,6 +325,14 @@
gpio-controller;
};

qe_pio_f: gpio-controller@a0 {
#gpio-cells = <2>;
compatible = "fsl,mpc8569-qe-pario-bank",
"fsl,mpc8323-qe-pario-bank";
reg = <0xa0 0x18>;
gpio-controller;
};

pio1: ucc_pin@01 {
pio-map = <
/* port pin dir open_drain assignment has_irq */
Expand Down Expand Up @@ -419,6 +437,16 @@
interrupt-parent = <&mpic>;
};

timer@440 {
compatible = "fsl,mpc8569-qe-gtm",
"fsl,qe-gtm", "fsl,gtm";
reg = <0x440 0x40>;
interrupts = <12 13 14 15>;
interrupt-parent = <&qeic>;
/* Filled in by U-Boot */
clock-frequency = <0>;
};

spi@4c0 {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -446,6 +474,23 @@
mode = "cpu";
};

usb@6c0 {
compatible = "fsl,mpc8569-qe-usb",
"fsl,mpc8323-qe-usb";
reg = <0x6c0 0x40 0x8b00 0x100>;
interrupts = <11>;
interrupt-parent = <&qeic>;
fsl,fullspeed-clock = "clk5";
fsl,lowspeed-clock = "brg10";
gpios = <&qe_pio_f 3 0 /* USBOE */
&qe_pio_f 4 0 /* USBTP */
&qe_pio_f 5 0 /* USBTN */
&qe_pio_f 6 0 /* USBRP */
&qe_pio_f 8 0 /* USBRN */
&bcsr17 6 0 /* SPEED */
&bcsr17 5 1>; /* POWER */
};

enet0: ucc@2000 {
device_type = "network";
compatible = "ucc_geth";
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/platforms/85xx/mpc85xx_mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#include <asm/udbg.h>
#include <sysdev/fsl_soc.h>
#include <sysdev/fsl_pci.h>
#include <sysdev/simple_gpio.h>
#include <asm/qe.h>
#include <asm/qe_ic.h>
#include <asm/mpic.h>
Expand Down Expand Up @@ -304,6 +305,9 @@ static struct of_device_id mpc85xx_ids[] = {

static int __init mpc85xx_publish_devices(void)
{
if (machine_is(mpc8569_mds))
simple_gpiochip_init("fsl,mpc8569mds-bcsr-gpio");

/* Publish the QE devices */
of_platform_bus_probe(NULL, mpc85xx_ids, NULL);

Expand Down

0 comments on commit 0683afd

Please sign in to comment.