162306a36Sopenharmony_ci* APM X-Gene 6.0 Gb/s SATA host controller nodes 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciSATA host controller nodes are defined to describe on-chip Serial ATA 462306a36Sopenharmony_cicontrollers. Each SATA controller (pair of ports) have its own node. 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciRequired properties: 762306a36Sopenharmony_ci- compatible : Shall contain: 862306a36Sopenharmony_ci * "apm,xgene-ahci" 962306a36Sopenharmony_ci- reg : First memory resource shall be the AHCI memory 1062306a36Sopenharmony_ci resource. 1162306a36Sopenharmony_ci Second memory resource shall be the host controller 1262306a36Sopenharmony_ci core memory resource. 1362306a36Sopenharmony_ci Third memory resource shall be the host controller 1462306a36Sopenharmony_ci diagnostic memory resource. 1562306a36Sopenharmony_ci 4th memory resource shall be the host controller 1662306a36Sopenharmony_ci AXI memory resource. 1762306a36Sopenharmony_ci 5th optional memory resource shall be the host 1862306a36Sopenharmony_ci controller MUX memory resource if required. 1962306a36Sopenharmony_ci- interrupts : Interrupt-specifier for SATA host controller IRQ. 2062306a36Sopenharmony_ci- clocks : Reference to the clock entry. 2162306a36Sopenharmony_ci- phys : A list of phandles + phy-specifiers, one for each 2262306a36Sopenharmony_ci entry in phy-names. 2362306a36Sopenharmony_ci- phy-names : Should contain: 2462306a36Sopenharmony_ci * "sata-phy" for the SATA 6.0Gbps PHY 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciOptional properties: 2762306a36Sopenharmony_ci- dma-coherent : Present if dma operations are coherent 2862306a36Sopenharmony_ci- status : Shall be "ok" if enabled or "disabled" if disabled. 2962306a36Sopenharmony_ci Default is "ok". 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciExample: 3262306a36Sopenharmony_ci sataclk: sataclk { 3362306a36Sopenharmony_ci compatible = "fixed-clock"; 3462306a36Sopenharmony_ci #clock-cells = <1>; 3562306a36Sopenharmony_ci clock-frequency = <100000000>; 3662306a36Sopenharmony_ci clock-output-names = "sataclk"; 3762306a36Sopenharmony_ci }; 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ci phy2: phy@1f22a000 { 4062306a36Sopenharmony_ci compatible = "apm,xgene-phy"; 4162306a36Sopenharmony_ci reg = <0x0 0x1f22a000 0x0 0x100>; 4262306a36Sopenharmony_ci #phy-cells = <1>; 4362306a36Sopenharmony_ci }; 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci phy3: phy@1f23a000 { 4662306a36Sopenharmony_ci compatible = "apm,xgene-phy"; 4762306a36Sopenharmony_ci reg = <0x0 0x1f23a000 0x0 0x100>; 4862306a36Sopenharmony_ci #phy-cells = <1>; 4962306a36Sopenharmony_ci }; 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci sata2: sata@1a400000 { 5262306a36Sopenharmony_ci compatible = "apm,xgene-ahci"; 5362306a36Sopenharmony_ci reg = <0x0 0x1a400000 0x0 0x1000>, 5462306a36Sopenharmony_ci <0x0 0x1f220000 0x0 0x1000>, 5562306a36Sopenharmony_ci <0x0 0x1f22d000 0x0 0x1000>, 5662306a36Sopenharmony_ci <0x0 0x1f22e000 0x0 0x1000>, 5762306a36Sopenharmony_ci <0x0 0x1f227000 0x0 0x1000>; 5862306a36Sopenharmony_ci interrupts = <0x0 0x87 0x4>; 5962306a36Sopenharmony_ci dma-coherent; 6062306a36Sopenharmony_ci clocks = <&sataclk 0>; 6162306a36Sopenharmony_ci phys = <&phy2 0>; 6262306a36Sopenharmony_ci phy-names = "sata-phy"; 6362306a36Sopenharmony_ci }; 6462306a36Sopenharmony_ci 6562306a36Sopenharmony_ci sata3: sata@1a800000 { 6662306a36Sopenharmony_ci compatible = "apm,xgene-ahci-pcie"; 6762306a36Sopenharmony_ci reg = <0x0 0x1a800000 0x0 0x1000>, 6862306a36Sopenharmony_ci <0x0 0x1f230000 0x0 0x1000>, 6962306a36Sopenharmony_ci <0x0 0x1f23d000 0x0 0x1000>, 7062306a36Sopenharmony_ci <0x0 0x1f23e000 0x0 0x1000>, 7162306a36Sopenharmony_ci <0x0 0x1f237000 0x0 0x1000>; 7262306a36Sopenharmony_ci interrupts = <0x0 0x88 0x4>; 7362306a36Sopenharmony_ci dma-coherent; 7462306a36Sopenharmony_ci clocks = <&sataclk 0>; 7562306a36Sopenharmony_ci phys = <&phy3 0>; 7662306a36Sopenharmony_ci phy-names = "sata-phy"; 7762306a36Sopenharmony_ci }; 78