]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: octeon: mrvl, cn73xx.dtsi: Add AHCI/SATA DT node
authorStefan Roese <sr@denx.de>
Wed, 7 Apr 2021 07:12:37 +0000 (09:12 +0200)
committerStefan Roese <sr@denx.de>
Wed, 28 Apr 2021 08:05:12 +0000 (10:05 +0200)
Add the AHCI compatible SATA 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 9f3dc615d66da444a5e03b6a58a8448d48cbc0f6..83e5cde044a7dc85d3e2625ca38188fc3040b4c8 100644 (file)
                                  0x02000000 0x00000000 0xe0000000 0x00011b00 0xe0000000 0x00000000 0x10000000  /* non-prefetchable memory */
                                  0x43000000 0x00011c00 0x00000000 0x00011c00 0x00000000 0x00000010 0x00000000>;/* prefetchable memory */
                };
+
+               uctl@118006c000000 {
+                       compatible = "cavium,octeon-7130-sata-uctl", "simple-bus";
+                       reg = <0x11800 0x6c000000 0x0 0x100>;
+                       ranges; /* Direct mapping */
+                       #address-cells = <2>;
+                       #size-cells = <2>;
+                       portmap = <0x3>;
+                       staggered-spinup;
+                       cavium,qlm-trim = "4,sata";
+
+                       sata: sata@16c0000000000 {
+                               compatible = "cavium,octeon-7130-ahci";
+                               reg = <0x16c00 0x00000000 0x0 0x200>;
+                               #address-cells = <2>;
+                               #size-cells = <2>;
+                               interrupts = <0x6c010 4>;
+                       };
+               };
        };
 };