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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mmc/aspeed,sdhci.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-or-later
  2 # Copyright 2019 IBM Corp.
  3 %YAML 1.2
  4 ---
  5 $id: http://devicetree.org/schemas/mmc/aspeed,sdhci.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: ASPEED SD/SDIO/MMC Controller
  9 
 10 maintainers:
 11   - Andrew Jeffery <andrew@aj.id.au>
 12   - Ryan Chen <ryanchen.aspeed@gmail.com>
 13 
 14 description: |+
 15   The ASPEED SD/SDIO/eMMC controller exposes two slots implementing the SDIO
 16   Host Specification v2.00, with 1 or 4 bit data buses, or an 8 bit data bus if
 17   only a single slot is enabled.
 18 
 19   The two slots are supported by a common configuration area. As the SDHCIs for
 20   the slots are dependent on the common configuration area, they are described
 21   as child nodes.
 22 
 23 properties:
 24   compatible:
 25     enum:
 26       - aspeed,ast2400-sd-controller
 27       - aspeed,ast2500-sd-controller
 28       - aspeed,ast2600-sd-controller
 29   reg:
 30     maxItems: 1
 31     description: Common configuration registers
 32   "#address-cells":
 33     const: 1
 34   "#size-cells":
 35     const: 1
 36   ranges: true
 37   clocks:
 38     maxItems: 1
 39     description: The SD/SDIO controller clock gate
 40 
 41 patternProperties:
 42   "^sdhci@[0-9a-f]+$":
 43     type: object
 44     $ref: mmc-controller.yaml
 45     unevaluatedProperties: false
 46 
 47     properties:
 48       compatible:
 49         enum:
 50           - aspeed,ast2400-sdhci
 51           - aspeed,ast2500-sdhci
 52           - aspeed,ast2600-sdhci
 53       reg:
 54         maxItems: 1
 55         description: The SDHCI registers
 56       clocks:
 57         maxItems: 1
 58         description: The SD bus clock
 59       interrupts:
 60         maxItems: 1
 61         description: The SD interrupt shared between both slots
 62       sdhci,auto-cmd12:
 63         type: boolean
 64         description: Specifies that controller should use auto CMD12
 65     required:
 66       - compatible
 67       - reg
 68       - clocks
 69       - interrupts
 70 
 71 additionalProperties: false
 72 
 73 required:
 74   - compatible
 75   - reg
 76   - "#address-cells"
 77   - "#size-cells"
 78   - ranges
 79   - clocks
 80 
 81 examples:
 82   - |
 83     #include <dt-bindings/clock/aspeed-clock.h>
 84     sdc@1e740000 {
 85             compatible = "aspeed,ast2500-sd-controller";
 86             reg = <0x1e740000 0x100>;
 87             #address-cells = <1>;
 88             #size-cells = <1>;
 89             ranges = <0 0x1e740000 0x20000>;
 90             clocks = <&syscon ASPEED_CLK_GATE_SDCLK>;
 91 
 92             sdhci0: sdhci@100 {
 93                     compatible = "aspeed,ast2500-sdhci";
 94                     reg = <0x100 0x100>;
 95                     interrupts = <26>;
 96                     sdhci,auto-cmd12;
 97                     clocks = <&syscon ASPEED_CLK_SDIO>;
 98             };
 99 
100             sdhci1: sdhci@200 {
101                     compatible = "aspeed,ast2500-sdhci";
102                     reg = <0x200 0x100>;
103                     interrupts = <26>;
104                     sdhci,auto-cmd12;
105                     clocks = <&syscon ASPEED_CLK_SDIO>;
106             };
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