mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

Change ref to mmc-controller-common.yaml from mmc-controller.yaml because imx23/imx28 use dual mode controller (spi and mmc). So default dts node name use spi instead of mmc. The legacy reason, it use difference compatible string to distringuish work mode (spi / mmc). Fix below CHECK_DTB warnings: arch/arm/boot/dts/nxp/mxs/imx23-olinuxino.dtb: spi@80010000 (fsl,imx23-mmc): $nodename:0: 'spi@80010000' does not match '^mmc(@.*)?$' Additional add clocks property. Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Stefan Wahren <wahrenst@gmx.net> Link: https://lore.kernel.org/r/20250603152245.1068740-1-Frank.Li@nxp.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
63 lines
1.1 KiB
YAML
63 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Freescale MXS MMC controller
|
|
|
|
maintainers:
|
|
- Shawn Guo <shawnguo@kernel.org>
|
|
|
|
description: |
|
|
The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller
|
|
to support MMC, SD, and SDIO types of memory cards.
|
|
|
|
This file documents differences between the core properties in mmc.txt
|
|
and the properties used by the mxsmmc driver.
|
|
|
|
allOf:
|
|
- $ref: mmc-controller-common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- fsl,imx23-mmc
|
|
- fsl,imx28-mmc
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
dmas:
|
|
maxItems: 1
|
|
|
|
dma-names:
|
|
const: rx-tx
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- dmas
|
|
- dma-names
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
mmc@80010000 {
|
|
compatible = "fsl,imx28-mmc";
|
|
reg = <0x80010000 2000>;
|
|
interrupts = <96>;
|
|
clocks = <&clks 46>;
|
|
dmas = <&dma_apbh 0>;
|
|
dma-names = "rx-tx";
|
|
bus-width = <8>;
|
|
};
|