Hi Vladimir,
On Wed, Aug 31, 2016 at 12:03 PM, Vladimir Barinov
<[email protected]> wrote:
> This supports SDHI0 on H3ULCB board SD card slot
>
> Signed-off-by: Vladimir Barinov <[email protected]>
Thanks for your patch!
> --- a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
> +++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
> @@ -82,6 +118,18 @@
> status = "okay";
> };
>
> +&sdhi0 {
> + pinctrl-0 = <&sdhi0_pins_3v3>;
> + pinctrl-1 = <&sdhi0_pins_1v8>;
> + pinctrl-names = "default", "state_uhs";
> +
> + vmmc-supply = <&vcc_sdhi0>;
> + vqmmc-supply = <&vccq_sdhi0>;
> + cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
> + bus-width = <4>;
> + status = "okay";
> +};
According to the schematics, SD0_WP is wired, so I think you want to add
wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
As you add UHS pins, I think you want to add
sd-uhs-sdr50
too.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds