arm: dts: rk3128h-box-avb: add sdmmc_det for sdmmc pinctrl

This modification is to solve the problem that the SD card
is inserted after starting up, and the hot plug fails because
the det pin is initialized to GPIO

Change-Id: Id0d88259f7b30a75c07d7c2980563fc0d4148449
Signed-off-by: Lei Chen <lei.chen@rock-chips.com>
This commit is contained in:
Lei Chen
2018-08-16 09:57:24 +08:00
committed by Tao Huang
parent 6b002c60f2
commit e94efec6aa

View File

@@ -52,6 +52,14 @@
};
};
&pinctrl {
sdmmc {
sdmmc_det: sdmmc-det {
rockchip,pins = <1 RK_PC1 RK_FUNC_1 &pcfg_pull_none>;
};
};
};
&secure_memory {
/*
* enable like this:
@@ -59,3 +67,7 @@
*/
reg = <0x80000000 0x8000000>;
};
&sdmmc {
pinctrl-0 = <&sdmmc_pwr &sdmmc_clk &sdmmc_cmd &sdmmc_bus4 &sdmmc_det>;
};