]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: coral: Update the SD card-detect GPIO
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:06 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 00:59:36 +0000 (13:59 +1300)
Since the recent bug fix, it doesn't matter which GPIO phandle is used so
long as the GPIO number is right. Still, we may as well use the correct
one to avoid confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/x86/dts/chromebook_coral.dts

index 4cadfd198d079e9fa8a88b54309b01b5576e0975..db8eb8805b775ebbd32868e8052cb9e7c2d7cb23 100644 (file)
                sdmmc: sdmmc@1b,0 {
                        reg = <0x0000d800 0 0 0 0>;
                        compatible = "intel,apl-sd";
-                       cd-gpios = <&gpio_n GPIO_177 GPIO_ACTIVE_LOW>;
+                       cd-gpios = <&gpio_sw GPIO_177 GPIO_ACTIVE_LOW>;
                        acpi,name = "SDCD";
                };