Files
cubelinux-kernel/Documentation/devicetree/bindings/mmc/starfive,jh7110-mmc.yaml
T
Greg Kroah-Hartman 598cf27219 Linux 6.19.3
Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com>
Tested-by: Peter Schneider <pschneider1968@googlemail.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Salvatore Bonaccorso <carnil@debian.org>
Tested-by: Brett A C Sheffield <bacs@librecast.net>
Tested-by: Mark Brown <broonie@kernel.org>
Tested-by: Luna Jernberg <droidbittin@gmail.com>
Tested-by: Ronald Warsow <rwarsow@gmx.de>
Tested-by: Justin M. Forbes <jforbes@fedoraproject.org>
Tested-by: Ron Economos <re@w6rz.net>
Tested-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-02-19 16:33:27 +01:00

76 lines
1.9 KiB
YAML

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/mmc/starfive,jh7110-mmc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: StarFive Designware Mobile Storage Host Controller
description:
StarFive uses the Synopsys designware mobile storage host controller
to interface a SoC with storage medium such as eMMC or SD/MMC cards.
allOf:
- $ref: synopsys-dw-mshc-common.yaml#
maintainers:
- William Qiu <william.qiu@starfivetech.com>
properties:
compatible:
const: starfive,jh7110-mmc
reg:
maxItems: 1
clocks:
items:
- description: biu clock
- description: ciu clock
clock-names:
items:
- const: biu
- const: ciu
interrupts:
maxItems: 1
starfive,sysreg:
$ref: /schemas/types.yaml#/definitions/phandle-array
items:
- items:
- description: phandle to System Register Controller syscon node
- description: offset of SYS_SYSCONSAIF__SYSCFG register for MMC controller
- description: shift of SYS_SYSCONSAIF__SYSCFG register for MMC controller
- description: mask of SYS_SYSCONSAIF__SYSCFG register for MMC controller
description:
Should be four parameters, the phandle to System Register Controller
syscon node and the offset/shift/mask of SYS_SYSCONSAIF__SYSCFG register
for MMC controller.
required:
- compatible
- reg
- clocks
- clock-names
- interrupts
unevaluatedProperties: false
examples:
- |
mmc@16010000 {
compatible = "starfive,jh7110-mmc";
reg = <0x16010000 0x10000>;
clocks = <&syscrg 91>,
<&syscrg 93>;
clock-names = "biu","ciu";
resets = <&syscrg 64>;
reset-names = "reset";
interrupts = <74>;
fifo-depth = <32>;
fifo-watermark-aligned;
data-addr = <0>;
};