mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
f0be051e5b
Add a pinctrl binding to specify different pin settings for high speed modes and UHS modes. Signed-off-by: Lars Persson <larper@axis.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
* Renesas usdhi6rol0 SD/SDIO host controller
|
|
|
|
Required properties:
|
|
|
|
- compatible: must be
|
|
"renesas,usdhi6rol0"
|
|
- interrupts: 3 interrupts, named "card detect", "data" and "SDIO" must be
|
|
specified
|
|
- clocks: a clock binding for the IMCLK input
|
|
|
|
Optional properties:
|
|
|
|
- vmmc-supply: a phandle of a regulator, supplying Vcc to the card
|
|
- vqmmc-supply: a phandle of a regulator, supplying VccQ to the card
|
|
- pinctrl-names: Can contain a "default" entry and a "state_uhs"
|
|
entry. The state_uhs entry is used together with the default
|
|
entry when the board requires distinct settings for UHS speeds.
|
|
|
|
- pinctrl-N: One property for each name listed in pinctrl-names, see
|
|
../pinctrl/pinctrl-bindings.txt.
|
|
|
|
Additionally any standard mmc bindings from mmc.txt can be used.
|
|
|
|
Example:
|
|
|
|
sd0: sd@ab000000 {
|
|
compatible = "renesas,usdhi6rol0";
|
|
reg = <0xab000000 0x200>;
|
|
interrupts = <0 23 0x4
|
|
0 24 0x4
|
|
0 25 0x4>;
|
|
interrupt-names = "card detect", "data", "SDIO";
|
|
bus-width = <4>;
|
|
max-frequency = <50000000>;
|
|
cap-power-off-card;
|
|
clocks = <&imclk>;
|
|
vmmc-supply = <&vcc_sd0>;
|
|
vqmmc-supply = <&vccq_sd0>;
|
|
};
|