Path: blob/main/sys/contrib/device-tree/Bindings/ata/apm-xgene.txt
48376 views
* APM X-Gene 6.0 Gb/s SATA host controller nodes12SATA host controller nodes are defined to describe on-chip Serial ATA3controllers. Each SATA controller (pair of ports) have its own node.45Required properties:6- compatible : Shall contain:7* "apm,xgene-ahci"8- reg : First memory resource shall be the AHCI memory9resource.10Second memory resource shall be the host controller11core memory resource.12Third memory resource shall be the host controller13diagnostic memory resource.144th memory resource shall be the host controller15AXI memory resource.165th optional memory resource shall be the host17controller MUX memory resource if required.18- interrupts : Interrupt-specifier for SATA host controller IRQ.19- clocks : Reference to the clock entry.20- phys : A list of phandles + phy-specifiers, one for each21entry in phy-names.22- phy-names : Should contain:23* "sata-phy" for the SATA 6.0Gbps PHY2425Optional properties:26- dma-coherent : Present if dma operations are coherent27- status : Shall be "ok" if enabled or "disabled" if disabled.28Default is "ok".2930Example:31sataclk: sataclk {32compatible = "fixed-clock";33#clock-cells = <1>;34clock-frequency = <100000000>;35clock-output-names = "sataclk";36};3738phy2: phy@1f22a000 {39compatible = "apm,xgene-phy";40reg = <0x0 0x1f22a000 0x0 0x100>;41#phy-cells = <1>;42};4344phy3: phy@1f23a000 {45compatible = "apm,xgene-phy";46reg = <0x0 0x1f23a000 0x0 0x100>;47#phy-cells = <1>;48};4950sata2: sata@1a400000 {51compatible = "apm,xgene-ahci";52reg = <0x0 0x1a400000 0x0 0x1000>,53<0x0 0x1f220000 0x0 0x1000>,54<0x0 0x1f22d000 0x0 0x1000>,55<0x0 0x1f22e000 0x0 0x1000>,56<0x0 0x1f227000 0x0 0x1000>;57interrupts = <0x0 0x87 0x4>;58dma-coherent;59clocks = <&sataclk 0>;60phys = <&phy2 0>;61phy-names = "sata-phy";62};6364sata3: sata@1a800000 {65compatible = "apm,xgene-ahci-pcie";66reg = <0x0 0x1a800000 0x0 0x1000>,67<0x0 0x1f230000 0x0 0x1000>,68<0x0 0x1f23d000 0x0 0x1000>,69<0x0 0x1f23e000 0x0 0x1000>,70<0x0 0x1f237000 0x0 0x1000>;71interrupts = <0x0 0x88 0x4>;72dma-coherent;73clocks = <&sataclk 0>;74phys = <&phy3 0>;75phy-names = "sata-phy";76};777879