| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/mmc/mmc-controller.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: MMC Controller Common Properties |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ulf Hansson <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
These properties are common to multiple MMC host controllers. Any host |
| 14 |
that requires the respective functionality should implement them using |
| 15 |
these definitions. |
| 16 |
|
| 17 |
It is possible to assign a fixed index mmcN to an MMC host controller |
| 18 |
(and the corresponding mmcblkN devices) by defining an alias in the |
| 19 |
/aliases device tree node. |
| 20 |
|
| 21 |
$ref: mmc-controller-common.yaml# |
| 22 |
|
| 23 |
properties: |
| 24 |
$nodename: |
| 25 |
pattern: "^mmc(@.*)?$" |
| 26 |
|
| 27 |
additionalProperties: true |
| 28 |
|
| 29 |
examples: |
| 30 |
- | |
| 31 |
mmc3: mmc@1c12000 { |
| 32 |
#address-cells = <1>; |
| 33 |
#size-cells = <0>; |
| 34 |
reg = <0x1c12000 0x200>; |
| 35 |
pinctrl-names = "default"; |
| 36 |
pinctrl-0 = <&mmc3_pins_a>; |
| 37 |
vmmc-supply = <®_vmmc3>; |
| 38 |
bus-width = <4>; |
| 39 |
non-removable; |
| 40 |
mmc-pwrseq = <&sdhci0_pwrseq>; |
| 41 |
|
| 42 |
brcmf: wifi@1 { |
| 43 |
reg = <1>; |
| 44 |
compatible = "brcm,bcm4329-fmac"; |
| 45 |
interrupt-parent = <&pio>; |
| 46 |
interrupts = <10 8>; |
| 47 |
interrupt-names = "host-wake"; |
| 48 |
}; |
| 49 |
}; |