Device Tree: Wake Up on pin 43 (WAKEUP Source<0>) and SDIO

Hi
I built a custom carrier board with the folowing funtions:

  • Wake Up with logic LOW at pin 43 (WAKEUP Source<0>)
  • configure 3.3V SDIO standard speed communication (3.3V/50MHz/4-lines/no wakeup)

I copied the imx7d-colibri-eval-v3.dts file to configure the device tree to my needs.

WakeUP:

gpio-keys {
	compatible = "gpio-keys";
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_gpiokeys>;

	power {
		label = "Wake-Up";
		gpios = <&gpio1 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 
		linux,code = <KEY_WAKEUP>;
		debounce-interval = <10>;
		gpio-key,wakeup;
	};
};

SDIO:

&usdhc1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_cd_usdhc1>;
	non-removable;
	no-1-8-v;
	disable-wp;
	bus-width = <4>;
	status = "okay";
};

Is it done with this configurations in the .dts file?

Hello Roger,
We would recommend to use the pin we have specified.
Is there a way to do that for you ?
Other then that it loks ok

Best Regards,

Matthias Gohlke