第一次接触NXP,感触挺深的。以下是调试的基本步骤
- 一、设备树配置
--- a/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -166,7 +166,14 @@
gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
-*/
+*/
+ usdhc1_pwrseq: usdhc1_pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usdhc1_gpio>;
+ reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; //要结合自己的原理图配置
+ };
+
reg_usdhc2_vmmc: regulator-usdhc2 {
compatible = "regulator-fixed";
pinctrl-names = "default";
@@ -785,14 +792,15 @@
assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_500M>,
<&clk IMX8MP_SYS_PLL2_50M>;
l1ss-disabled;
- status = "okay";
-
+ status = "disabled";
+/*
wifi_wake_host {
compatible = "nxp,wif