~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/ata/mediatek,mtk-ahci.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/ata/mediatek,mtk-ahci.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: MediaTek Serial ATA controller
  8 
  9 maintainers:
 10   - Ryder Lee <ryder.lee@mediatek.com>
 11 
 12 allOf:
 13   - $ref: ahci-common.yaml#
 14 
 15 properties:
 16   compatible:
 17     items:
 18       - enum:
 19           - mediatek,mt7622-ahci
 20       - const: mediatek,mtk-ahci
 21 
 22   reg:
 23     maxItems: 1
 24 
 25   interrupts:
 26     maxItems: 1
 27 
 28   interrupt-names:
 29     const: hostc
 30 
 31   clocks:
 32     maxItems: 5
 33 
 34   clock-names:
 35     items:
 36       - const: ahb
 37       - const: axi
 38       - const: asic
 39       - const: rbc
 40       - const: pm
 41 
 42   power-domains:
 43     maxItems: 1
 44 
 45   resets:
 46     maxItems: 3
 47 
 48   reset-names:
 49     items:
 50       - const: axi
 51       - const: sw
 52       - const: reg
 53 
 54   mediatek,phy-mode:
 55     description: System controller phandle, used to enable SATA function
 56     $ref: /schemas/types.yaml#/definitions/phandle
 57 
 58 required:
 59   - reg
 60   - interrupts
 61   - interrupt-names
 62   - clocks
 63   - clock-names
 64   - phys
 65   - phy-names
 66   - ports-implemented
 67 
 68 unevaluatedProperties: false
 69 
 70 examples:
 71   - |
 72     #include <dt-bindings/clock/mt7622-clk.h>
 73     #include <dt-bindings/interrupt-controller/arm-gic.h>
 74     #include <dt-bindings/phy/phy.h>
 75     #include <dt-bindings/power/mt7622-power.h>
 76     #include <dt-bindings/reset/mt7622-reset.h>
 77 
 78     sata@1a200000 {
 79         compatible = "mediatek,mt7622-ahci", "mediatek,mtk-ahci";
 80         reg = <0x1a200000 0x1100>;
 81         interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;
 82         interrupt-names = "hostc";
 83         clocks = <&pciesys CLK_SATA_AHB_EN>,
 84                  <&pciesys CLK_SATA_AXI_EN>,
 85                  <&pciesys CLK_SATA_ASIC_EN>,
 86                  <&pciesys CLK_SATA_RBC_EN>,
 87                  <&pciesys CLK_SATA_PM_EN>;
 88         clock-names = "ahb", "axi", "asic", "rbc", "pm";
 89         phys = <&u3port1 PHY_TYPE_SATA>;
 90         phy-names = "sata-phy";
 91         ports-implemented = <0x1>;
 92         power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>;
 93         resets = <&pciesys MT7622_SATA_AXI_BUS_RST>,
 94                  <&pciesys MT7622_SATA_PHY_SW_RST>,
 95                  <&pciesys MT7622_SATA_PHY_REG_RST>;
 96         reset-names = "axi", "sw", "reg";
 97         mediatek,phy-mode = <&pciesys>;
 98     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php