Skip to content

Commit

Permalink
arm/dts: OMAP4: Add mmc controller nodes and board data
Browse files Browse the repository at this point in the history
Add OMAP mmc related device tree data for OMAP4.
Currenly limited to only omap4-panda and omap4-sdp
boards.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
  • Loading branch information
Rajendra Nayak authored and Benoit Cousson committed Mar 14, 2012
1 parent ecc7b06 commit 7498176
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 0 deletions.
22 changes: 22 additions & 0 deletions arch/arm/boot/dts/omap4-panda.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,25 @@
&i2c4 {
clock-frequency = <400000>;
};

&mmc1 {
vmmc-supply = <&vmmc>;
ti,bus-width = <8>;
};

&mmc2 {
status = "disable";
};

&mmc3 {
status = "disable";
};

&mmc4 {
status = "disable";
};

&mmc5 {
ti,non-removable;
ti,bus-width = <4>;
};
24 changes: 24 additions & 0 deletions arch/arm/boot/dts/omap4-sdp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,27 @@
vdd-supply = <&vdd_eth>;
};
};

&mmc1 {
vmmc-supply = <&vmmc>;
ti,bus-width = <8>;
};

&mmc2 {
vmmc-supply = <&vaux1>;
ti,bus-width = <8>;
ti,non-removable;
};

&mmc3 {
status = "disable";
};

&mmc4 {
status = "disable";
};

&mmc5 {
ti,bus-width = <4>;
ti,non-removable;
};
31 changes: 31 additions & 0 deletions arch/arm/boot/dts/omap4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,36 @@
ti,hwmods = "mcspi4";
ti,spi-num-cs = <1>;
};

mmc1: mmc@4809c000 {
compatible = "ti,omap4-hsmmc";
ti,hwmods = "mmc1";
ti,dual-volt;
ti,needs-special-reset;
};

mmc2: mmc@480b4000 {
compatible = "ti,omap4-hsmmc";
ti,hwmods = "mmc2";
ti,needs-special-reset;
};

mmc3: mmc@480ad000 {
compatible = "ti,omap4-hsmmc";
ti,hwmods = "mmc3";
ti,needs-special-reset;
};

mmc4: mmc@480d1000 {
compatible = "ti,omap4-hsmmc";
ti,hwmods = "mmc4";
ti,needs-special-reset;
};

mmc5: mmc@480d5000 {
compatible = "ti,omap4-hsmmc";
ti,hwmods = "mmc5";
ti,needs-special-reset;
};
};
};

0 comments on commit 7498176

Please sign in to comment.