主题中讨论的其他器件:SK-AM69
工具与软件:
嗨、团队:
原理图访问链接: https://www.ti.com.cn/cn/lit/zip/sprr466、the该电路板的 PCB 名称是 PROC154E3、我们根据此设计更改了扩展器上的 GPIO 顺序
文件 k3-i784s4-evm.dts 中的 GPIO 扩展名、SDK 版本为 09_01_00_06 。但是、原理图中只有一个扩展器、地址为0x21。
在这种情况下、如何找到 DTS 中 GPIO 引脚与原理图中 GPIO 引脚之间的对应关系
&main_i2c0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; clock-frequency = <400000>; exp1: gpio@20 { compatible = "ti,tca6416"; reg = <0x20>; gpio-controller; #gpio-cells = <2>; gpio-line-names = "PCIE1_2L_MODE_SEL", "PCIE1_4L_PERSTZ", "PCIE1_2L_RC_RSTZ", "PCIE1_2L_EP_RST_EN", "PCIE0_4L_MODE_SEL", "PCIE0_4L_PERSTZ", "PCIE0_4L_RC_RSTZ", "PCIE0_4L_EP_RST_EN", "PCIE1_4L_PRSNT#", "PCIE0_4L_PRSNT#", "CDCI1_OE1/OE4", "CDCI1_OE2/OE3", "AUDIO_MUX_SEL", "EXP_MUX2", "EXP_MUX3", "GESI_EXP_PHY_RSTZ"; }; exp2: gpio@22 { compatible = "ti,tca6424"; reg = <0x22>; gpio-controller; #gpio-cells = <2>; gpio-line-names = "R_GPIO_RGMII1_RST", "ENET2_I2CMUX_SEL", "GPIO_USD_PWR_EN", "USBC_PWR_EN", "USBC_MODE_SEL1", "USBC_MODE_SEL0", "GPIO_LIN_EN", "R_CAN_STB", "CTRL_PM_I2C_OE#", "ENET2_EXP_PWRDN", "ENET2_EXP_SPARE2", "CDCI2_RSTZ", "USB2.0_MUX_SEL", "CANUART_MUX_SEL0", "CANUART_MUX2_SEL1", "CANUART_MUX1_SEL1", "ENET1_EXP_PWRDN", "ENET1_EXP_RESETZ", "ENET1_I2CMUX_SEL", "ENET1_EXP_SPARE2", "ENET2_EXP_RESETZ", "USER_INPUT1", "USER_LED1", "USER_LED2"; }; };
期待您的回复、谢谢