Tegra114: fdt: Add SDMMC (sdhci) nodes for T114 boards (Dalmore for now)
authorTom Warren <twarren@nvidia.com>
Mon, 18 Mar 2013 21:46:46 +0000 (14:46 -0700)
committerTom Warren <twarren@nvidia.com>
Mon, 25 Mar 2013 16:56:07 +0000 (09:56 -0700)
Took these values directly from the kernel dts files.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
arch/arm/dts/tegra114.dtsi
board/nvidia/dts/tegra114-dalmore.dts

index 3b1ca35fcccfa2237a59c62a720fccd9e8ad7537..f86d18dd7c9c1b8922019bf3917d7cd09149443c 100644 (file)
                /* PERIPH_ID_SBC6, PLLP_OUT0 */
                clocks = <&tegra_car 105>;
        };
+
+       sdhci@78000000 {
+               compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci";
+               reg = <0x78000000 0x200>;
+               interrupts = <0 14 0x04>;
+               clocks = <&tegra_car 14>;
+               status = "disable";
+       };
+
+       sdhci@78000200 {
+               compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci";
+               reg = <0x78000200 0x200>;
+               interrupts = <0 15 0x04>;
+               clocks = <&tegra_car 9>;
+               status = "disable";
+       };
+
+       sdhci@78000400 {
+               compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci";
+               reg = <0x78000400 0x200>;
+               interrupts = <0 19 0x04>;
+               clocks = <&tegra_car 69>;
+               status = "disable";
+       };
+
+       sdhci@78000600 {
+               compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci";
+               reg = <0x78000600 0x200>;
+               interrupts = <0 31 0x04>;
+               clocks = <&tegra_car 15>;
+               status = "disable";
+       };
 };
index 87cb0ba361e3b000feb34fa8879553461556f272..86e9459b3aae7d6b202501388fdc9f8145781548 100644 (file)
@@ -12,6 +12,8 @@
                i2c2 = "/i2c@7000c400";
                i2c3 = "/i2c@7000c500";
                i2c4 = "/i2c@7000c700";
+               sdhci0 = "/sdhci@78000600";
+               sdhci1 = "/sdhci@78000400";
        };
 
        memory {
                status = "okay";
                spi-max-frequency = <25000000>;
        };
+
+       sdhci@78000400 {
+               cd-gpios = <&gpio 170 1>; /* gpio PV2 */
+               bus-width = <4>;
+               status = "okay";
+       };
+
+       sdhci@78000600 {
+               bus-width = <8>;
+               status = "okay";
+       };
 };