From 5d23f884ee7063db5bc23a23794789868617d0a8 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 6 Dec 2021 10:18:24 -0600 Subject: cd-gpio is on pioA 1 (or gpio0 pin 1) --- recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts index 9cbf5fa..ba57758 100644 --- a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts +++ b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts @@ -71,7 +71,6 @@ atmel,pins = ; /* PA1 gpio SD card pin pull up and deglitch */ }; - /* /delete-property/ cd-gpios; */ }; /delete-node/ mmc@f000c000; @@ -438,3 +437,9 @@ phandle,linux = ; // gpio-base = <136>; }; +&mmc0 { + slot@0 { + cd-gpios = <&pioA 1 GPIO_ACTIVE_HIGH>; + }; +}; + -- cgit v1.2.3