Skip to content

Commit

Permalink
powerpc/85xx: Add eSDHC support for MPC8536DS boards
Browse files Browse the repository at this point in the history
This patch simply adds sdhci node to the device tree.

We specify clock-frequency manually, so that eSDHC will work without
upgrading U-Boot. Though, that'll only work for default setup (1500
MHz) on new board revisions. For non-default setups, it's recommended
to upgrade U-Boot, since it will fixup clock-frequency automatically.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Aug 25, 2009
1 parent c9c4197 commit ec80fb2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/powerpc/boot/dts/mpc8536ds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,14 @@
phy_type = "ulpi";
};

sdhci@2e000 {
compatible = "fsl,mpc8536-esdhc", "fsl,esdhc";
reg = <0x2e000 0x1000>;
interrupts = <72 0x2>;
interrupt-parent = <&mpic>;
clock-frequency = <250000000>;
};

serial0: serial@4500 {
cell-index = <0>;
device_type = "serial";
Expand Down
8 changes: 8 additions & 0 deletions arch/powerpc/boot/dts/mpc8536ds_36b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,14 @@
phy_type = "ulpi";
};

sdhci@2e000 {
compatible = "fsl,mpc8536-esdhc", "fsl,esdhc";
reg = <0x2e000 0x1000>;
interrupts = <72 0x2>;
interrupt-parent = <&mpic>;
clock-frequency = <250000000>;
};

serial0: serial@4500 {
cell-index = <0>;
device_type = "serial";
Expand Down

0 comments on commit ec80fb2

Please sign in to comment.