iMX93 EVK GPIO Device Tree Active High

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX93 EVK GPIO Device Tree Active High

313 次查看
AlanWen
Contributor III

Board: iMX93 EVK

BSP Version: 6.6.3_1.0.0

I'm trying to add a new pin as gpio3 26 and set as pull_high but I got a similar pin name `MX93_PAD_CCM_CLKO1__GPIO3_IO26` in $WORK_DIR/tmp/work/imx93evk-poky-linux/linux-imx/6.6.3+git/git/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts

How can I edit this dts file to make a custom gpio pin define like below ?

&iomuxc {

    pinctrl_mygpio: mygpio {
        fsl,pins = <
        GPIO_PIN_NAME
        >;
    };

};

&gpio3{
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mygpio>;
};

Thanks.

标记 (5)
0 项奖励
回复
1 回复

292 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @AlanWen!
Thank you for contacting NXP Support!

You can refer to the next community post on how to edit devicetree.

Best Regards!
Chavira

0 项奖励
回复