提交 671963bb 编写于 作者: E Ezequiel Garcia 提交者: Ulf Hansson

MIPS: dts: ci20: Enable MMC in the devicetree

Now that we have support for JZ480 SoCs in the MMC driver,
let's enable it on the devicetree.
Acked-by: NJames Hogan <jhogan@kernel.org>
Tested-by: NMathieu Malaterre <malat@debian.org>
Signed-off-by: NEzequiel Garcia <ezequiel@collabora.co.uk>
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 7f5a07f4
...@@ -36,6 +36,28 @@ ...@@ -36,6 +36,28 @@
clock-frequency = <48000000>; clock-frequency = <48000000>;
}; };
&mmc0 {
status = "okay";
bus-width = <4>;
max-frequency = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&pins_mmc0>;
cd-gpios = <&gpf 20 GPIO_ACTIVE_LOW>;
};
&mmc1 {
status = "okay";
bus-width = <4>;
max-frequency = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&pins_mmc1>;
};
&uart0 { &uart0 {
status = "okay"; status = "okay";
...@@ -203,4 +225,16 @@ ...@@ -203,4 +225,16 @@
groups = "nemc-cs6"; groups = "nemc-cs6";
bias-disable; bias-disable;
}; };
pins_mmc0: mmc0 {
function = "mmc0";
groups = "mmc0-1bit-e", "mmc0-4bit-e";
bias-disable;
};
pins_mmc1: mmc1 {
function = "mmc1";
groups = "mmc1-1bit-d", "mmc1-4bit-d";
bias-disable;
};
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册