]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: octeon: mrvl,cn73xx.dtsi: Add MMC DT node
authorStefan Roese <sr@denx.de>
Fri, 12 Mar 2021 08:48:26 +0000 (09:48 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Thu, 22 Apr 2021 00:47:57 +0000 (02:47 +0200)
Add the MMC DT node to the Octeon CN73xx dtsi file.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/dts/mrvl,cn73xx.dtsi

index 40eb85ee0c4b3c30e8095a6b182116667e648683..27cdfd0a2ce5a9cc9d6e7532332c5c97d91f2319 100644 (file)
                        clocks = <&clk OCTEON_CLK_IO>;
                };
 
+               mmc: mmc@1180000002000 {
+                       compatible = "cavium,octeon-7890-mmc",
+                                    "cavium,octeon-7360-mmc";
+                       reg = <0x11800 0x00000000 0x0 0x2100>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       /* EMM_INT_BUF_DONE,
+                          EMM_INT_CMD_DONE,
+                          EMM_INT_DMA_DONE,
+                          EMM_INT_CMD_ERR,
+                          EMM_INT_DMA_ERR,
+                          EMM_INT_SWITCH_DONE,
+                          EMM_INT_SWITCH_ERR,
+                          EMM_DMA_DONE,
+                          EMM_DMA_FIFO*/
+                       interrupts = <0x09040 1>,
+                                    <0x09041 1>,
+                                    <0x09042 1>,
+                                    <0x09043 1>,
+                                    <0x09044 1>,
+                                    <0x09045 1>,
+                                    <0x09046 1>,
+                                    <0x09000 1>,
+                                    <0x09001 1>;
+                       clocks = <&clk OCTEON_CLK_IO>;
+               };
+
                spi: spi@1070000001000 {
                        compatible = "cavium,octeon-3010-spi";
                        reg = <0x10700 0x00001000 0x0 0x100>;