Skip to content

Commit

Permalink
dt-bindings: mmc: sdhci-of-dwcmhsc: Add rockchip support
Browse files Browse the repository at this point in the history
This patch adds rockchip support in sdhci-of-dwcmhsc.yaml

Signed-off-by: Shawn Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
  • Loading branch information
shawn1221 authored and storulf committed Mar 30, 2021
1 parent 169162c commit dd12261
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ allOf:
properties:
compatible:
enum:
- rockchip,rk3568-dwcmshc
- snps,dwcmshc-sdhci

reg:
Expand All @@ -31,12 +32,24 @@ properties:
items:
- description: core clock
- description: bus clock for optional
- description: axi clock for rockchip specified
- description: block clock for rockchip specified
- description: timer clock for rockchip specified


clock-names:
minItems: 1
items:
- const: core
- const: bus
- const: axi
- const: block
- const: timer

rockchip,txclk-tapnum:
description: Specify the number of delay for tx sampling.
$ref: /schemas/types.yaml#/definitions/uint8


required:
- compatible
Expand All @@ -48,6 +61,17 @@ required:
unevaluatedProperties: false

examples:
- |
mmc@fe310000 {
compatible = "rockchip,rk3568-dwcmshc";
reg = <0xfe310000 0x10000>;
interrupts = <0 25 0x4>;
clocks = <&cru 17>, <&cru 18>, <&cru 19>, <&cru 20>, <&cru 21>;
clock-names = "core", "bus", "axi", "block", "timer";
bus-width = <8>;
#address-cells = <1>;
#size-cells = <0>;
};
- |
mmc@aa0000 {
compatible = "snps,dwcmshc-sdhci";
Expand Down

0 comments on commit dd12261

Please sign in to comment.