From 25c010e8c16095c095450b5aae4acb1ea3374beb Mon Sep 17 00:00:00 2001 From: Jun Li Date: Tue, 9 Apr 2024 17:45:56 +0800 Subject: [PATCH] ARM: dts: msm: Change cd-gpio polarity setting for HDK Sun According to Sun HDK HW design, the logic level of cd-gpio is HIGH with card and is LOW without card. Set cd-gpio flag to GPIO_ACTIVE_HIGH for high active card installed interruption. Change-Id: Ia70a08df70119dafea8dd7b75e68fc50fd2b76d2 Signed-off-by: Jun Li --- qcom/sunp-hdk.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcom/sunp-hdk.dtsi b/qcom/sunp-hdk.dtsi index 6f37f67f..f1fc1b16 100644 --- a/qcom/sunp-hdk.dtsi +++ b/qcom/sunp-hdk.dtsi @@ -5,6 +5,10 @@ #include "sun-qrd-sku1-v8.dtsi" +&sdhc_2 { + cd-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>; +}; + &qupv3_se4_spi { #address-cells = <1>; #size-cells = <0>;