This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM625:标签"GPIO0"在设备树中不可用。

Guru**** 2470720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1468150/am625-the-label-gpio0-is-not-available-in-the-device-tree

器件型号:AM625

工具与软件:

你(们)好

我使用补丁将以下器件树添加到"k3-am625-sk.dts "、但收到错误。
该错误消息提示标签"gpio0"不存在。
我缺少什么吗?

谢谢。

・我添加的器件树
mydevice-misc
  兼容="mydev、mydevice-misc"

   KEY 输入 GPIO =<
   &GPIO0 42 GPIO_ACTIVE_HIGH
   &GPIO0 32 GPIO_ACTIVE_HIGH
   GPIO0 38 GPIO_ACTIVE_HIGH
   GPIO0 39 GPIO_ACTIVE_HIGH
   &GPIO0 41 GPIO_ACTIVE_HIGH
   GPIO0 33 GPIO_ACTIVE_HIGH
>
}
・错误消息
/home/user/projects/tisdk/build/arago-tmp-default-glibc/work-shared/am62xx-evm/kernel-source/arch/arm64/boot/dts/ti/k3-am625-sk.dts :181.15-214.4:错误(phandle_references):/mydevice-misc  :引用不存在的节点或标签"gpio0"
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    首先、"mydevice-misc"节点在末尾丢失了最后一个;

    GPIO0在哪里定义?

    此致、

    Anshu