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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.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/cortina,gemini-sata-bridge.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Cortina Systems Gemini SATA Bridge
  8 
  9 maintainers:
 10   - Linus Walleij <linus.walleij@linaro.org>
 11 
 12 description: |
 13     The Gemini SATA bridge in a SoC-internal PATA to SATA bridge that
 14     takes two Faraday Technology FTIDE010 PATA controllers and bridges
 15     them in different configurations to two SATA ports.
 16 
 17 properties:
 18   compatible:
 19     const: cortina,gemini-sata-bridge
 20 
 21   reg:
 22     maxItems: 1
 23 
 24   resets:
 25     maxItems: 2
 26     description: phandles to the reset lines for both SATA bridges
 27 
 28   reset-names:
 29     items:
 30       - const: sata0
 31       - const: sata1
 32 
 33   clocks:
 34     maxItems: 2
 35     description: phandles to the compulsory peripheral clocks
 36 
 37   clock-names:
 38     items:
 39       - const: SATA0_PCLK
 40       - const: SATA1_PCLK
 41 
 42   syscon:
 43     $ref: /schemas/types.yaml#/definitions/phandle
 44     description: a phandle to the global Gemini system controller
 45 
 46   cortina,gemini-ata-muxmode:
 47     $ref: /schemas/types.yaml#/definitions/uint32
 48     enum:
 49       - 0
 50       - 1
 51       - 2
 52       - 3
 53     description: |
 54       Tell the desired multiplexing mode for the ATA controller and SATA
 55       bridges.
 56       Mode 0: ata0 master <-> sata0
 57               ata1 master <-> sata1
 58               ata0 slave interface brought out on IDE pads
 59       Mode 1: ata0 master <-> sata0
 60               ata1 master <-> sata1
 61               ata1 slave interface brought out on IDE pads
 62       Mode 2: ata1 master <-> sata1
 63               ata1 slave  <-> sata0
 64               ata0 master and slave interfaces brought out on IDE pads
 65       Mode 3: ata0 master <-> sata0
 66               ata0 slave  <-> sata1
 67               ata1 master and slave interfaces brought out on IDE pads
 68 
 69   cortina,gemini-enable-ide-pins:
 70     type: boolean
 71     description: Enables the PATA to IDE connection.
 72       The muxmode setting decides whether ATA0 or ATA1 is brought out,
 73       and whether master, slave or both interfaces get brought out.
 74 
 75   cortina,gemini-enable-sata-bridge:
 76     type: boolean
 77     description: Enables the PATA to SATA bridge inside the Gemnini SoC.
 78       The Muxmode decides what PATA blocks will be muxed out and how.
 79 
 80 required:
 81   - clocks
 82   - clock-names
 83   - cortina,gemini-ata-muxmode
 84   - resets
 85   - reset-names
 86   - compatible
 87   - reg
 88   - syscon
 89 
 90 additionalProperties: false
 91 
 92 examples:
 93   - |
 94     #include <dt-bindings/clock/cortina,gemini-clock.h>
 95     sata@46000000 {
 96       compatible = "cortina,gemini-sata-bridge";
 97       reg = <0x46000000 0x100>;
 98       resets = <&rcon 26>, <&rcon 27>;
 99       reset-names = "sata0", "sata1";
100       clocks = <&gcc GEMINI_CLK_GATE_SATA0>,
101                <&gcc GEMINI_CLK_GATE_SATA1>;
102       clock-names = "SATA0_PCLK", "SATA1_PCLK";
103       syscon = <&syscon>;
104       cortina,gemini-ata-muxmode = <3>;
105       cortina,gemini-enable-ide-pins;
106       cortina,gemini-enable-sata-bridge;
107     };

~ [ 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