Add minimal JZ MMC node into the JZ4780 device tree.
This piece is picked from the CI20 Linux repository.

Signed-off-by: Marek Vasut <ma...@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: Paul Burton <paul.bur...@imgtec.com>
---
 arch/mips/dts/jz4780.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/mips/dts/jz4780.dtsi b/arch/mips/dts/jz4780.dtsi
index b868b42..2b022c3 100644
--- a/arch/mips/dts/jz4780.dtsi
+++ b/arch/mips/dts/jz4780.dtsi
@@ -44,6 +44,26 @@
                #clock-cells = <1>;
        };
 
+       msc0: msc@13450000 {
+               compatible = "ingenic,jz4780-mmc";
+               reg = <0x13450000 0x1000>;
+
+               status = "disabled";
+
+               clocks = <&cgu JZ4780_CLK_MSC0>;
+               clock-names = "mmc";
+       };
+
+       msc1: msc@13460000 {
+               compatible = "ingenic,jz4780-mmc";
+               reg = <0x13460000 0x1000>;
+
+               clocks = <&cgu JZ4780_CLK_MSC1>;
+               clock-names = "mmc";
+
+               status = "disabled";
+       };
+
        uart0: serial@10030000 {
                compatible = "ingenic,jz4780-uart";
                reg = <0x10030000 0x100>;
-- 
2.7.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to