rockchip: dts: rk322x: add cd-gpios

Add cd-gpios to test the mmc device whether exit.

Change-Id: I171f4c0d895baf1a1b54c971fc88370a0b10ce3a
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
Jason Zhu 2019-02-22 22:10:29 +08:00 committed by Jianhong Chen
parent eef7c6f46a
commit 4df150d128
2 changed files with 5 additions and 0 deletions

View File

@ -61,3 +61,7 @@
u-boot,dm-pre-reloc;
status = "okay";
};
&gpio1 {
u-boot,dm-pre-reloc;
};

View File

@ -459,6 +459,7 @@
<&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
fifo-depth = <0x100>;
cd-gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
status = "disabled";