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/imx6q-cm-fx6.dts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/kernel/arch/arm/boot/dts/imx6q-cm-fx6.dts b/kernel/arch/arm/boot/dts/imx6q-cm-fx6.dts
index 18ae4f3..1ad41c9 100644
--- a/kernel/arch/arm/boot/dts/imx6q-cm-fx6.dts
+++ b/kernel/arch/arm/boot/dts/imx6q-cm-fx6.dts
@@ -51,6 +51,7 @@
compatible = "compulab,cm-fx6", "fsl,imx6q";
memory@10000000 {
+ device_type = "memory";
reg = <0x10000000 0x80000000>;
};
@@ -254,12 +255,12 @@
};
&ecspi1 {
- cs-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>, <&gpio3 19 GPIO_ACTIVE_HIGH>;
+ cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";
- m25p80@0 {
+ flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,m25p", "jedec,spi-nor";
--
Gitblit v1.6.2