Alright, i was able to create and load an additional device-tree overlay to the it66122 on the beagley-ai:
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&it66122>;
__overlay__ {
status = "disabled";
};
};
};
Finally the kernel warning about Pin 14 beeing already requested is gone.
I’m pretty shure m_can0 will be fully functional, as it is now probed up.
Also the datasheet shows the same offsets and mux modes as found in the existing overlay:
k3-am625-beaglemod-can0.dts`// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
*/
/dts-v1/;
/plugin/;
#include "ti/k3-pinctrl.h"
/*
* Helper to show loaded overlays under: /proc/device-tree/chosen/overlays/
*/
&{/chosen} {
overlays {
k3-am625-beaglemod-can0.kernel = __TIMESTAMP__;
};
};
&{/} {
transceiver1: can-phy1 {
compatible = "ti,tcan1042";
#phy-cells = <0>;
max-bitrate = <5000000>;
};
};
&main_pmx0 {
main_mcan0_pins_default: main-mcan0-pins-default {
pinctrl-single,pins = <
AM62X_IOPAD(0x01dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */
AM62X_IOPAD(0x01d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */
>;
};
};
&main_mcan0 {
pinctrl-names = "default";
pinctrl-0 = <&main_mcan0_pins_default>;
phys = <&transceiver1>;
status = "okay";
};
AM62x datasheet (page 28):
AM67x datasheet (page 24):
My CAN transceivers are arriving next week and I’m looking forward to run some CAN tests.
I wil report back with some block diagrams and wiring schematics once i’ve tested my setup.
I deeply appreciate your help.
Best regards
Kai

