173192958d
Core: - Introduce MMC_CAP2_NO_PRESCAN_POWERUP to allow skipping mmc_power_up() at boot/initialization time if it's already happened, for performance (faster boot time) reasons. - Fix a bit width test failure that resulted in old eMMC cards being put into 1-bit mode when 4-bit mode was available. - Expose fwrev/hwrev for MMCv4 parts. - Improve card removal logic in the case where the card's removed slowly; we were missing card removal events if the card retained contact with the slot pads for long enough to reply to a CMD13 while being removed. Drivers: - davinci_mmc: Support using PIO instead of DMA. - dw_mmc: Add support for Exynos4412. - mxcmmc: DT support, use slot-gpio API. - mxs-mmc: Add broken-cd/cd-inverted/non-removable DT property support. - sdhci-sirf: New sdhci-pltfm driver for CSR SiRF SoCs: SiRFprimaII: unicore ARM Cortex-A9 SiRFatlas6: unicore ARM Cortex-A9 SiRFmarco: dual core ARM Cortex-A9 SMP - sdhci-tegra: Add support for Tegra114 platforms, use mmc_of_parse(). -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iQIcBAABAgAGBQJRfr+qAAoJEHNBYZ7TNxYMG90QALW6ArdTxkfNKNybCx/s3ttm hyP2BB9eXF/FbZ9bGHGuv9NXV/4YZ4yr4c3yV4paOMW3s0z/+IhqajLfCgPFPCGK MOk5GAStN/+znBjLy+5V/17EJuVpE+WVwUqDg3RafB8NGQtaClymwPg6R+SMWwL9 uiRcCVgmgzlk9l+4Z1p9wHUeQlhZQ/Okzj4CjkOpWfgsUpo0PcWQRosd+CHHirWz iWnhFBM1cP4Nj59ashYSedu797s29pKGd31JcuWWQE228iykGfcCJWzMr9YMiU6x LwESeuTST8b9HblI7WYnFvpVvD9qTuBkkKMIKMNb4E34xBf8+H2zUh1hK7iEnDXt W0F1xy3WsxpJ1yF0BY9SqqnNeLpJBOenHlTZfGlf5r+kHWYUUQvvqw/ZdmWStRgv mSoqXSmz/oM3rn1KjMritJ9oyr0EH8kHDMAsoiCF0EuGipmenFTdJJiwbh0JZJxK bjqPUROtSK8TdPvTw1BPRX5YtJLzsG4HdsI3C8W05BTbCL9iIE1NaWP27nikPVfq glt9EilzgR252Wc649OrB7JAHBZjlVFIndNzjziGdxNzH6m1AK05qxTL5hBvba99 plccrsVMDGWLSmsGVwz7Eo+TLflRCdtrE+7O4NrlydZzp2t24HZrMc9rN8GDWQQE dP91YUdpDYrTsUBKiKGQ =Pr7P -----END PGP SIGNATURE----- Merge tag 'mmc-updates-for-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc Pull MMC update from Chris Ball: "MMC highlights for 3.10: Core: - Introduce MMC_CAP2_NO_PRESCAN_POWERUP to allow skipping mmc_power_up() at boot/initialization time if it's already happened, for performance (faster boot time) reasons. - Fix a bit width test failure that resulted in old eMMC cards being put into 1-bit mode when 4-bit mode was available. - Expose fwrev/hwrev for MMCv4 parts. - Improve card removal logic in the case where the card's removed slowly; we were missing card removal events if the card retained contact with the slot pads for long enough to reply to a CMD13 while being removed. Drivers: - davinci_mmc: Support using PIO instead of DMA. - dw_mmc: Add support for Exynos4412. - mxcmmc: DT support, use slot-gpio API. - mxs-mmc: Add broken-cd/cd-inverted/non-removable DT property support. - sdhci-sirf: New sdhci-pltfm driver for CSR SiRF SoCs: SiRFprimaII: unicore ARM Cortex-A9 SiRFatlas6: unicore ARM Cortex-A9 SiRFmarco: dual core ARM Cortex-A9 SMP - sdhci-tegra: Add support for Tegra114 platforms, use mmc_of_parse()" * tag 'mmc-updates-for-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (66 commits) mmc: sdhci-tegra: fix MODULE_DEVICE_TABLE mmc: core: fix init controller performance regression, updated patch mmc: mxcmmc: enable DMA support on mpc512x mmc: mxcmmc: constify mxcmci_devtype mmc: mxcmmc: use slot-gpio API for write-protect detection mmc: mxcmmc: add mpc512x SDHC support mmc: mxcmmc: fix race conditions for host->req and host->data access mmc: mxcmmc: DT support mmc: dw_mmc: let device core setup the default pin configuration mmc: mxs-mmc: add broken-cd property mmc: mxs-mmc: add non-removable property mmc: mxs-mmc: add cd-inverted property mmc: core: call pm_runtime_put_noidle in pm_runtime_get_sync failed case mmc: mxcmmc: Fix bug when card is present during boot mmc: core: fix performance regression initializing MMC host controllers Revert "mmc: core: wait while adding MMC host to ensure root mounts successfully" mmc: atmel-mci: pio hang on block errors mmc: core: Fix bit width test failing on old eMMC cards mmc: dw_mmc: Use pr_info instead of printk mmc: dw_mmc: Check return value of regulator_enable ...
412 lines
8.4 KiB
Text
412 lines
8.4 KiB
Text
/*
|
|
* base MPC5121 Device Tree Source
|
|
*
|
|
* Copyright 2007-2008 Freescale Semiconductor Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
model = "mpc5121";
|
|
compatible = "fsl,mpc5121";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
interrupt-parent = <&ipic>;
|
|
|
|
aliases {
|
|
ethernet0 = ð0;
|
|
pci = &pci;
|
|
};
|
|
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
PowerPC,5121@0 {
|
|
device_type = "cpu";
|
|
reg = <0>;
|
|
d-cache-line-size = <0x20>; /* 32 bytes */
|
|
i-cache-line-size = <0x20>; /* 32 bytes */
|
|
d-cache-size = <0x8000>; /* L1, 32K */
|
|
i-cache-size = <0x8000>; /* L1, 32K */
|
|
timebase-frequency = <49500000>;/* 49.5 MHz (csb/4) */
|
|
bus-frequency = <198000000>; /* 198 MHz csb bus */
|
|
clock-frequency = <396000000>; /* 396 MHz ppc core */
|
|
};
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x10000000>; /* 256MB at 0 */
|
|
};
|
|
|
|
mbx@20000000 {
|
|
compatible = "fsl,mpc5121-mbx";
|
|
reg = <0x20000000 0x4000>;
|
|
interrupts = <66 0x8>;
|
|
};
|
|
|
|
sram@30000000 {
|
|
compatible = "fsl,mpc5121-sram";
|
|
reg = <0x30000000 0x20000>; /* 128K at 0x30000000 */
|
|
};
|
|
|
|
nfc@40000000 {
|
|
compatible = "fsl,mpc5121-nfc";
|
|
reg = <0x40000000 0x100000>; /* 1M at 0x40000000 */
|
|
interrupts = <6 8>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
};
|
|
|
|
localbus@80000020 {
|
|
compatible = "fsl,mpc5121-localbus";
|
|
#address-cells = <2>;
|
|
#size-cells = <1>;
|
|
reg = <0x80000020 0x40>;
|
|
interrupts = <7 0x8>;
|
|
ranges = <0x0 0x0 0xfc000000 0x04000000>;
|
|
};
|
|
|
|
soc@80000000 {
|
|
compatible = "fsl,mpc5121-immr";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
#interrupt-cells = <2>;
|
|
ranges = <0x0 0x80000000 0x400000>;
|
|
reg = <0x80000000 0x400000>;
|
|
bus-frequency = <66000000>; /* 66 MHz ips bus */
|
|
|
|
|
|
/*
|
|
* IPIC
|
|
* interrupts cell = <intr #, sense>
|
|
* sense values match linux IORESOURCE_IRQ_* defines:
|
|
* sense == 8: Level, low assertion
|
|
* sense == 2: Edge, high-to-low change
|
|
*/
|
|
ipic: interrupt-controller@c00 {
|
|
compatible = "fsl,mpc5121-ipic", "fsl,ipic";
|
|
interrupt-controller;
|
|
#address-cells = <0>;
|
|
#interrupt-cells = <2>;
|
|
reg = <0xc00 0x100>;
|
|
};
|
|
|
|
/* Watchdog timer */
|
|
wdt@900 {
|
|
compatible = "fsl,mpc5121-wdt";
|
|
reg = <0x900 0x100>;
|
|
};
|
|
|
|
/* Real time clock */
|
|
rtc@a00 {
|
|
compatible = "fsl,mpc5121-rtc";
|
|
reg = <0xa00 0x100>;
|
|
interrupts = <79 0x8 80 0x8>;
|
|
};
|
|
|
|
/* Reset module */
|
|
reset@e00 {
|
|
compatible = "fsl,mpc5121-reset";
|
|
reg = <0xe00 0x100>;
|
|
};
|
|
|
|
/* Clock control */
|
|
clock@f00 {
|
|
compatible = "fsl,mpc5121-clock";
|
|
reg = <0xf00 0x100>;
|
|
};
|
|
|
|
/* Power Management Controller */
|
|
pmc@1000{
|
|
compatible = "fsl,mpc5121-pmc";
|
|
reg = <0x1000 0x100>;
|
|
interrupts = <83 0x8>;
|
|
};
|
|
|
|
gpio@1100 {
|
|
compatible = "fsl,mpc5121-gpio";
|
|
reg = <0x1100 0x100>;
|
|
interrupts = <78 0x8>;
|
|
};
|
|
|
|
can@1300 {
|
|
compatible = "fsl,mpc5121-mscan";
|
|
reg = <0x1300 0x80>;
|
|
interrupts = <12 0x8>;
|
|
};
|
|
|
|
can@1380 {
|
|
compatible = "fsl,mpc5121-mscan";
|
|
reg = <0x1380 0x80>;
|
|
interrupts = <13 0x8>;
|
|
};
|
|
|
|
sdhc@1500 {
|
|
compatible = "fsl,mpc5121-sdhc";
|
|
reg = <0x1500 0x100>;
|
|
interrupts = <8 0x8>;
|
|
dmas = <&dma0 30>;
|
|
dma-names = "rx-tx";
|
|
};
|
|
|
|
i2c@1700 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "fsl,mpc5121-i2c", "fsl-i2c";
|
|
reg = <0x1700 0x20>;
|
|
interrupts = <9 0x8>;
|
|
};
|
|
|
|
i2c@1720 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "fsl,mpc5121-i2c", "fsl-i2c";
|
|
reg = <0x1720 0x20>;
|
|
interrupts = <10 0x8>;
|
|
};
|
|
|
|
i2c@1740 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "fsl,mpc5121-i2c", "fsl-i2c";
|
|
reg = <0x1740 0x20>;
|
|
interrupts = <11 0x8>;
|
|
};
|
|
|
|
i2ccontrol@1760 {
|
|
compatible = "fsl,mpc5121-i2c-ctrl";
|
|
reg = <0x1760 0x8>;
|
|
};
|
|
|
|
axe@2000 {
|
|
compatible = "fsl,mpc5121-axe";
|
|
reg = <0x2000 0x100>;
|
|
interrupts = <42 0x8>;
|
|
};
|
|
|
|
display@2100 {
|
|
compatible = "fsl,mpc5121-diu";
|
|
reg = <0x2100 0x100>;
|
|
interrupts = <64 0x8>;
|
|
};
|
|
|
|
can@2300 {
|
|
compatible = "fsl,mpc5121-mscan";
|
|
reg = <0x2300 0x80>;
|
|
interrupts = <90 0x8>;
|
|
};
|
|
|
|
can@2380 {
|
|
compatible = "fsl,mpc5121-mscan";
|
|
reg = <0x2380 0x80>;
|
|
interrupts = <91 0x8>;
|
|
};
|
|
|
|
viu@2400 {
|
|
compatible = "fsl,mpc5121-viu";
|
|
reg = <0x2400 0x400>;
|
|
interrupts = <67 0x8>;
|
|
};
|
|
|
|
mdio@2800 {
|
|
compatible = "fsl,mpc5121-fec-mdio";
|
|
reg = <0x2800 0x800>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
|
|
eth0: ethernet@2800 {
|
|
device_type = "network";
|
|
compatible = "fsl,mpc5121-fec";
|
|
reg = <0x2800 0x800>;
|
|
local-mac-address = [ 00 00 00 00 00 00 ];
|
|
interrupts = <4 0x8>;
|
|
};
|
|
|
|
/* USB1 using external ULPI PHY */
|
|
usb@3000 {
|
|
compatible = "fsl,mpc5121-usb2-dr";
|
|
reg = <0x3000 0x600>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
interrupts = <43 0x8>;
|
|
dr_mode = "otg";
|
|
phy_type = "ulpi";
|
|
};
|
|
|
|
/* USB0 using internal UTMI PHY */
|
|
usb@4000 {
|
|
compatible = "fsl,mpc5121-usb2-dr";
|
|
reg = <0x4000 0x600>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
interrupts = <44 0x8>;
|
|
dr_mode = "otg";
|
|
phy_type = "utmi_wide";
|
|
};
|
|
|
|
/* IO control */
|
|
ioctl@a000 {
|
|
compatible = "fsl,mpc5121-ioctl";
|
|
reg = <0xA000 0x1000>;
|
|
};
|
|
|
|
/* LocalPlus controller */
|
|
lpc@10000 {
|
|
compatible = "fsl,mpc5121-lpc";
|
|
reg = <0x10000 0x200>;
|
|
};
|
|
|
|
pata@10200 {
|
|
compatible = "fsl,mpc5121-pata";
|
|
reg = <0x10200 0x100>;
|
|
interrupts = <5 0x8>;
|
|
};
|
|
|
|
/* 512x PSCs are not 52xx PSC compatible */
|
|
|
|
/* PSC0 */
|
|
psc@11000 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11000 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC1 */
|
|
psc@11100 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11100 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC2 */
|
|
psc@11200 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11200 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC3 */
|
|
psc@11300 {
|
|
compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
|
|
reg = <0x11300 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC4 */
|
|
psc@11400 {
|
|
compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
|
|
reg = <0x11400 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC5 */
|
|
psc@11500 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11500 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC6 */
|
|
psc@11600 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11600 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC7 */
|
|
psc@11700 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11700 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC8 */
|
|
psc@11800 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11800 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC9 */
|
|
psc@11900 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11900 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC10 */
|
|
psc@11a00 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11a00 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
/* PSC11 */
|
|
psc@11b00 {
|
|
compatible = "fsl,mpc5121-psc";
|
|
reg = <0x11b00 0x100>;
|
|
interrupts = <40 0x8>;
|
|
fsl,rx-fifo-size = <16>;
|
|
fsl,tx-fifo-size = <16>;
|
|
};
|
|
|
|
pscfifo@11f00 {
|
|
compatible = "fsl,mpc5121-psc-fifo";
|
|
reg = <0x11f00 0x100>;
|
|
interrupts = <40 0x8>;
|
|
};
|
|
|
|
dma0: dma@14000 {
|
|
compatible = "fsl,mpc5121-dma";
|
|
reg = <0x14000 0x1800>;
|
|
interrupts = <65 0x8>;
|
|
};
|
|
};
|
|
|
|
pci: pci@80008500 {
|
|
compatible = "fsl,mpc5121-pci";
|
|
device_type = "pci";
|
|
interrupts = <1 0x8>;
|
|
clock-frequency = <0>;
|
|
#address-cells = <3>;
|
|
#size-cells = <2>;
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0x80008500 0x100 /* internal registers */
|
|
0x80008300 0x8>; /* config space access registers */
|
|
bus-range = <0x0 0x0>;
|
|
ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
|
|
0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
|
|
0x01000000 0x0 0x00000000 0x84000000 0x0 0x01000000>;
|
|
};
|
|
};
|