Tool/software: Code Composer Studio
MCP79410-I/SN is connected I2C0 interface of J721E SoC. How to enable the same?
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.
Hi,
Following changes are needed:
J721e:/TDA4VM
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts index 6788a3611..9d642eb7a 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts @@ -593,6 +593,11 @@ #gpio-cells = <2>; }; + rtc@6f { + compatible = "microchip,mcp7941x"; + reg = <0x6f>; + }; + exp2: gpio@22 { compatible = "ti,tca6424"; reg = <0x22>;
Once you have made the changes in the defconfig & the dts files. All you need to do is:make linux
then copy the kernel and DT binaries to your rootfs:
cp $SDK_INSTALL_DIR:/board-support/linux*/arch/arm64/boot/Image $SDK_INSTALL_DIR:/board-support/linux*/arch/arm64/boot/dts/ti/k3-j721e-common-porc-board.dtb /media/$USER/rootfs/boot
J7200:
diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index 6788a3611..9d642eb7a 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -593,6 +593,11 @@ #gpio-cells = <2>; }; + rtc@6f { + compatible = "microchip,mcp7941x"; + reg = <0x6f>; + }; + exp2: gpio@22 { compatible = "ti,tca6424"; reg = <0x22>;
Once you have made the changes in the defconfig & the dts files. All you need to do is:make linux
then copy the kernel and DT binaries to your rootfs:
cp $SDK_INSTALL_DIR:/board-support/linux*/arch/arm64/boot/Image $SDK_INSTALL_DIR:/board-support/linux*/arch/arm64/boot/dts/ti/k3-j7200-common-porc-board.dtb /media/$USER/rootfs/boot
Best Regards,
Keerthy