]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 8 May 2019 05:41:45 +0000 (11:11 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 9 May 2019 10:23:16 +0000 (18:23 +0800)
commitda6a45394e0b3ce920e779a02a5b5f1ef85a704c
tree66b4bafaf90094e63485a8333c515c3d69874b50
parent8735eb5733513f208f80582f95ea5abd52a595a3
rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1

Attaching GPIO functionality to SDMMC0_DET pin (which
does in Linux base dts) make dwmmc driver "fail to detect
the card".

  Card did not respond to voltage select!

It may be because the existing driver can't support gpio
card detection. So, change the pinctrl functionality from
RK_FUNC_GPIO to RK_FUNC_1 like other rk3399 dts does via
sdmmc_cd pin.

Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-nanopi4-u-boot.dtsi [new file with mode: 0644]