devicetree: xilinx: zynqmp: add sata node
authorSuneel Garapati <suneel.garapati@xilinx.com>
Wed, 10 Jun 2015 10:16:56 +0000 (15:46 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 31 Jul 2015 08:46:25 +0000 (10:46 +0200)
add sata node with sata fixed clock nodes in dtsi file.
enable sata in zynqmp-ep108.dts with broken-gen2.

Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index 0a3f40ecd06da23957742e1a505b76a89f74067e..981e594f16b423603e49d783f31c9915d3258c85 100644 (file)
        };
 };
 
+&sata {
+       status = "okay";
+       ceva,broken-gen2;
+};
+
 &uart0 {
        status = "okay";
 };
index 11e0b00045cfb2a739ecac206808201d3b522483..72a37479026b8f7915c072d3b5959f9a4684c56f 100644 (file)
                        #size-cells = <0>;
                };
 
+               sata_clk: sata_clk {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <75000000>;
+               };
+
+               sata: ahci@fd0c0000 {
+                       compatible = "ceva,ahci-1v84";
+                       status = "disabled";
+                       reg = <0x0 0xfd0c0000 0x2000>;
+                       interrupt-parent = <&gic>;
+                       interrupts = <0 133 4>;
+                       clocks = <&sata_clk>;
+               };
+
                sdhci0: sdhci@ff160000 {
                        compatible = "arasan,sdhci-8.9a";
                        status = "disabled";