18c2ecf20Sopenharmony_ci* APM X-Gene 6.0 Gb/s SATA host controller nodes 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciSATA host controller nodes are defined to describe on-chip Serial ATA 48c2ecf20Sopenharmony_cicontrollers. Each SATA controller (pair of ports) have its own node. 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciRequired properties: 78c2ecf20Sopenharmony_ci- compatible : Shall contain: 88c2ecf20Sopenharmony_ci * "apm,xgene-ahci" 98c2ecf20Sopenharmony_ci- reg : First memory resource shall be the AHCI memory 108c2ecf20Sopenharmony_ci resource. 118c2ecf20Sopenharmony_ci Second memory resource shall be the host controller 128c2ecf20Sopenharmony_ci core memory resource. 138c2ecf20Sopenharmony_ci Third memory resource shall be the host controller 148c2ecf20Sopenharmony_ci diagnostic memory resource. 158c2ecf20Sopenharmony_ci 4th memory resource shall be the host controller 168c2ecf20Sopenharmony_ci AXI memory resource. 178c2ecf20Sopenharmony_ci 5th optional memory resource shall be the host 188c2ecf20Sopenharmony_ci controller MUX memory resource if required. 198c2ecf20Sopenharmony_ci- interrupts : Interrupt-specifier for SATA host controller IRQ. 208c2ecf20Sopenharmony_ci- clocks : Reference to the clock entry. 218c2ecf20Sopenharmony_ci- phys : A list of phandles + phy-specifiers, one for each 228c2ecf20Sopenharmony_ci entry in phy-names. 238c2ecf20Sopenharmony_ci- phy-names : Should contain: 248c2ecf20Sopenharmony_ci * "sata-phy" for the SATA 6.0Gbps PHY 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciOptional properties: 278c2ecf20Sopenharmony_ci- dma-coherent : Present if dma operations are coherent 288c2ecf20Sopenharmony_ci- status : Shall be "ok" if enabled or "disabled" if disabled. 298c2ecf20Sopenharmony_ci Default is "ok". 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciExample: 328c2ecf20Sopenharmony_ci sataclk: sataclk { 338c2ecf20Sopenharmony_ci compatible = "fixed-clock"; 348c2ecf20Sopenharmony_ci #clock-cells = <1>; 358c2ecf20Sopenharmony_ci clock-frequency = <100000000>; 368c2ecf20Sopenharmony_ci clock-output-names = "sataclk"; 378c2ecf20Sopenharmony_ci }; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci phy2: phy@1f22a000 { 408c2ecf20Sopenharmony_ci compatible = "apm,xgene-phy"; 418c2ecf20Sopenharmony_ci reg = <0x0 0x1f22a000 0x0 0x100>; 428c2ecf20Sopenharmony_ci #phy-cells = <1>; 438c2ecf20Sopenharmony_ci }; 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci phy3: phy@1f23a000 { 468c2ecf20Sopenharmony_ci compatible = "apm,xgene-phy"; 478c2ecf20Sopenharmony_ci reg = <0x0 0x1f23a000 0x0 0x100>; 488c2ecf20Sopenharmony_ci #phy-cells = <1>; 498c2ecf20Sopenharmony_ci }; 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci sata2: sata@1a400000 { 528c2ecf20Sopenharmony_ci compatible = "apm,xgene-ahci"; 538c2ecf20Sopenharmony_ci reg = <0x0 0x1a400000 0x0 0x1000>, 548c2ecf20Sopenharmony_ci <0x0 0x1f220000 0x0 0x1000>, 558c2ecf20Sopenharmony_ci <0x0 0x1f22d000 0x0 0x1000>, 568c2ecf20Sopenharmony_ci <0x0 0x1f22e000 0x0 0x1000>, 578c2ecf20Sopenharmony_ci <0x0 0x1f227000 0x0 0x1000>; 588c2ecf20Sopenharmony_ci interrupts = <0x0 0x87 0x4>; 598c2ecf20Sopenharmony_ci dma-coherent; 608c2ecf20Sopenharmony_ci clocks = <&sataclk 0>; 618c2ecf20Sopenharmony_ci phys = <&phy2 0>; 628c2ecf20Sopenharmony_ci phy-names = "sata-phy"; 638c2ecf20Sopenharmony_ci }; 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci sata3: sata@1a800000 { 668c2ecf20Sopenharmony_ci compatible = "apm,xgene-ahci-pcie"; 678c2ecf20Sopenharmony_ci reg = <0x0 0x1a800000 0x0 0x1000>, 688c2ecf20Sopenharmony_ci <0x0 0x1f230000 0x0 0x1000>, 698c2ecf20Sopenharmony_ci <0x0 0x1f23d000 0x0 0x1000>, 708c2ecf20Sopenharmony_ci <0x0 0x1f23e000 0x0 0x1000>, 718c2ecf20Sopenharmony_ci <0x0 0x1f237000 0x0 0x1000>; 728c2ecf20Sopenharmony_ci interrupts = <0x0 0x88 0x4>; 738c2ecf20Sopenharmony_ci dma-coherent; 748c2ecf20Sopenharmony_ci clocks = <&sataclk 0>; 758c2ecf20Sopenharmony_ci phys = <&phy3 0>; 768c2ecf20Sopenharmony_ci phy-names = "sata-phy"; 778c2ecf20Sopenharmony_ci }; 78