Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi TI team,
It can load the enet_lwip_icssg app successfully on R5F from linux, but it will be stuck in the Module_clockSetFrequency when calling the SOC_moduleSetClockFrequency for setting first clock TISCI_DEV_PRU_ICSSG1_CORE_CLK.
Here is the current clock configuration info:
SOC_ModuleClockFrequency gSocModulesClockFrequency[] = {
{ TISCI_DEV_PRU_ICSSG1, TISCI_DEV_PRU_ICSSG1_CORE_CLK, 250000000 },
{ TISCI_DEV_PRU_ICSSG1, TISCI_DEV_PRU_ICSSG1_UCLK_CLK, 192000000 },
{ TISCI_DEV_PRU_ICSSG1, TISCI_DEV_PRU_ICSSG1_IEP_CLK, 200000000 },
{ TISCI_DEV_UART1, TISCI_DEV_UART1_FCLK_CLK, 48000000 },
{ SOC_MODULES_END, SOC_MODULES_END, SOC_MODULES_END },
};
And from the linux side, I have already disabled the icssg1 in the device tree as below:
--- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
@@ -755,6 +755,7 @@ icssg1_eth: icssg1-eth {
compatible = "ti,am642-icssg-prueth";
pinctrl-names = "default";
pinctrl-0 = <&icssg1_rgmii1_pins_default>;
+ status = "disabled";
sram = <&oc_sram>;
ti,prus = <&pru1_0>, <&rtu1_0>, <&tx_pru1_0>, <&pru1_1>, <&rtu1_1>, <&tx_pru1_1>;
@@ -817,6 +818,10 @@ icssg1_emac1: port@1 {
};
};
+&icssg1 {
+ status = "disabled";
+};
+
&mailbox0_cluster2 {
mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
ti,mbox-rx = <0 0 2>;
@@ -908,7 +913,8 @@ icssg0_phy1: ethernet-phy@1 {
};
&icssg1_mdio {
- status = "okay";
+ //status = "okay";
+ status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <&icssg1_mdio1_pins_default>;
So could you please help check what happens here, and how to get forward?
Thanks,
Tiger