[U-Boot] [PATCH 3/6] rockchip: dts: rk3288-tinker: enable sdmmc pinctrl node in spl

Jagan Teki jagan at amarulasolutions.com
Wed Jun 26 10:26:03 UTC 2019


On Wed, Jun 26, 2019 at 3:23 PM Kever Yang <kever.yang at rock-chips.com> wrote:
>
> rockchip pinctrl driver has update to use dts, so we need
> to add the pinctrl config in SPL for sdmmc.
>
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>
>  arch/arm/dts/rk3288-tinker.dts | 26 +++++++++++++++++++++++++-
>  1 file changed, 25 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/dts/rk3288-tinker.dts b/arch/arm/dts/rk3288-tinker.dts
> index 3edd21cc2f..108853e3db 100644
> --- a/arch/arm/dts/rk3288-tinker.dts
> +++ b/arch/arm/dts/rk3288-tinker.dts
> @@ -28,7 +28,7 @@
>
>
>  &pinctrl {
> -       u-boot,dm-pre-reloc;
> +       u-boot,dm-spl
>
>         usb {
>                 host_vbus_drv: host-vbus-drv {
> @@ -37,6 +37,30 @@
>         };
>  };
>
> +&pcfg_pull_none_drv_8ma {
> +       u-boot,dm-spl
> +};
> +
> +&pcfg_pull_up_drv_8ma {
> +       u-boot,dm-spl
> +};
> +
> +&sdmmc_bus4 {
> +       u-boot,dm-spl
> +};
> +
> +&sdmmc_clk {
> +       u-boot,dm-spl
> +};
> +
> +&sdmmc_cmd {
> +       u-boot,dm-spl
> +};
> +
> +&sdmmc_pwr {
> +       u-boot,dm-spl
> +};

Moving these to -u-boot.dtsi make easy for DTS sync later.


More information about the U-Boot mailing list