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.

AM4378: Rx Align/Code error with DP83848

Part Number: AM4378

Hi, Forum.

I have some problems with am4378 custom board with dp83848.

1. MDIO and Tx seem to be fine, but Rx seems to have a problem.

Wireshark 

Ping but don`t receive packet (host : 192.168.180.214 / board : 192.168.180.55)

ETHTOOL

root@am437x-evm:~# ethtool -S eth0
NIC statistics:
Good Rx Frames: 15
Broadcast Rx Frames: 8
Multicast Rx Frames: 7
Pause Rx Frames: 0
Rx CRC Errors: 0
Rx Align/Code Errors: 289
Oversize Rx Frames: 0
Rx Jabbers: 0
Undersize (Short) Rx Frames: 0
Rx Fragments: 0
Rx Octets: 2073
Good Tx Frames: 47
Broadcast Tx Frames: 8
Multicast Tx Frames: 39
Pause Tx Frames: 0
Deferred Tx Frames: 0
Collisions: 0
Single Collision Tx Frames: 0
Multiple Collision Tx Frames: 0
Excessive Collisions: 0
Late Collisions: 0
Tx Underrun: 0
Carrier Sense Errors: 0
Tx Octets: 8082
Rx + Tx 64 Octet Frames: 73
Rx + Tx 65-127 Octet Frames: 189
Rx + Tx 128-255 Octet Frames: 42
Rx + Tx 256-511 Octet Frames: 19
Rx + Tx 512-1023 Octet Frames: 28
Rx + Tx 1024-Up Octet Frames: 0
Net Octets: 57190
Rx Start of Frame Overruns: 0
Rx Middle of Frame Overruns: 0
Rx DMA Overruns: 0
Rx DMA chan 0: head_enqueue: 1
Rx DMA chan 0: tail_enqueue: 136
Rx DMA chan 0: pad_enqueue: 0
Rx DMA chan 0: misqueued: 0
Rx DMA chan 0: desc_alloc_fail: 0
Rx DMA chan 0: pad_alloc_fail: 0
Rx DMA chan 0: runt_receive_buf: 0
Rx DMA chan 0: runt_transmit_bu: 0
Rx DMA chan 0: empty_dequeue: 0
Rx DMA chan 0: busy_dequeue: 9
Rx DMA chan 0: good_dequeue: 9
Rx DMA chan 0: requeue: 0
Rx DMA chan 0: teardown_dequeue: 0
Tx DMA chan 0: head_enqueue: 47
Tx DMA chan 0: tail_enqueue: 0
Tx DMA chan 0: pad_enqueue: 0
Tx DMA chan 0: misqueued: 0
Tx DMA chan 0: desc_alloc_fail: 0
Tx DMA chan 0: pad_alloc_fail: 0
Tx DMA chan 0: runt_receive_buf: 0
Tx DMA chan 0: runt_transmit_bu: 0
Tx DMA chan 0: empty_dequeue: 47
Tx DMA chan 0: busy_dequeue: 0
Tx DMA chan 0: good_dequeue: 47
Tx DMA chan 0: requeue: 0
Tx DMA chan 0: teardown_dequeue: 0

Kernel boot message

Don`t use pin for Phy reset

2. am4378 Malfunction with DP83848(eth1)

if host connect custom board  10/100Mbps, am4378 malfunctions.

Phy id is 5. 

If have any ideas, please share to me. 

Thank you.  

  • Hi,

    Thanks for including the ethtool Statistics dump. The alignment errors is not good. 

    Rx Align/Code Errors: 289

    This usually indicates a HW error. Could you please include the board DTS file the you are using and the boot log?

    Best Regards,

    Schuyler

  • DTS here.

    /dts-v1/;
    
    #include "am4372.dtsi"
    #include <dt-bindings/pinctrl/am43xx.h>
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/input/input.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM437x SK EVM";
    	compatible = "ti,am437x-sk-evm","ti,am4372","ti,am43";
    
    	chosen {
    		stdout-path = &uart0;
    	};
    	evm_v3_3d: fixedregulator-v3_3d {
            compatible = "regulator-fixed";
            regulator-name = "evm_v3_3d";
            regulator-min-microvolt = <3300000>;
            regulator-max-microvolt = <3300000>;
            enable-active-high;
            regulator-boot-on;
            regulator-always-on;
    	};
    };
    
    &am43xx_pinmux {
    	mycam1_pins_default: mycam1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x9b0, PIN_INPUT | MUX_MODE0) /* (AE17) cam0_hd.cam0_hd */
    			AM4372_IOPAD(0x9b4, PIN_INPUT | MUX_MODE0) /* (AD18) cam0_vd.cam0_vd */
    			AM4372_IOPAD(0x9c0, PIN_INPUT | MUX_MODE0) /* (AC20) cam0_pclk.cam0_pclk */
    			AM4372_IOPAD(0xa08, PIN_INPUT | MUX_MODE0) /* (AE18) cam0_data0.cam0_data0 */
    			AM4372_IOPAD(0xa0c, PIN_INPUT | MUX_MODE0) /* (AB18) cam0_data1.cam0_data1 */
    			AM4372_IOPAD(0xa10, PIN_INPUT | MUX_MODE0) /* (Y18) cam0_data2.cam0_data2 */
    			AM4372_IOPAD(0xa14, PIN_INPUT | MUX_MODE0) /* (AA18) cam0_data3.cam0_data3 */
    			AM4372_IOPAD(0xa18, PIN_INPUT | MUX_MODE0) /* (AE19) cam0_data4.cam0_data4 */
    			AM4372_IOPAD(0xa1c, PIN_INPUT | MUX_MODE0) /* (AD19) cam0_data5.cam0_data5 */
    			AM4372_IOPAD(0xa20, PIN_INPUT | MUX_MODE0) /* (AE20) cam0_data6.cam0_data6 */
    			AM4372_IOPAD(0xa24, PIN_INPUT | MUX_MODE0) /* (AD20) cam0_data7.cam0_data7 */
    		>;
    	};
    
    	mydebugss1_pins_default: mydebugss1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xa90, PIN_INPUT | MUX_MODE0) /* (Y24) TMS.TMS */
    			AM4372_IOPAD(0xa94, PIN_INPUT | MUX_MODE0) /* (Y20) TDI.TDI */
    			AM4372_IOPAD(0xa98, PIN_OUTPUT | MUX_MODE0) /* (AA24) TDO.TDO */
    			AM4372_IOPAD(0xa9c, PIN_INPUT | MUX_MODE0) /* (AA25) TCK.TCK */
    			AM4372_IOPAD(0xaa0, PIN_INPUT | MUX_MODE0) /* (Y25) nTRST.nTRST */
    			AM4372_IOPAD(0xaa4, PIN_INPUT | MUX_MODE0) /* (N23) EMU0.EMU0 */
    			AM4372_IOPAD(0xaa8, PIN_INPUT | MUX_MODE0) /* (T24) EMU1.EMU1 */
    		>;
    	};
    
    
    	mydss1_pins_default: mydss1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0) /* (B23) dss_vsync.dss_vsync */
    			AM4372_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0) /* (A23) dss_hsync.dss_hsync */
    			AM4372_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0) /* (A22) dss_pclk.dss_pclk */
    			AM4372_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0) /* (A24) dss_ac_bias_en.dss_ac_bias_en */
    			AM4372_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0) /* (B22) dss_data0.dss_data0 */
    			AM4372_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0) /* (A21) dss_data1.dss_data1 */
    			AM4372_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0) /* (B21) dss_data2.dss_data2 */
    			AM4372_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0) /* (C21) dss_data3.dss_data3 */
    			AM4372_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0) /* (A20) dss_data4.dss_data4 */
    			AM4372_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0) /* (B20) dss_data5.dss_data5 */
    			AM4372_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0) /* (C20) dss_data6.dss_data6 */
    			AM4372_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0) /* (E19) dss_data7.dss_data7 */
    			AM4372_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0) /* (A19) dss_data8.dss_data8 */
    			AM4372_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0) /* (B19) dss_data9.dss_data9 */
    			AM4372_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0) /* (A18) dss_data10.dss_data10 */
    			AM4372_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0) /* (B18) dss_data11.dss_data11 */
    			AM4372_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0) /* (C19) dss_data12.dss_data12 */
    			AM4372_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0) /* (D19) dss_data13.dss_data13 */
    			AM4372_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0) /* (C17) dss_data14.dss_data14 */
    			AM4372_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0) /* (D17) dss_data15.dss_data15 */
    			AM4372_IOPAD(0x83c, PIN_OUTPUT | MUX_MODE1) /* (A11) gpmc_ad15.dss_data16 */
    			AM4372_IOPAD(0x838, PIN_OUTPUT | MUX_MODE1) /* (B11) gpmc_ad14.dss_data17 */
    			AM4372_IOPAD(0x834, PIN_OUTPUT | MUX_MODE1) /* (C11) gpmc_ad13.dss_data18 */
    			AM4372_IOPAD(0x830, PIN_OUTPUT | MUX_MODE1) /* (E11) gpmc_ad12.dss_data19 */
    			AM4372_IOPAD(0x82c, PIN_OUTPUT | MUX_MODE1) /* (D11) gpmc_ad11.dss_data20 */
    			AM4372_IOPAD(0x828, PIN_OUTPUT | MUX_MODE1) /* (F11) gpmc_ad10.dss_data21 */
    			AM4372_IOPAD(0x824, PIN_OUTPUT | MUX_MODE1) /* (A10) gpmc_ad9.dss_data22 */
    			AM4372_IOPAD(0x820, PIN_OUTPUT | MUX_MODE1) /* (B10) gpmc_ad8.dss_data23 */
    		>;
    	};
    
    	mygpio1_pins_default: mygpio1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x9d0, PIN_INPUT | MUX_MODE7) /* (AD24) cam1_data8.gpio4[8] */
    			AM4372_IOPAD(0x9d4, PIN_INPUT | MUX_MODE7) /* (AD25) cam1_hd.gpio4[9] */
    			AM4372_IOPAD(0x9d8, PIN_INPUT | MUX_MODE7) /* (AC23) cam1_vd.gpio4[10] */
    			AM4372_IOPAD(0x9dc, PIN_INPUT | MUX_MODE7) /* (AE21) cam1_pclk.gpio4[11] */
    			AM4372_IOPAD(0x9e0, PIN_INPUT | MUX_MODE7) /* (AC25) cam1_field.gpio4[12] */
    			AM4372_IOPAD(0x9e4, PIN_INPUT | MUX_MODE7) /* (AB25) cam1_wen.gpio4[13] */
    			AM4372_IOPAD(0x9e8, PIN_INPUT | MUX_MODE7) /* (AB20) cam1_data0.gpio4[14] */
    			AM4372_IOPAD(0x9ec, PIN_INPUT | MUX_MODE7) /* (AC21) cam1_data1.gpio4[15] */
    			AM4372_IOPAD(0x9f0, PIN_INPUT | MUX_MODE7) /* (AD21) cam1_data2.gpio4[16] */
    			AM4372_IOPAD(0x9f4, PIN_INPUT | MUX_MODE7) /* (AE22) cam1_data3.gpio4[17] */
    			AM4372_IOPAD(0x9f8, PIN_INPUT | MUX_MODE7) /* (AD22) cam1_data4.gpio4[18] */
    			AM4372_IOPAD(0x9fc, PIN_INPUT | MUX_MODE7) /* (AE23) cam1_data5.gpio4[19] */
    			AM4372_IOPAD(0xa00, PIN_INPUT | MUX_MODE7) /* (AD23) cam1_data6.gpio4[20] */
    			AM4372_IOPAD(0xa04, PIN_INPUT | MUX_MODE7) /* (AE24) cam1_data7.gpio4[21] */
    		>;
    	};
    
    	myi2c1_pins_default: myi2c1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x98c, PIN_INPUT | MUX_MODE0) /* (Y22) I2C0_SCL.I2C0_SCL */
    			AM4372_IOPAD(0x988, PIN_INPUT | MUX_MODE0) /* (AB24) I2C0_SDA.I2C0_SDA */
    		>;
    	};
    
    	myi2c2_pins_default: myi2c2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xa40, PIN_INPUT | MUX_MODE1) /* (G20) gpio5_10.I2C1_SCL */
    			AM4372_IOPAD(0xa48, PIN_INPUT | MUX_MODE1) /* (E25) gpio5_12.I2C1_SDA */
    		>;
    	};
    	mymcasp1_pins_default: mymcasp1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x990, PIN_INPUT | MUX_MODE0) /* (N24) mcasp0_aclkx.mcasp0_aclkx */
    			AM4372_IOPAD(0x994, PIN_INPUT | MUX_MODE0) /* (N22) mcasp0_fsx.mcasp0_fsx */
    			AM4372_IOPAD(0x998, PIN_OUTPUT | MUX_MODE0) /* (H23) mcasp0_axr0.mcasp0_axr0 */
    			AM4372_IOPAD(0x9a8, PIN_OUTPUT | MUX_MODE0) /* (M25) mcasp0_axr1.mcasp0_axr1 */
    		>;
    	};
    
    
    	mymdio1_pins_default: mymdio1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x94c, PIN_OUTPUT | MUX_MODE0) /* (B17) mdio_clk.mdio_clk */
    			AM4372_IOPAD(0x948, PIN_INPUT | MUX_MODE0) /* (A17) mdio_data.mdio_data */
    		>;
    	};
    
            cpsw_default: cpsw_default {
                    pinctrl-single,pins = <
               		AM4372_IOPAD(0x878, PIN_INPUT | MUX_MODE1) /* (A3) gpmc_be1n.gmii2_col */
    			AM4372_IOPAD(0x870, PIN_INPUT | MUX_MODE1) /* (A2) gpmc_wait0.gmii2_crs */
    			AM4372_IOPAD(0x874, PIN_INPUT | MUX_MODE1) /* (B3) gpmc_wpn.gmii2_rxer */
    			AM4372_IOPAD(0x840, PIN_OUTPUT | MUX_MODE1) /* (C3) gpmc_a0.gmii2_txen */
    			AM4372_IOPAD(0x844, PIN_INPUT | MUX_MODE1) /* (C5) gpmc_a1.gmii2_rxdv */
    			AM4372_IOPAD(0x858, PIN_INPUT | MUX_MODE1) /* (E8) gpmc_a6.gmii2_txclk */
    			AM4372_IOPAD(0x85c, PIN_INPUT | MUX_MODE1) /* (F6) gpmc_a7.gmii2_rxclk */
    			AM4372_IOPAD(0x854, PIN_OUTPUT | MUX_MODE1) /* (E7) gpmc_a5.gmii2_txd0 */
    			AM4372_IOPAD(0x850, PIN_OUTPUT | MUX_MODE1) /* (D7) gpmc_a4.gmii2_txd1 */
    			AM4372_IOPAD(0x84c, PIN_OUTPUT | MUX_MODE1) /* (A4) gpmc_a3.gmii2_txd2 */
    			AM4372_IOPAD(0x848, PIN_OUTPUT | MUX_MODE1) /* (C6) gpmc_a2.gmii2_txd3 */
    			AM4372_IOPAD(0x86c, PIN_INPUT | MUX_MODE1) /* (D8) gpmc_a11.gmii2_rxd0 */
    			AM4372_IOPAD(0x868, PIN_INPUT | MUX_MODE1) /* (G8) gpmc_a10.gmii2_rxd1 */
    			AM4372_IOPAD(0x864, PIN_INPUT | MUX_MODE1) /* (B4) gpmc_a9.gmii2_rxd2 */
    			AM4372_IOPAD(0x860, PIN_INPUT | MUX_MODE1) /* (F7) gpmc_a8.gmii2_rxd3 */
    
    			AM4372_IOPAD(0x908, PIN_INPUT | MUX_MODE0) /* (D16) mii1_col.gmii1_col */
    			AM4372_IOPAD(0x90c, PIN_INPUT | MUX_MODE0) /* (B14) mii1_crs.gmii1_crs */
    			AM4372_IOPAD(0x910, PIN_INPUT | MUX_MODE0) /* (B13) mii1_rx_er.gmii1_rxer */
    			AM4372_IOPAD(0x914, PIN_OUTPUT | MUX_MODE0) /* (A13) mii1_tx_en.gmii1_txen */
    			AM4372_IOPAD(0x918, PIN_INPUT | MUX_MODE0) /* (A15) mii1_rx_dv.gmii1_rxdv */
    			AM4372_IOPAD(0x92c, PIN_INPUT | MUX_MODE0) /* (D14) mii1_tx_clk.gmii1_txclk */
    			AM4372_IOPAD(0x930, PIN_INPUT | MUX_MODE0) /* (D13) mii1_rx_clk.gmii1_rxclk */
    			AM4372_IOPAD(0x928, PIN_OUTPUT | MUX_MODE0) /* (B15) mii1_txd0.gmii1_txd0 */
    			AM4372_IOPAD(0x924, PIN_OUTPUT | MUX_MODE0) /* (A14) mii1_txd1.gmii1_txd1 */
    			AM4372_IOPAD(0x920, PIN_OUTPUT | MUX_MODE0) /* (C13) mii1_txd2.gmii1_txd2 */
    			AM4372_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE0) /* (C16) mii1_txd3.gmii1_txd3 */
    			AM4372_IOPAD(0x940, PIN_INPUT | MUX_MODE0) /* (F17) mii1_rxd0.gmii1_rxd0 */
    			AM4372_IOPAD(0x93c, PIN_INPUT | MUX_MODE0) /* (B16) mii1_rxd1.gmii1_rxd1 */
    			AM4372_IOPAD(0x938, PIN_INPUT | MUX_MODE0) /* (E16) mii1_rxd2.gmii1_rxd2 */
    			AM4372_IOPAD(0x934, PIN_INPUT | MUX_MODE0) /* (C14) mii1_rxd3.gmii1_rxd3 */	
    		>;
            };
    
    	mymmc1_pins_default: mymmc1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x900, PIN_INPUT | MUX_MODE0) /* (D1) mmc0_clk.mmc0_clk */
    			AM4372_IOPAD(0x904, PIN_INPUT | MUX_MODE0) /* (D2) mmc0_cmd.mmc0_cmd */
    			AM4372_IOPAD(0x8fc, PIN_INPUT | MUX_MODE0) /* (C1) mmc0_dat0.mmc0_dat0 */
    			AM4372_IOPAD(0x8f8, PIN_INPUT | MUX_MODE0) /* (C2) mmc0_dat1.mmc0_dat1 */
    			AM4372_IOPAD(0x8f4, PIN_INPUT | MUX_MODE0) /* (B2) mmc0_dat2.mmc0_dat2 */
    			AM4372_IOPAD(0x8f0, PIN_INPUT | MUX_MODE0) /* (B1) mmc0_dat3.mmc0_dat3 */
    			AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE5) /* (R25) spi0_cs1.mmc0_sdcd */
    			AM4372_IOPAD(0x9a0, PIN_INPUT | MUX_MODE4) /* (L23) mcasp0_aclkr.mmc0_sdwp */
    		>;
    	};
    
    
    	mymmc2_pins_default: mymmc2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x880, PIN_INPUT | MUX_MODE2) /* (B9) gpmc_csn1.mmc1_clk */
    			AM4372_IOPAD(0x884, PIN_INPUT | MUX_MODE2) /* (F10) gpmc_csn2.mmc1_cmd */
    			AM4372_IOPAD(0x800, PIN_INPUT | MUX_MODE1) /* (B5) gpmc_ad0.mmc1_dat0 */
    			AM4372_IOPAD(0x804, PIN_INPUT | MUX_MODE1) /* (A5) gpmc_ad1.mmc1_dat1 */
    			AM4372_IOPAD(0x808, PIN_INPUT | MUX_MODE1) /* (B6) gpmc_ad2.mmc1_dat2 */
    			AM4372_IOPAD(0x80c, PIN_INPUT | MUX_MODE1) /* (A6) gpmc_ad3.mmc1_dat3 */
    			AM4372_IOPAD(0x810, PIN_INPUT | MUX_MODE1) /* (B7) gpmc_ad4.mmc1_dat4 */
    			AM4372_IOPAD(0x814, PIN_INPUT | MUX_MODE1) /* (A7) gpmc_ad5.mmc1_dat5 */
    			AM4372_IOPAD(0x818, PIN_INPUT | MUX_MODE1) /* (C8) gpmc_ad6.mmc1_dat6 */
    			AM4372_IOPAD(0x81c, PIN_INPUT | MUX_MODE1) /* (B8) gpmc_ad7.mmc1_dat7 */
    		>;
    	};
    
    	myosc1_pins_default: myosc1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xaac, PIN_INPUT | MUX_MODE0) /* (AE5) RTC_XTALIN.OSC1_IN */
    			AM4372_IOPAD(0xab0, PIN_OUTPUT | MUX_MODE0) /* (AE4) RTC_XTALOUT.OSC1_OUT */
    		>;
    	};
    
    
    	myosc2_pins_default: myosc2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xa88, PIN_INPUT | MUX_MODE0) /* (C25) XTALIN.OSC0_IN */
    			AM4372_IOPAD(0xa8c, PIN_OUTPUT | MUX_MODE0) /* (B25) XTALOUT.OSC0_OUT */
    		>;
    	};
    
    
    	myrtc1_pins_default: myrtc1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xab4, PIN_INPUT | MUX_MODE0) /* (AE6) RTC_PWRONRSTn.RTC_PORz */
    			AM4372_IOPAD(0xab8, PIN_OUTPUT | MUX_MODE0) /* (AE3) RTC_WAKEUP.RTC_WAKEUP */
    			AM4372_IOPAD(0xabc, PIN_INPUT | MUX_MODE0) /* (AD6) RTC_PMIC_EN.RTC_PMIC_EN */
    		>;
    	};
    
    	myspi1_pins_default: myspi1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x950, PIN_INPUT | MUX_MODE0) /* (P23) spi0_sclk.spi0_sclk */
    			AM4372_IOPAD(0x954, PIN_INPUT | MUX_MODE0) /* (T22) spi0_d0.spi0_d0 */
    			AM4372_IOPAD(0x958, PIN_INPUT | MUX_MODE0) /* (T21) spi0_d1.spi0_d1 */
    			AM4372_IOPAD(0x95c, PIN_OUTPUT | MUX_MODE0) /* (T20) spi0_cs0.spi0_cs0 */
    		>;
    	};
    
    	myspi2_pins_default: myspi2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x964, PIN_INPUT | MUX_MODE4) /* (G24) eCAP0_in_PWM0_out.spi1_sclk */
    			AM4372_IOPAD(0x968, PIN_INPUT | MUX_MODE4) /* (L25) uart0_ctsn.spi1_d0 */
    			AM4372_IOPAD(0x96c, PIN_INPUT | MUX_MODE4) /* (J25) uart0_rtsn.spi1_d1 */
    			AM4372_IOPAD(0x944, PIN_OUTPUT | MUX_MODE2) /* (A16) rmii1_ref_clk.spi1_cs0 */
    		>;
    	};
    
    	myuart1_pins_default: myuart1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xa28, PIN_INPUT | MUX_MODE0) /* (H25) uart3_rxd.uart3_rxd */
    			AM4372_IOPAD(0xa2c, PIN_OUTPUT | MUX_MODE0) /* (H24) uart3_txd.uart3_txd */
    		>;
    	};
    
    	myuart2_pins_default: myuart2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE0) /* (K21) uart1_rxd.uart1_rxd */
    			AM4372_IOPAD(0x984, PIN_OUTPUT | MUX_MODE0) /* (L21) uart1_txd.uart1_txd */
    		>;
    	};
    
    	myuart3_pins_default: myuart3_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x970, PIN_INPUT | MUX_MODE0) /* (K25) uart0_rxd.uart0_rxd */
    			AM4372_IOPAD(0x974, PIN_OUTPUT | MUX_MODE0) /* (J24) uart0_txd.uart0_txd */
    		>;
    	};
    
    
    	myusb1_pins_default: myusb1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xac0, PIN_OUTPUT | MUX_MODE0) /* (G21) USB0_DRVVBUS.USB0_DRVVBUS */
    		>;
    	};
    
    	myusb2_pins_default: myusb2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xac4, PIN_OUTPUT | MUX_MODE0) /* (F25) USB1_DRVVBUS.USB1_DRVVBUS */
    		>;
    	};
    };
    
    &i2c0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&myi2c1_pins_default>;
    	clock-frequency = <100000>;
    
    	tps@24 {
    		compatible = "ti,tps65218";
    		reg = <0x24>;
    		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    
    		dcdc1: regulator-dcdc1 {
    			/* VDD_CORE limits min of OPP50 and max of OPP100 */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912000>;
    			regulator-max-microvolt = <1144000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc2: regulator-dcdc2 {
    			/* VDD_MPU limits min of OPP50 and max of OPP_NITRO */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912000>;
    			regulator-max-microvolt = <1378000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc3: regulator-dcdc3 {
    			regulator-name = "vdds_ddr";
    			regulator-boot-on;
    			regulator-always-on;
    			regulator-state-mem {
    				regulator-on-in-suspend;
    			};
    			regulator-state-disk {
    				regulator-off-in-suspend;
    			};
    		};
    
    		dcdc4: regulator-dcdc4 {
    			regulator-name = "v3_3d";
    			regulator-min-microvolt = <3300000>;
    			regulator-max-microvolt = <3300000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc5: regulator-dcdc5 {
    			compatible = "ti,tps65218-dcdc5";
    			regulator-name = "v1_0bat";
    			regulator-min-microvolt = <1000000>;
    			regulator-max-microvolt = <1000000>;
    			regulator-boot-on;
    			regulator-always-on;
    			regulator-state-mem {
    				regulator-on-in-suspend;
    			};
    		};
    
    		dcdc6: regulator-dcdc6 {
    			compatible = "ti,tps65218-dcdc6";
    			regulator-name = "v1_8bat";
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <1800000>;
    			regulator-boot-on;
    			regulator-always-on;
    			regulator-state-mem {
    				regulator-on-in-suspend;
    			};
    		};
    
    		ldo1: regulator-ldo1 {
    			regulator-name = "v1_8d";
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <1800000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		power-button {
    			compatible = "ti,tps65218-pwrbutton";
    			status = "okay";
    			interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
    		};
    	};
    	at24@50 {
    		compatible = "atmel,24c256";
    		pagesize = <64>;
    		reg = <0x50>;
    	};
    };
    
    &epwmss0 {
    	status = "okay";
    };
    
    /*
    &gpio1 {
    	status = "okay";
    };
    
    &gpio4 {
    	status = "okay";
    };
    */
    
    
    &mmc1 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mymmc1_pins_default>;
    
    	vmmc-supply = <&evm_v3_3d>;//<&dcdc4>;
    	bus-width = <4>;
    	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };
    
    &mmc2 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mymmc2_pins_default>;
    
    	vmmc-supply = <&evm_v3_3d>;//<&dcdc4>;
    	bus-width = <8>;
    	ti,non-removable;
    };
    
    &uart1 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&myuart1_pins_default>;
    };
    
    &uart2 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&myuart2_pins_default>;
    };
    
    &uart3 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&myuart3_pins_default>;
    };
    
    &usb1 {
    	dr_mode = "host";
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&myusb1_pins_default>;
    };
    
    &usb2 {
    	dr_mode = "host";
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&myusb2_pins_default>;
    };
    
    &mac {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
        dual_emac = <2>;
        status = "okay";
    };
    
    &cpsw_emac0 {
            phy-handle = <&dp83867_0>;
            phy_id = <&davinci_mdio>, <4>;
            phy-mode = "mii";
            ti,dual-emac-pvid = <1>;
    	fixed-link {
    	speed = <100>;
    	full-duplex;
    	};
    };
    
    &cpsw_emac1 {
            phy-handle = <&dp83867_1>;
            phy_id = <&davinci_mdio>, <5>;
            phy-mode = "mii";
            ti,dual-emac-pvid = <2>;
    	fixed-link {
    	speed = <100>;
    	full-duplex;
    	};
    };
    
    &davinci_mdio {
        pinctrl-names = "default";
        pinctrl-0 = <&mymdio1_pins_default>;
        status = "okay";
        dp83867_0: ethernet-phy@4 {
            reg = <4>;
            ti,min-output-impedance;
            ti,dp83867-rxctrl-strap-quirk;
        };
        dp83867_1: ethernet-phy@5 {
            reg = <5>;
            ti,min-output-impedance;
            ti,dp83867-rxctrl-strap-quirk;
            };
    };
    
    &phy_sel {
    	rmii-clock-ext;
    };
    
    &elm {
    	status = "okay";
    };
    
    &wdt {
    	status = "okay";
    };
    
    &cpu {
    	cpu0-supply = <&dcdc2>;
    };
    
    &sgx {
    	status = "okay";
    };
    
    &wkup_m3_ipc {
    	ti,scale-data-fw = "am43x-evm-scale-data.bin";
    };
    
    &pruss_soc_bus {
    	status = "okay";
    
    	pruss1: pruss@54400000 {
    		status = "okay";
    	};
    
    	pruss0: pruss@54440000 {
    		status = "okay";
    	};
    };
    

    And boot log

    CCCCCCCC                                                                     
    U-Boot SPL 2019.01-ga764a508fd-dirty (May 18 2021 - 03:51:34 -0700)          
    Trying to boot from MMC1                                                     
    SPL: Please implement spl_start_uboot() for your board                       
    SPL: Direct Linux boot not active!                                           
                                            
                                            
    U-Boot 2019.01-ga764a508fd-dirty (May 18 2021 - 03:51:34 -0700)
                                            
    CPU  : AM437X-GP rev 1.2                
    Model: TI AM437x SK EVM                 
    DRAM:  1 GiB
    PMIC:  TPS65218
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... OK
    Net:   eth0: ethernet@4a100000
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    711 bytes read in 2 ms (346.7 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4100608 bytes read in 209 ms (18.7 MiB/s)
    49741 bytes read in 4 ms (11.9 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff0000, end 8ffff24c ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.38-g4dae378bbe (selpman@ubuntu) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #1 PREEMPT Tue May 11 17:26:36 PDT 2021
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM437x SK EVM
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=cba0b265-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 976324K/1048576K available (8192K kernel code, 302K rwdata, 2604K rodata, 1024K init, 254K bss, 23100K reserved, 49152K cma-reserved, 212992K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 303 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 255 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000030] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000038] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000418] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000428] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000821] Console: colour dummy device 80x30
    [    0.000848] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000853] This ensures that you still see kernel messages. Please
    [    0.000858] update your kernel commandline.
    [    0.000900] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
    [    0.060184] pid_max: default: 32768 minimum: 301
    [    0.060373] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.060395] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.061160] CPU: Testing write buffer coherency: ok
    [    0.061216] CPU0: Spectre v2: using BPIALL workaround
    [    0.062092] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.062243] rcu: Hierarchical SRCU implementation.
    [    0.062581] EFI services will not be available.
    [    0.063482] devtmpfs: initialized
    [    0.072478] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.072868] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.072889] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.076157] pinctrl core: initialized pinctrl subsystem
    [    0.076856] DMI not present or invalid.
    [    0.077268] NET: Registered protocol family 16
    [    0.078892] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.151416] cpuidle: using governor ladder
    [    0.151453] cpuidle: using governor menu
    [    0.158143] OMAP GPIO hardware version 0.1
    [    0.166750] No ATAGs?
    [    0.166776] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.166790] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.179865] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.183614] media: Linux media interface: v0.10
    [    0.183665] videodev: Linux video capture interface: v2.00
    [    0.183751] pps_core: LinuxPPS API ver. 1 registered
    [    0.183759] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.183779] PTP clock support registered
    [    0.183810] EDAC MC: Ver: 3.0.0
    [    0.184583] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.184959] Advanced Linux Sound Architecture Driver Initialized.
    [    0.186109] clocksource: Switched to clocksource timer1
    [    0.193659] NET: Registered protocol family 2
    [    0.194390] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [    0.194421] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.194481] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.194554] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.194725] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.194749] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.194887] NET: Registered protocol family 1
    [    0.195446] RPC: Registered named UNIX socket transport module.
    [    0.195458] RPC: Registered udp transport module.
    [    0.195464] RPC: Registered tcp transport module.
    [    0.195469] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.197335] Initialise system trusted keyrings
    [    0.197643] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.201837] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.202558] NFS: Registering the id_resolver key type
    [    0.202595] Key type id_resolver registered
    [    0.202601] Key type id_legacy registered
    [    0.202641] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.203085] pstore: using deflate compression
    [    0.204862] Key type asymmetric registered
    [    0.204877] Asymmetric key parser 'x509' registered
    [    0.204936] bounce: pool size: 64 pages
    [    0.204998] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.205009] io scheduler noop registered
    [    0.205015] io scheduler deadline registered
    [    0.205256] io scheduler cfq registered (default)
    [    0.205267] io scheduler mq-deadline registered
    [    0.205274] io scheduler kyber registered
    [    0.207868] pinctrl-single 44e10800.pinmux: 199 pins, size 796
    [    0.210473] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    0.210556] pwm-backlight backlight: Linked as a consumer to regulator.0
    [    0.253290] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.256456] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.257163] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 31, base_baud = 3000000) is a 8250
    [    0.942664] console [ttyS0] enabled
    [    0.946828] omap8250 48022000.serial: No clock speed specified: using default: 48000000
    [    0.955545] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 32, base_baud = 3000000) is a 8250
    [    0.966370] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.973802] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [    0.983242] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [    0.990187] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [    0.999532] panel-simple display: display supply power not found, using dummy regulator
    [    1.007727] panel-simple display: Linked as a consumer to regulator.0
    [    1.025648] brd: module loaded
    [    1.037471] loop: module loaded
    [    1.043960] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
    [    1.050993] libphy: Fixed MDIO Bus: probed
    [    1.126172] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.133871] davinci_mdio 4a101000.mdio: detected phy mask ffffffcf
    [    1.141962] libphy: 4a101000.mdio: probed
    [    1.146008] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver NS DP83848C 10/100 Mbps PHY
    [    1.155880] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver NS DP83848C 10/100 Mbps PHY
    [    1.166663] cpsw 4a100000.ethernet: Detected MACID = 6c:c3:74:5d:ef:0c
    [    1.173311] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.179783] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.185065] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.193039] cpsw 4a100000.ethernet: cpsw: Detected MACID = 6c:c3:74:5d:ef:0e
    [    1.201406] i2c /dev entries driver
    [    1.206971] cpuidle: enable-method property 'ti,am4372' found operations
    [    1.214131] sdhci: Secure Digital Host Controller Interface driver
    [    1.220391] sdhci: Copyright(c) Pierre Ossman
    [    1.225465] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    1.234243] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.240170] omap_hsmmc 47810000.mmc: Linked as a consumer to regulator.1
    [    1.272940] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.280407] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.290526] NET: Registered protocol family 10
    [    1.296376] Segment Routing with IPv6
    [    1.300135] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.306786] NET: Registered protocol family 17
    [    1.311534] Key type dns_resolver registered
    [    1.316019] omap_voltage_late_init: Voltage driver support not added
    [    1.323341] Loading compiled-in X.509 certificates
    [    1.384246] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    1.391821] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.398099] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [    1.407484] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [    1.414388] DSS: OMAP DSS rev 2.0
    [    1.418810] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
    [    1.427125] omapdrm omapdrm.0: DMM not available, disable DMM support
    [    1.433882] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.440573] [drm] No driver support for vblank timestamp query.
    [    1.503693] Console: switching to colour frame buffer device 60x34
    [    1.526625] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    1.533294] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [    1.541022] cpu cpu0: Linked as a consumer to regulator.3
    [    1.546587] cpu cpu0: Dropping the link to regulator.3
    [    1.551900] cpu cpu0: Linked as a consumer to regulator.3
    [    1.558775] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    1.567642] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.572743] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.5
    [    1.607045] hctosys: unable to open rtc device (rtc0)
    [    1.613673] vmmcwl_fixed: disabling
    [    1.617377] ALSA device list:
    [    1.620511]   No soundcards found.
    [    1.625556] Waiting for root device PARTUUID=cba0b265-02...
    [    1.686705] mmc1: host does not support reading read-only switch, assuming write-enable
    [    1.699857] mmc1: new high speed SDXC card at address e624
    [    1.706852] mmcblk1: mmc1:e624 SB64G 59.5 GiB 
    [    1.716849]  mmcblk1: p1 p2
    [    1.746821] random: fast init done
    [    2.230315] EXT4-fs (mmcblk1p2): recovery complete
    [    2.238465] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.246723] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.263661] devtmpfs: mounted
    [    2.268523] Freeing unused kernel memory: 1024K
    [    2.273259] Run /sbin/init as init process
    [    2.591813] systemd[1]: System time before build time, advancing clock.
    [    2.641763] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -ID)
    [    2.663999] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.11!
    
    [    2.709479] systemd[1]: Set hostname to <am437x-evm>.
    [    3.025215] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    3.042632] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    3.444921] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.452661] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.488688] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.509988] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.563011] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.593235] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.627069] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.658951] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Journal Service...
             Starting udev Coldplug all Devices...
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
             Mounting Kernel Debug File System...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    3.926343] random: crng init done
    [    3.929779] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Reached target Paths.
             Starting Load Kernel Modules...
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Reached target Swap.
    [    4.193462] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Mounted Temporary Directory (/tmp).
             Starting Create Static Device Nodes in /dev...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Kernel Configuration File System.
    [    4.897212] systemd-journald[71]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
    [  OK  ] Reached target Containers.
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Service...
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Login Service...
             Starting rc.pvr.service...
    [  OK  ] Started Job spooling tools.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Periodic Command Scheduler.
             Starting RPC Bind Service...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started RPC Bind Service.
    [   10.203083] net eth1: initializing cpsw version 1.15 (0)
    [   10.426991] NS DP83848C 10/100 Mbps PHY 4a101000.mdio:05: attached PHY driver [NS DP83848C 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:05, irq=POLL)
    [   10.675378] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   11.147027] net eth0: initializing cpsw version 1.15 (0)
    [   11.327005] NS DP83848C 10/100 Mbps PHY 4a101000.mdio:04: attached PHY driver [NS DP83848C 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:04, irq=POLL)
    [   11.498795] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   12.687207] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   12.695779] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav
            gzip
            hidapi
            libbfd
            libcairo-perf-utils
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmavconn
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            pdm-anomaly-detection
            socketcan-interface
            swig-dev
            swig
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight��…ightness of backlight:backlight...
             Starting weston.service...
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Simple Network Management Protocol (SNMP) Daemon....
    [  OK  ] Started Redis In-Memory Data Store.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Permit User Sessions...
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Mounting /run/media/mmcblk1p1...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [  OK  ] Started Login Service.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started weston.service.
             Starting Matrix GUI...
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
    [  OK  ] Started Matrix GUI.
    [  OK  ] Started thttpd.service.
    [  OK  ] Created slice system-systemd\x2dcoredump.slice.
    [  OK  ] Started Process Core Dump (PID 746/UID 0).
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am437x-evm ttyS0
    
    Arago 2019.11 am437x-evm ttyS0
    
    am437x-evm login: 
    

    Please review the above. Thank you.

  • Hi,

    Thank you for posting DT file and boot log. Why is fixed link mode being used when you have PHYs?

    Best Regards,

    Schuyler

  • In hardware, the DP83848 is set to forced mode(100M / FD)

    Could this setting be cause problems?

  • Hi,

    It is possible but I am not sure if this is causing the issue. We may have to consult the PHY team here. Why is the PHY not in auto-negotiation mode? Is 10Mbps never a possibility?

    What is the link partner showing for a link speed? Is it fixed to 100Mbps or is it trying to auto-negotiate?

    Best Regards,

    Schuyler

  • I changed both 100Mbps and auto-negotiate on Host PC,link partner.

    But same error occur.  

    I`ll try to change the board to auto-negotiate.

  • Hi 

    When changing the board be sure to remove the fixed link node in the mac nodes.

    Best Regards,

    Schuyler

  • Late reply. I set advertised mode ( AN_EN = AN1 = AN2 = 1 ).

    Despite Change, same error occurred.

    ethtool -S eth0

    Wireshark

    DTB

    /dts-v1/;
    
    #include "am4372.dtsi"
    #include <dt-bindings/pinctrl/am43xx.h>
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/input/input.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM437x SK EVM";
    	compatible = "ti,am437x-sk-evm","ti,am4372","ti,am43";
    
    	chosen {
    		stdout-path = &uart0;
    	};
    	evm_v3_3d: fixedregulator-v3_3d {
            compatible = "regulator-fixed";
            regulator-name = "evm_v3_3d";
            regulator-min-microvolt = <3300000>;
            regulator-max-microvolt = <3300000>;
            enable-active-high;
            regulator-boot-on;
            regulator-always-on;
    	};
    };
    
    &am43xx_pinmux {
    	mycam1_pins_default: mycam1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x9b0, PIN_INPUT | MUX_MODE0) /* (AE17) cam0_hd.cam0_hd */
    			AM4372_IOPAD(0x9b4, PIN_INPUT | MUX_MODE0) /* (AD18) cam0_vd.cam0_vd */
    			AM4372_IOPAD(0x9c0, PIN_INPUT | MUX_MODE0) /* (AC20) cam0_pclk.cam0_pclk */
    			AM4372_IOPAD(0xa08, PIN_INPUT | MUX_MODE0) /* (AE18) cam0_data0.cam0_data0 */
    			AM4372_IOPAD(0xa0c, PIN_INPUT | MUX_MODE0) /* (AB18) cam0_data1.cam0_data1 */
    			AM4372_IOPAD(0xa10, PIN_INPUT | MUX_MODE0) /* (Y18) cam0_data2.cam0_data2 */
    			AM4372_IOPAD(0xa14, PIN_INPUT | MUX_MODE0) /* (AA18) cam0_data3.cam0_data3 */
    			AM4372_IOPAD(0xa18, PIN_INPUT | MUX_MODE0) /* (AE19) cam0_data4.cam0_data4 */
    			AM4372_IOPAD(0xa1c, PIN_INPUT | MUX_MODE0) /* (AD19) cam0_data5.cam0_data5 */
    			AM4372_IOPAD(0xa20, PIN_INPUT | MUX_MODE0) /* (AE20) cam0_data6.cam0_data6 */
    			AM4372_IOPAD(0xa24, PIN_INPUT | MUX_MODE0) /* (AD20) cam0_data7.cam0_data7 */
    		>;
    	};
    
    	mydebugss1_pins_default: mydebugss1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xa90, PIN_INPUT | MUX_MODE0) /* (Y24) TMS.TMS */
    			AM4372_IOPAD(0xa94, PIN_INPUT | MUX_MODE0) /* (Y20) TDI.TDI */
    			AM4372_IOPAD(0xa98, PIN_OUTPUT | MUX_MODE0) /* (AA24) TDO.TDO */
    			AM4372_IOPAD(0xa9c, PIN_INPUT | MUX_MODE0) /* (AA25) TCK.TCK */
    			AM4372_IOPAD(0xaa0, PIN_INPUT | MUX_MODE0) /* (Y25) nTRST.nTRST */
    			AM4372_IOPAD(0xaa4, PIN_INPUT | MUX_MODE0) /* (N23) EMU0.EMU0 */
    			AM4372_IOPAD(0xaa8, PIN_INPUT | MUX_MODE0) /* (T24) EMU1.EMU1 */
    		>;
    	};
    
    
    	mydss1_pins_default: mydss1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0) /* (B23) dss_vsync.dss_vsync */
    			AM4372_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0) /* (A23) dss_hsync.dss_hsync */
    			AM4372_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0) /* (A22) dss_pclk.dss_pclk */
    			AM4372_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0) /* (A24) dss_ac_bias_en.dss_ac_bias_en */
    			AM4372_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0) /* (B22) dss_data0.dss_data0 */
    			AM4372_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0) /* (A21) dss_data1.dss_data1 */
    			AM4372_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0) /* (B21) dss_data2.dss_data2 */
    			AM4372_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0) /* (C21) dss_data3.dss_data3 */
    			AM4372_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0) /* (A20) dss_data4.dss_data4 */
    			AM4372_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0) /* (B20) dss_data5.dss_data5 */
    			AM4372_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0) /* (C20) dss_data6.dss_data6 */
    			AM4372_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0) /* (E19) dss_data7.dss_data7 */
    			AM4372_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0) /* (A19) dss_data8.dss_data8 */
    			AM4372_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0) /* (B19) dss_data9.dss_data9 */
    			AM4372_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0) /* (A18) dss_data10.dss_data10 */
    			AM4372_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0) /* (B18) dss_data11.dss_data11 */
    			AM4372_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0) /* (C19) dss_data12.dss_data12 */
    			AM4372_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0) /* (D19) dss_data13.dss_data13 */
    			AM4372_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0) /* (C17) dss_data14.dss_data14 */
    			AM4372_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0) /* (D17) dss_data15.dss_data15 */
    			AM4372_IOPAD(0x83c, PIN_OUTPUT | MUX_MODE1) /* (A11) gpmc_ad15.dss_data16 */
    			AM4372_IOPAD(0x838, PIN_OUTPUT | MUX_MODE1) /* (B11) gpmc_ad14.dss_data17 */
    			AM4372_IOPAD(0x834, PIN_OUTPUT | MUX_MODE1) /* (C11) gpmc_ad13.dss_data18 */
    			AM4372_IOPAD(0x830, PIN_OUTPUT | MUX_MODE1) /* (E11) gpmc_ad12.dss_data19 */
    			AM4372_IOPAD(0x82c, PIN_OUTPUT | MUX_MODE1) /* (D11) gpmc_ad11.dss_data20 */
    			AM4372_IOPAD(0x828, PIN_OUTPUT | MUX_MODE1) /* (F11) gpmc_ad10.dss_data21 */
    			AM4372_IOPAD(0x824, PIN_OUTPUT | MUX_MODE1) /* (A10) gpmc_ad9.dss_data22 */
    			AM4372_IOPAD(0x820, PIN_OUTPUT | MUX_MODE1) /* (B10) gpmc_ad8.dss_data23 */
    		>;
    	};
    
    	mygpio1_pins_default: mygpio1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x9d0, PIN_INPUT | MUX_MODE7) /* (AD24) cam1_data8.gpio4[8] */
    			AM4372_IOPAD(0x9d4, PIN_INPUT | MUX_MODE7) /* (AD25) cam1_hd.gpio4[9] */
    			AM4372_IOPAD(0x9d8, PIN_INPUT | MUX_MODE7) /* (AC23) cam1_vd.gpio4[10] */
    			AM4372_IOPAD(0x9dc, PIN_INPUT | MUX_MODE7) /* (AE21) cam1_pclk.gpio4[11] */
    			AM4372_IOPAD(0x9e0, PIN_INPUT | MUX_MODE7) /* (AC25) cam1_field.gpio4[12] */
    			AM4372_IOPAD(0x9e4, PIN_INPUT | MUX_MODE7) /* (AB25) cam1_wen.gpio4[13] */
    			AM4372_IOPAD(0x9e8, PIN_INPUT | MUX_MODE7) /* (AB20) cam1_data0.gpio4[14] */
    			AM4372_IOPAD(0x9ec, PIN_INPUT | MUX_MODE7) /* (AC21) cam1_data1.gpio4[15] */
    			AM4372_IOPAD(0x9f0, PIN_INPUT | MUX_MODE7) /* (AD21) cam1_data2.gpio4[16] */
    			AM4372_IOPAD(0x9f4, PIN_INPUT | MUX_MODE7) /* (AE22) cam1_data3.gpio4[17] */
    			AM4372_IOPAD(0x9f8, PIN_INPUT | MUX_MODE7) /* (AD22) cam1_data4.gpio4[18] */
    			AM4372_IOPAD(0x9fc, PIN_INPUT | MUX_MODE7) /* (AE23) cam1_data5.gpio4[19] */
    			AM4372_IOPAD(0xa00, PIN_INPUT | MUX_MODE7) /* (AD23) cam1_data6.gpio4[20] */
    			AM4372_IOPAD(0xa04, PIN_INPUT | MUX_MODE7) /* (AE24) cam1_data7.gpio4[21] */
    		>;
    	};
    
    	myi2c1_pins_default: myi2c1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x98c, PIN_INPUT | MUX_MODE0) /* (Y22) I2C0_SCL.I2C0_SCL */
    			AM4372_IOPAD(0x988, PIN_INPUT | MUX_MODE0) /* (AB24) I2C0_SDA.I2C0_SDA */
    		>;
    	};
    
    	myi2c2_pins_default: myi2c2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xa40, PIN_INPUT | MUX_MODE1) /* (G20) gpio5_10.I2C1_SCL */
    			AM4372_IOPAD(0xa48, PIN_INPUT | MUX_MODE1) /* (E25) gpio5_12.I2C1_SDA */
    		>;
    	};
    	mymcasp1_pins_default: mymcasp1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x990, PIN_INPUT | MUX_MODE0) /* (N24) mcasp0_aclkx.mcasp0_aclkx */
    			AM4372_IOPAD(0x994, PIN_INPUT | MUX_MODE0) /* (N22) mcasp0_fsx.mcasp0_fsx */
    			AM4372_IOPAD(0x998, PIN_OUTPUT | MUX_MODE0) /* (H23) mcasp0_axr0.mcasp0_axr0 */
    			AM4372_IOPAD(0x9a8, PIN_OUTPUT | MUX_MODE0) /* (M25) mcasp0_axr1.mcasp0_axr1 */
    		>;
    	};
    
    
    	mymdio1_pins_default: mymdio1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x94c, PIN_OUTPUT | MUX_MODE0) /* (B17) mdio_clk.mdio_clk */
    			AM4372_IOPAD(0x948, PIN_INPUT | MUX_MODE0) /* (A17) mdio_data.mdio_data */
    		>;
    	};
    
            cpsw_default: cpsw_default {
                    pinctrl-single,pins = <
               		AM4372_IOPAD(0x878, PIN_INPUT | MUX_MODE1) /* (A3) gpmc_be1n.gmii2_col */
    			AM4372_IOPAD(0x870, PIN_INPUT | MUX_MODE1) /* (A2) gpmc_wait0.gmii2_crs */
    			AM4372_IOPAD(0x874, PIN_INPUT | MUX_MODE1) /* (B3) gpmc_wpn.gmii2_rxer */
    			AM4372_IOPAD(0x840, PIN_OUTPUT | MUX_MODE1) /* (C3) gpmc_a0.gmii2_txen */
    			AM4372_IOPAD(0x844, PIN_INPUT | MUX_MODE1) /* (C5) gpmc_a1.gmii2_rxdv */
    			AM4372_IOPAD(0x858, PIN_INPUT | MUX_MODE1) /* (E8) gpmc_a6.gmii2_txclk */
    			AM4372_IOPAD(0x85c, PIN_INPUT | MUX_MODE1) /* (F6) gpmc_a7.gmii2_rxclk */
    			AM4372_IOPAD(0x854, PIN_OUTPUT | MUX_MODE1) /* (E7) gpmc_a5.gmii2_txd0 */
    			AM4372_IOPAD(0x850, PIN_OUTPUT | MUX_MODE1) /* (D7) gpmc_a4.gmii2_txd1 */
    			AM4372_IOPAD(0x84c, PIN_OUTPUT | MUX_MODE1) /* (A4) gpmc_a3.gmii2_txd2 */
    			AM4372_IOPAD(0x848, PIN_OUTPUT | MUX_MODE1) /* (C6) gpmc_a2.gmii2_txd3 */
    			AM4372_IOPAD(0x86c, PIN_INPUT | MUX_MODE1) /* (D8) gpmc_a11.gmii2_rxd0 */
    			AM4372_IOPAD(0x868, PIN_INPUT | MUX_MODE1) /* (G8) gpmc_a10.gmii2_rxd1 */
    			AM4372_IOPAD(0x864, PIN_INPUT | MUX_MODE1) /* (B4) gpmc_a9.gmii2_rxd2 */
    			AM4372_IOPAD(0x860, PIN_INPUT | MUX_MODE1) /* (F7) gpmc_a8.gmii2_rxd3 */
    
    			AM4372_IOPAD(0x908, PIN_INPUT | MUX_MODE0) /* (D16) mii1_col.gmii1_col */
    			AM4372_IOPAD(0x90c, PIN_INPUT | MUX_MODE0) /* (B14) mii1_crs.gmii1_crs */
    			AM4372_IOPAD(0x910, PIN_INPUT | MUX_MODE0) /* (B13) mii1_rx_er.gmii1_rxer */
    			AM4372_IOPAD(0x914, PIN_OUTPUT | MUX_MODE0) /* (A13) mii1_tx_en.gmii1_txen */
    			AM4372_IOPAD(0x918, PIN_INPUT | MUX_MODE0) /* (A15) mii1_rx_dv.gmii1_rxdv */
    			AM4372_IOPAD(0x92c, PIN_INPUT | MUX_MODE0) /* (D14) mii1_tx_clk.gmii1_txclk */
    			AM4372_IOPAD(0x930, PIN_INPUT | MUX_MODE0) /* (D13) mii1_rx_clk.gmii1_rxclk */
    			AM4372_IOPAD(0x928, PIN_OUTPUT | MUX_MODE0) /* (B15) mii1_txd0.gmii1_txd0 */
    			AM4372_IOPAD(0x924, PIN_OUTPUT | MUX_MODE0) /* (A14) mii1_txd1.gmii1_txd1 */
    			AM4372_IOPAD(0x920, PIN_OUTPUT | MUX_MODE0) /* (C13) mii1_txd2.gmii1_txd2 */
    			AM4372_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE0) /* (C16) mii1_txd3.gmii1_txd3 */
    			AM4372_IOPAD(0x940, PIN_INPUT | MUX_MODE0) /* (F17) mii1_rxd0.gmii1_rxd0 */
    			AM4372_IOPAD(0x93c, PIN_INPUT | MUX_MODE0) /* (B16) mii1_rxd1.gmii1_rxd1 */
    			AM4372_IOPAD(0x938, PIN_INPUT | MUX_MODE0) /* (E16) mii1_rxd2.gmii1_rxd2 */
    			AM4372_IOPAD(0x934, PIN_INPUT | MUX_MODE0) /* (C14) mii1_rxd3.gmii1_rxd3 */	
    		>;
            };
    
    	mymmc1_pins_default: mymmc1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x900, PIN_INPUT | MUX_MODE0) /* (D1) mmc0_clk.mmc0_clk */
    			AM4372_IOPAD(0x904, PIN_INPUT | MUX_MODE0) /* (D2) mmc0_cmd.mmc0_cmd */
    			AM4372_IOPAD(0x8fc, PIN_INPUT | MUX_MODE0) /* (C1) mmc0_dat0.mmc0_dat0 */
    			AM4372_IOPAD(0x8f8, PIN_INPUT | MUX_MODE0) /* (C2) mmc0_dat1.mmc0_dat1 */
    			AM4372_IOPAD(0x8f4, PIN_INPUT | MUX_MODE0) /* (B2) mmc0_dat2.mmc0_dat2 */
    			AM4372_IOPAD(0x8f0, PIN_INPUT | MUX_MODE0) /* (B1) mmc0_dat3.mmc0_dat3 */
    			AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE5) /* (R25) spi0_cs1.mmc0_sdcd */
    			AM4372_IOPAD(0x9a0, PIN_INPUT | MUX_MODE4) /* (L23) mcasp0_aclkr.mmc0_sdwp */
    		>;
    	};
    
    
    	mymmc2_pins_default: mymmc2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x880, PIN_INPUT | MUX_MODE2) /* (B9) gpmc_csn1.mmc1_clk */
    			AM4372_IOPAD(0x884, PIN_INPUT | MUX_MODE2) /* (F10) gpmc_csn2.mmc1_cmd */
    			AM4372_IOPAD(0x800, PIN_INPUT | MUX_MODE1) /* (B5) gpmc_ad0.mmc1_dat0 */
    			AM4372_IOPAD(0x804, PIN_INPUT | MUX_MODE1) /* (A5) gpmc_ad1.mmc1_dat1 */
    			AM4372_IOPAD(0x808, PIN_INPUT | MUX_MODE1) /* (B6) gpmc_ad2.mmc1_dat2 */
    			AM4372_IOPAD(0x80c, PIN_INPUT | MUX_MODE1) /* (A6) gpmc_ad3.mmc1_dat3 */
    			AM4372_IOPAD(0x810, PIN_INPUT | MUX_MODE1) /* (B7) gpmc_ad4.mmc1_dat4 */
    			AM4372_IOPAD(0x814, PIN_INPUT | MUX_MODE1) /* (A7) gpmc_ad5.mmc1_dat5 */
    			AM4372_IOPAD(0x818, PIN_INPUT | MUX_MODE1) /* (C8) gpmc_ad6.mmc1_dat6 */
    			AM4372_IOPAD(0x81c, PIN_INPUT | MUX_MODE1) /* (B8) gpmc_ad7.mmc1_dat7 */
    		>;
    	};
    
    	myosc1_pins_default: myosc1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xaac, PIN_INPUT | MUX_MODE0) /* (AE5) RTC_XTALIN.OSC1_IN */
    			AM4372_IOPAD(0xab0, PIN_OUTPUT | MUX_MODE0) /* (AE4) RTC_XTALOUT.OSC1_OUT */
    		>;
    	};
    
    
    	myosc2_pins_default: myosc2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xa88, PIN_INPUT | MUX_MODE0) /* (C25) XTALIN.OSC0_IN */
    			AM4372_IOPAD(0xa8c, PIN_OUTPUT | MUX_MODE0) /* (B25) XTALOUT.OSC0_OUT */
    		>;
    	};
    
    
    	myrtc1_pins_default: myrtc1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xab4, PIN_INPUT | MUX_MODE0) /* (AE6) RTC_PWRONRSTn.RTC_PORz */
    			AM4372_IOPAD(0xab8, PIN_OUTPUT | MUX_MODE0) /* (AE3) RTC_WAKEUP.RTC_WAKEUP */
    			AM4372_IOPAD(0xabc, PIN_INPUT | MUX_MODE0) /* (AD6) RTC_PMIC_EN.RTC_PMIC_EN */
    		>;
    	};
    
    	myspi1_pins_default: myspi1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x950, PIN_INPUT | MUX_MODE0) /* (P23) spi0_sclk.spi0_sclk */
    			AM4372_IOPAD(0x954, PIN_INPUT | MUX_MODE0) /* (T22) spi0_d0.spi0_d0 */
    			AM4372_IOPAD(0x958, PIN_INPUT | MUX_MODE0) /* (T21) spi0_d1.spi0_d1 */
    			AM4372_IOPAD(0x95c, PIN_OUTPUT | MUX_MODE0) /* (T20) spi0_cs0.spi0_cs0 */
    		>;
    	};
    
    	myspi2_pins_default: myspi2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x964, PIN_INPUT | MUX_MODE4) /* (G24) eCAP0_in_PWM0_out.spi1_sclk */
    			AM4372_IOPAD(0x968, PIN_INPUT | MUX_MODE4) /* (L25) uart0_ctsn.spi1_d0 */
    			AM4372_IOPAD(0x96c, PIN_INPUT | MUX_MODE4) /* (J25) uart0_rtsn.spi1_d1 */
    			AM4372_IOPAD(0x944, PIN_OUTPUT | MUX_MODE2) /* (A16) rmii1_ref_clk.spi1_cs0 */
    		>;
    	};
    
    	myuart1_pins_default: myuart1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xa28, PIN_INPUT | MUX_MODE0) /* (H25) uart3_rxd.uart3_rxd */
    			AM4372_IOPAD(0xa2c, PIN_OUTPUT | MUX_MODE0) /* (H24) uart3_txd.uart3_txd */
    		>;
    	};
    
    	myuart2_pins_default: myuart2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE0) /* (K21) uart1_rxd.uart1_rxd */
    			AM4372_IOPAD(0x984, PIN_OUTPUT | MUX_MODE0) /* (L21) uart1_txd.uart1_txd */
    		>;
    	};
    
    	myuart3_pins_default: myuart3_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0x970, PIN_INPUT | MUX_MODE0) /* (K25) uart0_rxd.uart0_rxd */
    			AM4372_IOPAD(0x974, PIN_OUTPUT | MUX_MODE0) /* (J24) uart0_txd.uart0_txd */
    		>;
    	};
    
    
    	myusb1_pins_default: myusb1_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xac0, PIN_OUTPUT | MUX_MODE0) /* (G21) USB0_DRVVBUS.USB0_DRVVBUS */
    		>;
    	};
    
    	myusb2_pins_default: myusb2_pins_default {
    		pinctrl-single,pins = <
    			AM4372_IOPAD(0xac4, PIN_OUTPUT | MUX_MODE0) /* (F25) USB1_DRVVBUS.USB1_DRVVBUS */
    		>;
    	};
    };
    
    &i2c0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&myi2c1_pins_default>;
    	clock-frequency = <100000>;
    
    	tps@24 {
    		compatible = "ti,tps65218";
    		reg = <0x24>;
    		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    
    		dcdc1: regulator-dcdc1 {
    			/* VDD_CORE limits min of OPP50 and max of OPP100 */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912000>;
    			regulator-max-microvolt = <1144000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc2: regulator-dcdc2 {
    			/* VDD_MPU limits min of OPP50 and max of OPP_NITRO */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912000>;
    			regulator-max-microvolt = <1378000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc3: regulator-dcdc3 {
    			regulator-name = "vdds_ddr";
    			regulator-boot-on;
    			regulator-always-on;
    			regulator-state-mem {
    				regulator-on-in-suspend;
    			};
    			regulator-state-disk {
    				regulator-off-in-suspend;
    			};
    		};
    
    		dcdc4: regulator-dcdc4 {
    			regulator-name = "v3_3d";
    			regulator-min-microvolt = <3300000>;
    			regulator-max-microvolt = <3300000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc5: regulator-dcdc5 {
    			compatible = "ti,tps65218-dcdc5";
    			regulator-name = "v1_0bat";
    			regulator-min-microvolt = <1000000>;
    			regulator-max-microvolt = <1000000>;
    			regulator-boot-on;
    			regulator-always-on;
    			regulator-state-mem {
    				regulator-on-in-suspend;
    			};
    		};
    
    		dcdc6: regulator-dcdc6 {
    			compatible = "ti,tps65218-dcdc6";
    			regulator-name = "v1_8bat";
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <1800000>;
    			regulator-boot-on;
    			regulator-always-on;
    			regulator-state-mem {
    				regulator-on-in-suspend;
    			};
    		};
    
    		ldo1: regulator-ldo1 {
    			regulator-name = "v1_8d";
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <1800000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		power-button {
    			compatible = "ti,tps65218-pwrbutton";
    			status = "okay";
    			interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
    		};
    	};
    	at24@50 {
    		compatible = "atmel,24c256";
    		pagesize = <64>;
    		reg = <0x50>;
    	};
    };
    
    &epwmss0 {
    	status = "okay";
    };
    
    /*
    &gpio1 {
    	status = "okay";
    };
    
    &gpio4 {
    	status = "okay";
    };
    */
    
    
    &mmc1 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mymmc1_pins_default>;
    
    	vmmc-supply = <&evm_v3_3d>;//<&dcdc4>;
    	bus-width = <4>;
    	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };
    
    &mmc2 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mymmc2_pins_default>;
    
    	vmmc-supply = <&evm_v3_3d>;//<&dcdc4>;
    	bus-width = <8>;
    	ti,non-removable;
    };
    
    &uart1 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&myuart1_pins_default>;
    };
    
    &uart2 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&myuart2_pins_default>;
    };
    
    &uart3 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&myuart3_pins_default>;
    };
    
    &usb1 {
    	dr_mode = "host";
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&myusb1_pins_default>;
    };
    
    &usb2 {
    	dr_mode = "host";
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&myusb2_pins_default>;
    };
    
    &mac {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
        dual_emac = <2>;
        status = "okay";
    };
    
    &cpsw_emac0 {
            phy-handle = <&dp83867_0>;
            phy_id = <&davinci_mdio>, <4>;
            phy-mode = "mii";
            ti,dual-emac-pvid = <1>;
    };
    
    &cpsw_emac1 {
            phy-handle = <&dp83867_1>;
            phy_id = <&davinci_mdio>, <5>;
            phy-mode = "mii";
            ti,dual-emac-pvid = <2>;
    };
    
    &davinci_mdio {
        pinctrl-names = "default";
        pinctrl-0 = <&mymdio1_pins_default>;
        status = "okay";
        dp83867_0: ethernet-phy@4 {
            reg = <4>;
            ti,min-output-impedance;
            ti,dp83867-rxctrl-strap-quirk;
        };
        dp83867_1: ethernet-phy@5 {
            reg = <5>;
            ti,min-output-impedance;
            ti,dp83867-rxctrl-strap-quirk;
            };
    };
    
    &phy_sel {
    	rmii-clock-ext;
    };
    
    &elm {
    	status = "okay";
    };
    
    &wdt {
    	status = "okay";
    };
    
    &cpu {
    	cpu0-supply = <&dcdc2>;
    };
    
    &sgx {
    	status = "okay";
    };
    
    &wkup_m3_ipc {
    	ti,scale-data-fw = "am43x-evm-scale-data.bin";
    };
    
    &pruss_soc_bus {
    	status = "okay";
    
    	pruss1: pruss@54400000 {
    		status = "okay";
    	};
    
    	pruss0: pruss@54440000 {
    		status = "okay";
    	};
    };
    

    Could error be caused by Soldering?

    I have 2 boards I can test and both give errors.

    Do I have to re-bolling it and soldering?

  • Hi,

    I will need to check with a team member on possible suggestions.

    Best Regards,

    Schuyler