iMX93 EVK GPIO Device Tree Active High

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX93 EVK GPIO Device Tree Active High

106件の閲覧回数
AlanWen
Contributor II

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 返信

85件の閲覧回数
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 件の賞賛