From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 16 Oct 2024 01:20:19 +0000
Subject: [PATCH] 修改GPIO导出默认初始值
---
kernel/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/kernel/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index c413f9c..eb1ad28 100644
--- a/kernel/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/kernel/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -43,6 +43,7 @@
/ {
/* Will be filled by the bootloader */
memory@10000000 {
+ device_type = "memory";
reg = <0x10000000 0>;
};
@@ -202,7 +203,7 @@
&ecspi2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard2_ecspi2>;
- cs-gpios = <&gpio2 26 0>;
+ cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
status = "okay";
};
--
Gitblit v1.6.2