diff options
author | William Qiu <william.qiu@starfivetech.com> | 2022-09-09 12:39:43 +0800 |
---|---|---|
committer | William Qiu <william.qiu@starfivetech.com> | 2022-09-09 12:39:43 +0800 |
commit | 9d7c885399d0794d666a245e224ce605fcae0638 (patch) | |
tree | f6a1f7c2fe88d89496d91ae0d681a80ed29d03ee /Documentation | |
parent | 1f1e2db1d7475419a63daddbda73f0ba5ed82148 (diff) | |
download | linux-starfive-9d7c885399d0794d666a245e224ce605fcae0638.tar.gz linux-starfive-9d7c885399d0794d666a245e224ce605fcae0638.tar.bz2 linux-starfive-9d7c885399d0794d666a245e224ce605fcae0638.zip |
dt-bindings:SDIO:Add bindings for StarFive JH7110 SDIO
Add bindings for StarFive JH7110 SDIO
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/starfive,jh7110-sdio.yaml | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/starfive,jh7110-sdio.yaml b/Documentation/devicetree/bindings/mmc/starfive,jh7110-sdio.yaml new file mode 100644 index 000000000000..8bdf95202965 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/starfive,jh7110-sdio.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/starfive,jh7110-sdio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 SDIO Device Tree Bindings + +description: | + Bindings for the JH7110 RISC-V SoC from StarFive Ltd. + +maintainers: + - William Qiu <william,qiu@starfivetech.com> + +properties: + compatible: + const: starfive,jh7110-sdio + + reg: + maxItems: 1 + + clocks: + minItems: 1 + items: + -description: biu clock + -description: ciu clock + + clock-names: + minItems: 1 + items: + -const: biu + -const: ciu + + resets: + maxItems: 1 + + reset-names: + maxItems: 1 + -const: reset + + interrupts: + maxItems: 1 + + fifo-depth: + maxItems: 1 + + data-addr: + maxItem: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - reset-names + - interrupts + - fifo-depth + - data-addr + +examples: + - | + sdio0: sdio0@16010000 { + compatible = "starfive,jh7110-sdio"; + reg = <0x0 0x16010000 0x0 0x10000>; + clocks = <&clkgen JH7110_SDIO0_CLK_AHB>, + <&clkgen JH7110_SDIO0_CLK_SDCARD>; + clock-names = "biu","ciu"; + resets = <&rstgen RSTN_U0_DW_SDIO_AHB>; + reset-names = "reset"; + interrupts = <74>; + fifo-depth = <32>; + fifo-watermark-aligned; + data-addr = <0>; + starfive,sys-syscon = <&sys_syscon 0x14 0x1a 0x7c000000>; + status = "disabled"; + }; |