^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Renesas usdhi6rol0 SD/SDIO host controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - compatible: must be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) "renesas,usdhi6rol0"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - interrupts: 3 interrupts, named "card detect", "data" and "SDIO" must be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) specified
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - clocks: a clock binding for the IMCLK input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - vmmc-supply: a phandle of a regulator, supplying Vcc to the card
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - vqmmc-supply: a phandle of a regulator, supplying VccQ to the card
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - pinctrl-names: Can contain a "default" entry and a "state_uhs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) entry. The state_uhs entry is used together with the default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) entry when the board requires distinct settings for UHS speeds.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - pinctrl-N: One property for each name listed in pinctrl-names, see
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) ../pinctrl/pinctrl-bindings.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Additionally any standard mmc bindings from mmc.txt can be used.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) sd0: sd@ab000000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) compatible = "renesas,usdhi6rol0";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) reg = <0xab000000 0x200>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) interrupts = <0 23 0x4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 0 24 0x4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 0 25 0x4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) interrupt-names = "card detect", "data", "SDIO";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) bus-width = <4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) max-frequency = <50000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) cap-power-off-card;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) clocks = <&imclk>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) vmmc-supply = <&vcc_sd0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) vqmmc-supply = <&vccq_sd0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) };