未验证 提交 edb24ffe 编写于 作者: E Emmanuel Vadot 提交者: Maxime Ripard

arm64: allwinner: a64-sopine: Add cd-gpios to mmc0 node

The card detect GPIO for Sopine and Pine64-LTS is PF6.
Add this to the dts.
Signed-off-by: NEmmanuel Vadot <manu@freebsd.org>
Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
上级 1f1f5183
......@@ -45,6 +45,8 @@
#include "sun50i-a64.dtsi"
#include <dt-bindings/gpio/gpio.h>
&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
......@@ -52,6 +54,7 @@
non-removable;
disable-wp;
bus-width = <4>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
status = "okay";
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册