From: Anton Vorontsov <[email protected]> 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 <[email protected]> Cc: Pierre Ossman <[email protected]> Cc: Kumar Gala <[email protected]> Cc: David Vrabel <[email protected]> Cc: Ben Dooks <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> --- arch/powerpc/boot/dts/mpc8536ds.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff -puN arch/powerpc/boot/dts/mpc8536ds.dts~powerpc-85xx-add-esdhc-support-for-mpc8536ds-boards arch/powerpc/boot/dts/mpc8536ds.dts --- a/arch/powerpc/boot/dts/mpc8536ds.dts~powerpc-85xx-add-esdhc-support-for-mpc8536ds-boards +++ a/arch/powerpc/boot/dts/mpc8536ds.dts @@ -258,6 +258,14 @@ clock-frequency = <250000000>; }; + sd...@2e000 { + compatible = "fsl,mpc8536-esdhc", "fsl,esdhc"; + reg = <0x2e000 0x1000>; + interrupts = <72 0x2>; + interrupt-parent = <&mpic>; + clock-frequency = <250000000>; + }; + serial0: ser...@4500 { cell-index = <0>; device_type = "serial"; _ -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
