Baikal-T1 SoC AHCI SATA controller

Schema identifier ($id): "http://devicetree.org/schemas/ata/baikal,bt1-ahci.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"

AHCI SATA controller embedded into the Baikal-T1 SoC is based on the DWC AHCI SATA v4.10a IP-core.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): snps,dwc-ahci-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "baikal,bt1-ahci"

clocks — required here #

Array item rules (items) #

Item 1

Peripheral APB bus clock

Item 2

Application AXI BIU clock

Item 3

SATA Ports reference clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "aclk"

Item 3

Exact value (const): "ref"

resets — required here #

Array item rules (items) #

Item 1

Application AXI BIU domain reset

Item 2

SATA Ports clock domain reset

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "arst"

Item 2

Exact value (const): "ref"

ports-implemented — not listed as required here #

Maximum value (maximum): 3

Properties matching a name pattern (patternProperties) #

^sata-port@[0-1]$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port

Properties and child nodes (properties) #

reg — not listed as required here

Minimum value (minimum): 0

Maximum value (maximum): 1

snps,tx-ts-max — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Due to having AXI3 bus interface utilized the maximum Tx DMA transaction size can't exceed 16 beats (AxLEN[3:0]).

Allowed values (enum): 1, 2, 4, 8, 16

snps,rx-ts-max — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Due to having AXI3 bus interface utilized the maximum Rx DMA transaction size can't exceed 16 beats (AxLEN[3:0]).

Allowed values (enum): 1, 2, 4, 8, 16

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

sata@1f050000 {
  compatible = "baikal,bt1-ahci";
  reg = <0x1f050000 0x2000>;
  #address-cells = <1>;
  #size-cells = <0>;

  interrupts = <0 64 4>;

  clocks = <&ccu_sys 1>, <&ccu_axi 2>, <&sata_ref_clk>;
  clock-names = "pclk", "aclk", "ref";

  resets = <&ccu_axi 2>, <&ccu_sys 0>;
  reset-names = "arst", "ref";

  ports-implemented = <0x3>;

  sata-port@0 {
    reg = <0>;

    snps,tx-ts-max = <4>;
    snps,rx-ts-max = <4>;
  };

  sata-port@1 {
    reg = <1>;

    snps,tx-ts-max = <4>;
    snps,rx-ts-max = <4>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page