Path: blob/main/sys/contrib/device-tree/Bindings/ata/ahci-mtk.txt
48375 views
MediaTek Serial ATA controller12Required properties:3- compatible : Must be "mediatek,<chip>-ahci", "mediatek,mtk-ahci".4When using "mediatek,mtk-ahci" compatible strings, you5need SoC specific ones in addition, one of:6- "mediatek,mt7622-ahci"7- reg : Physical base addresses and length of register sets.8- interrupts : Interrupt associated with the SATA device.9- interrupt-names : Associated name must be: "hostc".10- clocks : A list of phandle and clock specifier pairs, one for each11entry in clock-names.12- clock-names : Associated names must be: "ahb", "axi", "asic", "rbc", "pm".13- phys : A phandle and PHY specifier pair for the PHY port.14- phy-names : Associated name must be: "sata-phy".15- ports-implemented : See ./ahci-platform.txt for details.1617Optional properties:18- power-domains : A phandle and power domain specifier pair to the power19domain which is responsible for collapsing and restoring20power to the peripheral.21- resets : Must contain an entry for each entry in reset-names.22See ../reset/reset.txt for details.23- reset-names : Associated names must be: "axi", "sw", "reg".24- mediatek,phy-mode : A phandle to the system controller, used to enable25SATA function.2627Example:2829sata: sata@1a200000 {30compatible = "mediatek,mt7622-ahci",31"mediatek,mtk-ahci";32reg = <0 0x1a200000 0 0x1100>;33interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;34interrupt-names = "hostc";35clocks = <&pciesys CLK_SATA_AHB_EN>,36<&pciesys CLK_SATA_AXI_EN>,37<&pciesys CLK_SATA_ASIC_EN>,38<&pciesys CLK_SATA_RBC_EN>,39<&pciesys CLK_SATA_PM_EN>;40clock-names = "ahb", "axi", "asic", "rbc", "pm";41phys = <&u3port1 PHY_TYPE_SATA>;42phy-names = "sata-phy";43ports-implemented = <0x1>;44power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>;45resets = <&pciesys MT7622_SATA_AXI_BUS_RST>,46<&pciesys MT7622_SATA_PHY_SW_RST>,47<&pciesys MT7622_SATA_PHY_REG_RST>;48reset-names = "axi", "sw", "reg";49mediatek,phy-mode = <&pciesys>;50};515253