Hello, I encountered some problems when configuring the can device tree. I need your help. Thank you.
In the following settings, gpio_ can_ stb and gpio_ can_ en What are the functions of the two attributes?
In my circuit, CAN0_ STBY(E17)、CAN0_ ERR(E18)、CAN1_ STBY(C17)、CAN1_ ERR (C19) are all connected to DGND. In this case, do I need to set the device tree above to:
it’s the device tree to configure default pin state, you may update those settings.
you may see-also Topic 63300 to enable and check CAN on TX2.
thanks
please also check below…
there’s cboot options for loading device tree via file system. it’s checking /boot/extlinux/extlinux.conf for the FDT entry, if that’s specified, it’ll prior to kernel-dtb partition for loading device tree blob.
I don’t quite understand what you mean. What I want to ask is, gpio_ can_ stb and gpio_ can_ en What are the functions of the two attributes? Why do my settings of these two attributes not affect the test results of the can bus
is this driver has enabled?
it’s mttcan driver to parse device tree for these two properties.
for example, $public_sources/kernel_src/kernel/nvidia/drivers/net/can/mttcan/native/m_ttcan_linux.c