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.

Linux/AM3352: No receive on Eth1

Part Number: AM3352

Tool/software: Linux

Hello,

in one of our own designs using an AM3352 and SMSC LAN8710 PHYs for both Ethernet ports, communication on eth0 is fine, but reception on eth1 doesn't seem to work.

When I ping on eth1 an ARP request is sent and received on the other side, but the response doesn't seem to reach the driver.

Through printk outputs in the driver source I found out that cpsw_rx_interrupt() isn't called for eth1, but works fine for eth0.

I've tried Linux Kernel versions 4.4.50 and 3.9.13 with the same result.

Here is the revelvant excerpt from the DTS:

&am33xx_pinmux {
	cpsw_default: cpsw_default {
		pinctrl-single,pins = <
			/* Slave 0 */
			0x10c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (H17) gmii1_crs.rmii1_crs_dv */
			0x110 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (J15) gmii1_rxer.rmii1_rxer */
			0x114 ( PIN_OUTPUT | MUX_MODE1 ) /* (J16) gmii1_txen.rmii1_txen */
			0x128 ( PIN_OUTPUT | MUX_MODE1 ) /* (K17) gmii1_txd0.rmii1_txd0 */
			0x124 ( PIN_OUTPUT | MUX_MODE1 ) /* (K16) gmii1_txd1.rmii1_txd1 */
			0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (M16) gmii1_rxd0.rmii1_rxd0 */
			0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (L15) gmii1_rxd1.rmii1_rxd1 */
			0x144 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (H18) rmii1_refclk.rmii1_refclk */
			/* Slave 1 */
			0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (U16) gpmc_a9.rmii2_crs_dv */
			0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (U17) gpmc_wpn.rmii2_rxer */
			0x40 ( PIN_OUTPUT | MUX_MODE3 ) /* (R13) gpmc_a0.rmii2_txen */
			0x54 ( PIN_OUTPUT | MUX_MODE3 ) /* (V15) gpmc_a5.rmii2_txd0 */
			0x50 ( PIN_OUTPUT | MUX_MODE3 ) /* (R14) gpmc_a4.rmii2_txd1 */
			0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (V17) gpmc_a11.rmii2_rxd0 */
			0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (T16) gpmc_a10.rmii2_rxd1 */
			0x108 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (H16) gmii1_col.rmii2_refclk */
		>;
	};

	cpsw_sleep: cpsw_sleep {
		pinctrl-single,pins = <
			/* Slave 0 reset value */
			0x10c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (H17) gmii1_crs.rmii1_crs_dv */
			0x110 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J15) gmii1_rxer.rmii1_rxer */
			0x114 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J16) gmii1_txen.rmii1_txen */
			0x128 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K17) gmii1_txd0.rmii1_txd0 */
			0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K16) gmii1_txd1.rmii1_txd1 */
			0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M16) gmii1_rxd0.rmii1_rxd0 */
			0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L15) gmii1_rxd1.rmii1_rxd1 */
			0x144 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (H18) rmii1_refclk.rmii1_refclk */
			/* Slave 1 reset value */
			0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U16) gpmc_a9.rmii2_crs_dv */
			0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U17) gpmc_wpn.rmii2_rxer */
			0x40 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R13) gpmc_a0.rmii2_txen */
			0x54 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V15) gpmc_a5.rmii2_txd0 */
			0x50 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R14) gpmc_a4.rmii2_txd1 */
			0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V17) gpmc_a11.rmii2_rxd0 */
			0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T16) gpmc_a10.rmii2_rxd1 */
			0x108 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (H16) gmii1_col.rmii2_refclk */
		>;
	};

	davinci_mdio_default: davinci_mdio_default {
		pinctrl-single,pins = <
			/* MDIO */
			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* (M17) mdio_data.mdio_data */
			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* (M18) mdio_clk.mdio_clk */
		>;
	};

	davinci_mdio_sleep: davinci_mdio_sleep {
		pinctrl-single,pins = <
			/* MDIO reset value */
			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (M17) mdio_data.mdio_data */
			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (M18) mdio_clk.mdio_clk */
		>;
	};
};

&cppi41dma  {
	status = "okay";
};

&mac {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&cpsw_default>;
	pinctrl-1 = <&cpsw_sleep>;
	rx_descs = <64>; /* Was removed from am33xx.dtsi but is needed by the CPSW driver */
	dual_emac;
	status = "okay";
};

&davinci_mdio {
	pinctrl-names = "default", "sleep";
	pinctrl-names = "default";
	pinctrl-0 = <&davinci_mdio_default>;
	pinctrl-1 = <&davinci_mdio_sleep>;
	status = "okay";
};

&cpsw_emac0 {
	phy_id = <&davinci_mdio>, <1>;
	phy-mode = "rmii";
	dual_emac_res_vlan = <1>;
};

&cpsw_emac1 {
	phy_id = <&davinci_mdio>, <3>;
	phy-mode = "rmii";
	dual_emac_res_vlan = <2>;
};

&phy_sel {
        rmii-clock-ext;
};

Thanks in advance for any hints that might help me solve this problem.

  • Hi,

    Are you aware that eth1 needs to be brought up manually? See processors.wiki.ti.com/.../Linux_Core_CPSW_User's_Guide

    If the issue isn't resolved you can follow this checklist and post the results here: processors.wiki.ti.com/.../5x_CPSW
  • Yes, I'm aware that eth1 has to be brought up manually, otherwise a ping on that interface wouldn't have worked.

    Thanks for the link to the Ethernet Triage Checklist. For some reason I haven't found it before.

    I've retested with the TI SDK and still have the same problem.

    The test were performed as such:

    • ti-processor-sdk-linux-am335x-evm-03.02.00.05-Linux-x86-Install
    • Linux am335x-evm 4.4.32-gadde2ca9f8 #1 PREEMPT Wed Dec 14 18:52:13 EST 2016 armv7l GNU/Linux
    • Arago root file system
    • Custom board (DTS attached); it is using the same clock source for the reference clock of both Ethernet ports (not sure if that's a problem)
    • IP address for eth1 is set manually
    • ARP request issued by ping on eth1 is responded to (see Wireshark screenshot)
    • According to ifconfig zero bytes are received on eth1, but ethtool shows no errors
    • The RX lines from the PHY to the AM3352 show activity, but our 100 MHz oscilloscope probably isn't good enough for further inspection

    Thanks in advance for any help.

    /*
     * Device Tree Source for AM33XX SoC
     *
     * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This file is licensed under the terms of the GNU General Public License
     * version 2.  This program is licensed "as is" without any warranty of any
     * kind, whether express or implied.
     */
    
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/pinctrl/am33xx.h>
    
    / {
    	compatible = "ti,am33xx";
    	interrupt-parent = <&intc>;
    	#address-cells = <1>;
    	#size-cells = <1>;
    	chosen { };
    
    	aliases {
    		i2c0 = &i2c0;
    		i2c1 = &i2c1;
    		i2c2 = &i2c2;
    		serial0 = &uart0;
    		serial1 = &uart1;
    		serial2 = &uart2;
    		serial3 = &uart3;
    		serial4 = &uart4;
    		serial5 = &uart5;
    		d_can0 = &dcan0;
    		d_can1 = &dcan1;
    		usb0 = &usb0;
    		usb1 = &usb1;
    		phy0 = &usb0_phy;
    		phy1 = &usb1_phy;
    		ethernet0 = &cpsw_emac0;
    		ethernet1 = &cpsw_emac1;
    	};
    
    	cpus {
    		#address-cells = <1>;
    		#size-cells = <0>;
    		cpu@0 {
    			compatible = "arm,cortex-a8";
    			device_type = "cpu";
    			reg = <0>;
    
    			/*
    			 * To consider voltage drop between PMIC and SoC,
    			 * tolerance value is reduced to 2% from 4% and
    			 * voltage value is increased as a precaution.
    			 */
    			operating-points = <
    				/* kHz    uV */
    				720000  1285000
    				600000  1225000
    				500000  1125000
    				275000  1125000
    			>;
    			voltage-tolerance = <2>; /* 2 percentage */
    
    			clocks = <&dpll_mpu_ck>;
    			clock-names = "cpu";
    
    			clock-latency = <300000>; /* From omap-cpufreq driver */
    		};
    	};
    
    	pmu {
    		compatible = "arm,cortex-a8-pmu";
    		interrupts = <3>;
    	};
    
    	/*
    	 * The soc node represents the soc top level view. It is used for IPs
    	 * that are not memory mapped in the MPU view or for the MPU itself.
    	 */
    	soc {
    		compatible = "ti,omap-infra";
    		mpu {
    			compatible = "ti,omap3-mpu";
    			ti,hwmods = "mpu";
    		};
    	};
    
    	/*
    	 * XXX: Use a flat representation of the AM33XX interconnect.
    	 * The real AM33XX interconnect network is quite complex. Since
    	 * it will not bring real advantage to represent that in DT
    	 * for the moment, just use a fake OCP bus entry to represent
    	 * the whole bus hierarchy.
    	 */
    	ocp {
    		compatible = "simple-bus";
    		#address-cells = <1>;
    		#size-cells = <1>;
    		ranges;
    		ti,hwmods = "l3_main";
    
    		l4_wkup: l4_wkup@44c00000 {
    			compatible = "ti,am3-l4-wkup", "simple-bus";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			ranges = <0 0x44c00000 0x280000>;
    
    			wkup_m3: wkup_m3@100000 {
    				compatible = "ti,am3352-wkup-m3";
    				reg = <0x100000 0x4000>,
    				      <0x180000	0x2000>;
    				reg-names = "umem", "dmem";
    				ti,hwmods = "wkup_m3";
    				ti,pm-firmware = "am335x-pm-firmware.elf";
    			};
    
    			prcm: prcm@200000 {
    				compatible = "ti,am3-prcm";
    				reg = <0x200000 0x4000>;
    
    				prcm_clocks: clocks {
    					#address-cells = <1>;
    					#size-cells = <0>;
    				};
    
    				prcm_clockdomains: clockdomains {
    				};
    			};
    
    			scm: scm@210000 {
    				compatible = "ti,am3-scm", "simple-bus";
    				reg = <0x210000 0x2000>;
    				#address-cells = <1>;
    				#size-cells = <1>;
    				#pinctrl-cells = <1>;
    				ranges = <0 0x210000 0x2000>;
    
    				am33xx_pinmux: pinmux@800 {
    					compatible = "pinctrl-single";
    					reg = <0x800 0x238>;
    					#address-cells = <1>;
    					#size-cells = <0>;
    					#pinctrl-cells = <1>;
    					pinctrl-single,register-width = <32>;
    					pinctrl-single,function-mask = <0x7f>;
    				};
    
    				scm_conf: scm_conf@0 {
    					compatible = "syscon";
    					reg = <0x0 0x800>;
    					#address-cells = <1>;
    					#size-cells = <1>;
    
    					scm_clocks: clocks {
    						#address-cells = <1>;
    						#size-cells = <0>;
    					};
    				};
    
    				wkup_m3_ipc: wkup_m3_ipc@1324 {
    					compatible = "ti,am3352-wkup-m3-ipc";
    					reg = <0x1324 0x24>;
    					interrupts = <78>;
    					ti,rproc = <&wkup_m3>;
    					mboxes = <&mailbox &mbox_wkupm3>;
    				};
    
    				edma_xbar: dma-router@f90 {
    					compatible = "ti,am335x-edma-crossbar";
    					reg = <0xf90 0x40>;
    					#dma-cells = <3>;
    					dma-requests = <32>;
    					dma-masters = <&edma>;
    				};
    
    				scm_clockdomains: clockdomains {
    				};
    			};
    		};
    
    		intc: interrupt-controller@48200000 {
    			compatible = "ti,am33xx-intc";
    			interrupt-controller;
    			#interrupt-cells = <1>;
    			reg = <0x48200000 0x1000>;
    		};
    
    		edma: edma@49000000 {
    			compatible = "ti,edma3-tpcc";
    			ti,hwmods = "tpcc";
    			reg =	<0x49000000 0x10000>;
    			reg-names = "edma3_cc";
    			interrupts = <12 13 14>;
    			interrupt-names = "edma3_ccint", "edma3_mperr",
    					  "edma3_ccerrint";
    			dma-requests = <64>;
    			#dma-cells = <2>;
    
    			ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
    				   <&edma_tptc2 0>;
    
    			ti,edma-memcpy-channels = <20 21>;
    		};
    
    		edma_tptc0: tptc@49800000 {
    			compatible = "ti,edma3-tptc";
    			ti,hwmods = "tptc0";
    			reg =	<0x49800000 0x100000>;
    			interrupts = <112>;
    			interrupt-names = "edma3_tcerrint";
    		};
    
    		edma_tptc1: tptc@49900000 {
    			compatible = "ti,edma3-tptc";
    			ti,hwmods = "tptc1";
    			reg =	<0x49900000 0x100000>;
    			interrupts = <113>;
    			interrupt-names = "edma3_tcerrint";
    		};
    
    		edma_tptc2: tptc@49a00000 {
    			compatible = "ti,edma3-tptc";
    			ti,hwmods = "tptc2";
    			reg =	<0x49a00000 0x100000>;
    			interrupts = <114>;
    			interrupt-names = "edma3_tcerrint";
    		};
    
    		gpio0: gpio@44e07000 {
    			compatible = "ti,omap4-gpio";
    			ti,hwmods = "gpio1";
    			gpio-controller;
    			#gpio-cells = <2>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			reg = <0x44e07000 0x1000>;
    			interrupts = <96>;
    		};
    
    		gpio1: gpio@4804c000 {
    			compatible = "ti,omap4-gpio";
    			ti,hwmods = "gpio2";
    			gpio-controller;
    			#gpio-cells = <2>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			reg = <0x4804c000 0x1000>;
    			interrupts = <98>;
    		};
    
    		gpio2: gpio@481ac000 {
    			compatible = "ti,omap4-gpio";
    			ti,hwmods = "gpio3";
    			gpio-controller;
    			#gpio-cells = <2>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			reg = <0x481ac000 0x1000>;
    			interrupts = <32>;
    		};
    
    		gpio3: gpio@481ae000 {
    			compatible = "ti,omap4-gpio";
    			ti,hwmods = "gpio4";
    			gpio-controller;
    			#gpio-cells = <2>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			reg = <0x481ae000 0x1000>;
    			interrupts = <62>;
    		};
    
    		uart0: serial@44e09000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart1";
    			clock-frequency = <48000000>;
    			reg = <0x44e09000 0x2000>;
    			interrupts = <72>;
    			status = "disabled";
    			dmas = <&edma 26 0>, <&edma 27 0>;
    			dma-names = "tx", "rx";
    		};
    
    		uart1: serial@48022000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart2";
    			clock-frequency = <48000000>;
    			reg = <0x48022000 0x2000>;
    			interrupts = <73>;
    			status = "disabled";
    			dmas = <&edma 28 0>, <&edma 29 0>;
    			dma-names = "tx", "rx";
    		};
    
    		uart2: serial@48024000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart3";
    			clock-frequency = <48000000>;
    			reg = <0x48024000 0x2000>;
    			interrupts = <74>;
    			status = "disabled";
    			dmas = <&edma 30 0>, <&edma 31 0>;
    			dma-names = "tx", "rx";
    		};
    
    		uart3: serial@481a6000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart4";
    			clock-frequency = <48000000>;
    			reg = <0x481a6000 0x2000>;
    			interrupts = <44>;
    			status = "disabled";
    		};
    
    		uart4: serial@481a8000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart5";
    			clock-frequency = <48000000>;
    			reg = <0x481a8000 0x2000>;
    			interrupts = <45>;
    			status = "disabled";
    		};
    
    		uart5: serial@481aa000 {
    			compatible = "ti,am3352-uart", "ti,omap3-uart";
    			ti,hwmods = "uart6";
    			clock-frequency = <48000000>;
    			reg = <0x481aa000 0x2000>;
    			interrupts = <46>;
    			status = "disabled";
    		};
    
    		i2c0: i2c@44e0b000 {
    			compatible = "ti,omap4-i2c";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			ti,hwmods = "i2c1";
    			reg = <0x44e0b000 0x1000>;
    			interrupts = <70>;
    			status = "disabled";
    		};
    
    		i2c1: i2c@4802a000 {
    			compatible = "ti,omap4-i2c";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			ti,hwmods = "i2c2";
    			reg = <0x4802a000 0x1000>;
    			interrupts = <71>;
    			status = "disabled";
    		};
    
    		i2c2: i2c@4819c000 {
    			compatible = "ti,omap4-i2c";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			ti,hwmods = "i2c3";
    			reg = <0x4819c000 0x1000>;
    			interrupts = <30>;
    			status = "disabled";
    		};
    
    		mmc1: mmc@48060000 {
    			compatible = "ti,omap4-hsmmc";
    			ti,hwmods = "mmc1";
    			ti,dual-volt;
    			ti,needs-special-reset;
    			ti,needs-special-hs-handling;
    			dmas = <&edma_xbar 24 0 0
    				&edma_xbar 25 0 0>;
    			dma-names = "tx", "rx";
    			interrupts = <64>;
    			interrupt-parent = <&intc>;
    			reg = <0x48060000 0x1000>;
    			status = "disabled";
    		};
    
    		mmc2: mmc@481d8000 {
    			compatible = "ti,omap4-hsmmc";
    			ti,hwmods = "mmc2";
    			ti,needs-special-reset;
    			dmas = <&edma 2 0
    				&edma 3 0>;
    			dma-names = "tx", "rx";
    			interrupts = <28>;
    			interrupt-parent = <&intc>;
    			reg = <0x481d8000 0x1000>;
    			status = "disabled";
    		};
    
    		mmc3: mmc@47810000 {
    			compatible = "ti,omap4-hsmmc";
    			ti,hwmods = "mmc3";
    			ti,needs-special-reset;
    			interrupts = <29>;
    			interrupt-parent = <&intc>;
    			reg = <0x47810000 0x1000>;
    			status = "disabled";
    		};
    
    		hwspinlock: spinlock@480ca000 {
    			compatible = "ti,omap4-hwspinlock";
    			reg = <0x480ca000 0x1000>;
    			ti,hwmods = "spinlock";
    			#hwlock-cells = <1>;
    		};
    
    		wdt2: wdt@44e35000 {
    			compatible = "ti,omap3-wdt";
    			ti,hwmods = "wd_timer2";
    			reg = <0x44e35000 0x1000>;
    			interrupts = <91>;
    		};
    
    		dcan0: can@481cc000 {
    			compatible = "ti,am3352-d_can";
    			ti,hwmods = "d_can0";
    			reg = <0x481cc000 0x2000>;
    			clocks = <&dcan0_fck>;
    			clock-names = "fck";
    			syscon-raminit = <&scm_conf 0x644 0>;
    			interrupts = <52>;
    			status = "disabled";
    		};
    
    		dcan1: can@481d0000 {
    			compatible = "ti,am3352-d_can";
    			ti,hwmods = "d_can1";
    			reg = <0x481d0000 0x2000>;
    			clocks = <&dcan1_fck>;
    			clock-names = "fck";
    			syscon-raminit = <&scm_conf 0x644 1>;
    			interrupts = <55>;
    			status = "disabled";
    		};
    
    		mailbox: mailbox@480C8000 {
    			compatible = "ti,omap4-mailbox";
    			reg = <0x480C8000 0x200>;
    			interrupts = <77>;
    			ti,hwmods = "mailbox";
    			#mbox-cells = <1>;
    			ti,mbox-num-users = <4>;
    			ti,mbox-num-fifos = <8>;
    			mbox_wkupm3: wkup_m3 {
    				ti,mbox-send-noirq;
    				ti,mbox-tx = <0 0 0>;
    				ti,mbox-rx = <0 0 3>;
    			};
    		};
    
    		timer1: timer@44e31000 {
    			compatible = "ti,am335x-timer-1ms";
    			reg = <0x44e31000 0x400>;
    			interrupts = <67>;
    			ti,hwmods = "timer1";
    			ti,timer-alwon;
    		};
    
    		timer2: timer@48040000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48040000 0x400>;
    			interrupts = <68>;
    			ti,hwmods = "timer2";
    		};
    
    		timer3: timer@48042000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48042000 0x400>;
    			interrupts = <69>;
    			ti,hwmods = "timer3";
    		};
    
    		timer4: timer@48044000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48044000 0x400>;
    			interrupts = <92>;
    			ti,hwmods = "timer4";
    			ti,timer-pwm;
    		};
    
    		timer5: timer@48046000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48046000 0x400>;
    			interrupts = <93>;
    			ti,hwmods = "timer5";
    			ti,timer-pwm;
    		};
    
    		timer6: timer@48048000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x48048000 0x400>;
    			interrupts = <94>;
    			ti,hwmods = "timer6";
    			ti,timer-pwm;
    		};
    
    		timer7: timer@4804a000 {
    			compatible = "ti,am335x-timer";
    			reg = <0x4804a000 0x400>;
    			interrupts = <95>;
    			ti,hwmods = "timer7";
    			ti,timer-pwm;
    		};
    
    		rtc: rtc@44e3e000 {
    			compatible = "ti,am3352-rtc", "ti,da830-rtc";
    			reg = <0x44e3e000 0x1000>;
    			interrupts = <75
    				      76>;
    			ti,hwmods = "rtc";
    			clocks = <&clkdiv32k_ick>;
    			clock-names = "int-clk";
    		};
    
    		spi0: spi@48030000 {
    			compatible = "ti,omap4-mcspi";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			reg = <0x48030000 0x400>;
    			interrupts = <65>;
    			ti,spi-num-cs = <2>;
    			ti,hwmods = "spi0";
    			dmas = <&edma 16 0
    				&edma 17 0
    				&edma 18 0
    				&edma 19 0>;
    			dma-names = "tx0", "rx0", "tx1", "rx1";
    			status = "disabled";
    		};
    
    		spi1: spi@481a0000 {
    			compatible = "ti,omap4-mcspi";
    			#address-cells = <1>;
    			#size-cells = <0>;
    			reg = <0x481a0000 0x400>;
    			interrupts = <125>;
    			ti,spi-num-cs = <2>;
    			ti,hwmods = "spi1";
    			dmas = <&edma 42 0
    				&edma 43 0
    				&edma 44 0
    				&edma 45 0>;
    			dma-names = "tx0", "rx0", "tx1", "rx1";
    			status = "disabled";
    		};
    
    		usb: usb@47400000 {
    			compatible = "ti,am33xx-usb";
    			reg = <0x47400000 0x1000>;
    			ranges;
    			#address-cells = <1>;
    			#size-cells = <1>;
    			ti,hwmods = "usb_otg_hs";
    			status = "disabled";
    
    			usb_ctrl_mod: control@44e10620 {
    				compatible = "ti,am335x-usb-ctrl-module";
    				reg = <0x44e10620 0x10
    					0x44e10648 0x4>;
    				reg-names = "phy_ctrl", "wakeup";
    				status = "disabled";
    			};
    
    			usb0_phy: usb-phy@47401300 {
    				compatible = "ti,am335x-usb-phy";
    				reg = <0x47401300 0x100>;
    				reg-names = "phy";
    				status = "disabled";
    				ti,ctrl_mod = <&usb_ctrl_mod>;
    			};
    
    			usb0: usb@47401000 {
    				compatible = "ti,musb-am33xx";
    				status = "disabled";
    				reg = <0x47401400 0x400
    					0x47401000 0x200>;
    				reg-names = "mc", "control";
    
    				interrupts = <18>;
    				interrupt-names = "mc";
    				dr_mode = "otg";
    				mentor,multipoint = <1>;
    				mentor,num-eps = <16>;
    				mentor,ram-bits = <12>;
    				mentor,power = <500>;
    				phys = <&usb0_phy>;
    
    				dmas = <&cppi41dma  0 0 &cppi41dma  1 0
    					&cppi41dma  2 0 &cppi41dma  3 0
    					&cppi41dma  4 0 &cppi41dma  5 0
    					&cppi41dma  6 0 &cppi41dma  7 0
    					&cppi41dma  8 0 &cppi41dma  9 0
    					&cppi41dma 10 0 &cppi41dma 11 0
    					&cppi41dma 12 0 &cppi41dma 13 0
    					&cppi41dma 14 0 &cppi41dma  0 1
    					&cppi41dma  1 1 &cppi41dma  2 1
    					&cppi41dma  3 1 &cppi41dma  4 1
    					&cppi41dma  5 1 &cppi41dma  6 1
    					&cppi41dma  7 1 &cppi41dma  8 1
    					&cppi41dma  9 1 &cppi41dma 10 1
    					&cppi41dma 11 1 &cppi41dma 12 1
    					&cppi41dma 13 1 &cppi41dma 14 1>;
    				dma-names =
    					"rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
    					"rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
    					"rx14", "rx15",
    					"tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
    					"tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
    					"tx14", "tx15";
    			};
    
    			usb1_phy: usb-phy@47401b00 {
    				compatible = "ti,am335x-usb-phy";
    				reg = <0x47401b00 0x100>;
    				reg-names = "phy";
    				status = "disabled";
    				ti,ctrl_mod = <&usb_ctrl_mod>;
    			};
    
    			usb1: usb@47401800 {
    				compatible = "ti,musb-am33xx";
    				status = "disabled";
    				reg = <0x47401c00 0x400
    					0x47401800 0x200>;
    				reg-names = "mc", "control";
    				interrupts = <19>;
    				interrupt-names = "mc";
    				dr_mode = "otg";
    				mentor,multipoint = <1>;
    				mentor,num-eps = <16>;
    				mentor,ram-bits = <12>;
    				mentor,power = <500>;
    				phys = <&usb1_phy>;
    
    				dmas = <&cppi41dma 15 0 &cppi41dma 16 0
    					&cppi41dma 17 0 &cppi41dma 18 0
    					&cppi41dma 19 0 &cppi41dma 20 0
    					&cppi41dma 21 0 &cppi41dma 22 0
    					&cppi41dma 23 0 &cppi41dma 24 0
    					&cppi41dma 25 0 &cppi41dma 26 0
    					&cppi41dma 27 0 &cppi41dma 28 0
    					&cppi41dma 29 0 &cppi41dma 15 1
    					&cppi41dma 16 1 &cppi41dma 17 1
    					&cppi41dma 18 1 &cppi41dma 19 1
    					&cppi41dma 20 1 &cppi41dma 21 1
    					&cppi41dma 22 1 &cppi41dma 23 1
    					&cppi41dma 24 1 &cppi41dma 25 1
    					&cppi41dma 26 1 &cppi41dma 27 1
    					&cppi41dma 28 1 &cppi41dma 29 1>;
    				dma-names =
    					"rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
    					"rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
    					"rx14", "rx15",
    					"tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
    					"tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
    					"tx14", "tx15";
    			};
    
    			cppi41dma: dma-controller@47402000 {
    				compatible = "ti,am3359-cppi41";
    				reg =  <0x47400000 0x1000
    					0x47402000 0x1000
    					0x47403000 0x1000
    					0x47404000 0x4000>;
    				reg-names = "glue", "controller", "scheduler", "queuemgr";
    				interrupts = <17>;
    				interrupt-names = "glue";
    				#dma-cells = <2>;
    				#dma-channels = <30>;
    				#dma-requests = <256>;
    				status = "disabled";
    			};
    		};
    
    		epwmss0: epwmss@48300000 {
    			compatible = "ti,am33xx-pwmss";
    			reg = <0x48300000 0x10>;
    			ti,hwmods = "epwmss0";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			status = "disabled";
    			ranges = <0x48300100 0x48300100 0x80   /* ECAP */
    				  0x48300180 0x48300180 0x80   /* EQEP */
    				  0x48300200 0x48300200 0x80>; /* EHRPWM */
    
    			ecap0: ecap@48300100 {
    				compatible = "ti,am3352-ecap",
    					     "ti,am33xx-ecap";
    				#pwm-cells = <3>;
    				reg = <0x48300100 0x80>;
    				clocks = <&l4ls_gclk>;
    				clock-names = "fck";
    				interrupts = <31>;
    				interrupt-names = "ecap0";
    				status = "disabled";
    			};
    
    			ehrpwm0: pwm@48300200 {
    				compatible = "ti,am3352-ehrpwm",
    					     "ti,am33xx-ehrpwm";
    				#pwm-cells = <3>;
    				reg = <0x48300200 0x80>;
    				clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
    				clock-names = "tbclk", "fck";
    				status = "disabled";
    			};
    		};
    
    		epwmss1: epwmss@48302000 {
    			compatible = "ti,am33xx-pwmss";
    			reg = <0x48302000 0x10>;
    			ti,hwmods = "epwmss1";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			status = "disabled";
    			ranges = <0x48302100 0x48302100 0x80   /* ECAP */
    				  0x48302180 0x48302180 0x80   /* EQEP */
    				  0x48302200 0x48302200 0x80>; /* EHRPWM */
    
    			ecap1: ecap@48302100 {
    				compatible = "ti,am3352-ecap",
    					     "ti,am33xx-ecap";
    				#pwm-cells = <3>;
    				reg = <0x48302100 0x80>;
    				clocks = <&l4ls_gclk>;
    				clock-names = "fck";
    				interrupts = <47>;
    				interrupt-names = "ecap1";
    				status = "disabled";
    			};
    
    			ehrpwm1: pwm@48302200 {
    				compatible = "ti,am3352-ehrpwm",
    					     "ti,am33xx-ehrpwm";
    				#pwm-cells = <3>;
    				reg = <0x48302200 0x80>;
    				clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
    				clock-names = "tbclk", "fck";
    				status = "disabled";
    			};
    		};
    
    		epwmss2: epwmss@48304000 {
    			compatible = "ti,am33xx-pwmss";
    			reg = <0x48304000 0x10>;
    			ti,hwmods = "epwmss2";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			status = "disabled";
    			ranges = <0x48304100 0x48304100 0x80   /* ECAP */
    				  0x48304180 0x48304180 0x80   /* EQEP */
    				  0x48304200 0x48304200 0x80>; /* EHRPWM */
    
    			ecap2: ecap@48304100 {
    				compatible = "ti,am3352-ecap",
    					     "ti,am33xx-ecap";
    				#pwm-cells = <3>;
    				reg = <0x48304100 0x80>;
    				clocks = <&l4ls_gclk>;
    				clock-names = "fck";
    				interrupts = <61>;
    				interrupt-names = "ecap2";
    				status = "disabled";
    			};
    
    			ehrpwm2: pwm@48304200 {
    				compatible = "ti,am3352-ehrpwm",
    					     "ti,am33xx-ehrpwm";
    				#pwm-cells = <3>;
    				reg = <0x48304200 0x80>;
    				clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
    				clock-names = "tbclk", "fck";
    				status = "disabled";
    			};
    		};
    
    		mac: ethernet@4a100000 {
    			compatible = "ti,am335x-cpsw","ti,cpsw";
    			ti,hwmods = "cpgmac0";
    			clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
    			clock-names = "fck", "cpts";
    			cpdma_channels = <8>;
    			ale_entries = <1024>;
    			bd_ram_size = <0x2000>;
    			no_bd_ram = <0>;
    			mac_control = <0x20>;
    			slaves = <2>;
    			active_slave = <0>;
    			cpts_clock_mult = <0x80000000>;
    			cpts_clock_shift = <29>;
    			reg = <0x4a100000 0x800
    			       0x4a101200 0x100>;
    			#address-cells = <1>;
    			#size-cells = <1>;
    			interrupt-parent = <&intc>;
    			/*
    			 * c0_rx_thresh_pend
    			 * c0_rx_pend
    			 * c0_tx_pend
    			 * c0_misc_pend
    			 */
    			interrupts = <40 41 42 43>;
    			ranges;
    			syscon = <&scm_conf>;
    			status = "disabled";
    
    			davinci_mdio: mdio@4a101000 {
    				compatible = "ti,cpsw-mdio","ti,davinci_mdio";
    				#address-cells = <1>;
    				#size-cells = <0>;
    				ti,hwmods = "davinci_mdio";
    				bus_freq = <1000000>;
    				reg = <0x4a101000 0x100>;
    				status = "disabled";
    			};
    
    			cpsw_emac0: slave@4a100200 {
    				/* Filled in by U-Boot */
    				mac-address = [ 00 00 00 00 00 00 ];
    			};
    
    			cpsw_emac1: slave@4a100300 {
    				/* Filled in by U-Boot */
    				mac-address = [ 00 00 00 00 00 00 ];
    			};
    
    			phy_sel: cpsw-phy-sel@44e10650 {
    				compatible = "ti,am3352-cpsw-phy-sel";
    				reg= <0x44e10650 0x4>;
    				reg-names = "gmii-sel";
    			};
    		};
    
    		ocmcram: ocmcram@40300000 {
    			compatible = "mmio-sram";
    			reg = <0x40300000 0x10000>; /* 64k */
    		};
    
    		elm: elm@48080000 {
    			compatible = "ti,am3352-elm";
    			reg = <0x48080000 0x2000>;
    			interrupts = <4>;
    			ti,hwmods = "elm";
    			status = "disabled";
    		};
    
    		lcdc: lcdc@4830e000 {
    			compatible = "ti,am33xx-tilcdc";
    			reg = <0x4830e000 0x1000>;
    			interrupt-parent = <&intc>;
    			interrupts = <36>;
    			ti,hwmods = "lcdc";
    			status = "disabled";
    		};
    
    		tscadc: tscadc@44e0d000 {
    			compatible = "ti,am3359-tscadc";
    			reg = <0x44e0d000 0x1000>;
    			interrupt-parent = <&intc>;
    			interrupts = <16>;
    			ti,hwmods = "adc_tsc";
    			status = "disabled";
    			dmas = <&edma 53 0>, <&edma 57 0>;
    			dma-names = "fifo0", "fifo1";
    
    			tsc {
    				compatible = "ti,am3359-tsc";
    			};
    			am335x_adc: adc {
    				#io-channel-cells = <1>;
    				compatible = "ti,am3359-adc";
    			};
    		};
    
    		gpmc: gpmc@50000000 {
    			compatible = "ti,am3352-gpmc";
    			ti,hwmods = "gpmc";
    			ti,no-idle-on-init;
    			reg = <0x50000000 0x2000>;
    			interrupts = <100>;
    			dmas = <&edma 52 0>;
    			dma-names = "rxtx";
    			gpmc,num-cs = <7>;
    			gpmc,num-waitpins = <2>;
    			#address-cells = <2>;
    			#size-cells = <1>;
    			interrupt-controller;
    			#interrupt-cells = <2>;
    			gpio-controller;
    			#gpio-cells = <2>;
    			status = "disabled";
    		};
    
    		sham: sham@53100000 {
    			compatible = "ti,omap4-sham";
    			ti,hwmods = "sham";
    			reg = <0x53100000 0x200>;
    			interrupts = <109>;
    			dmas = <&edma 36 0>;
    			dma-names = "rx";
    		};
    
    		aes: aes@53500000 {
    			compatible = "ti,omap4-aes";
    			ti,hwmods = "aes";
    			reg = <0x53500000 0xa0>;
    			interrupts = <103>;
    			dmas = <&edma 6 0>,
    			       <&edma 5 0>;
    			dma-names = "tx", "rx";
    		};
    
    		mcasp0: mcasp@48038000 {
    			compatible = "ti,am33xx-mcasp-audio";
    			ti,hwmods = "mcasp0";
    			reg = <0x48038000 0x2000>,
    			      <0x46000000 0x400000>;
    			reg-names = "mpu", "dat";
    			interrupts = <80>, <81>;
    			interrupt-names = "tx", "rx";
    			status = "disabled";
    			dmas = <&edma 8 2>,
    				<&edma 9 2>;
    			dma-names = "tx", "rx";
    		};
    
    		mcasp1: mcasp@4803C000 {
    			compatible = "ti,am33xx-mcasp-audio";
    			ti,hwmods = "mcasp1";
    			reg = <0x4803C000 0x2000>,
    			      <0x46400000 0x400000>;
    			reg-names = "mpu", "dat";
    			interrupts = <82>, <83>;
    			interrupt-names = "tx", "rx";
    			status = "disabled";
    			dmas = <&edma 10 2>,
    				<&edma 11 2>;
    			dma-names = "tx", "rx";
    		};
    
    		rng: rng@48310000 {
    			compatible = "ti,omap4-rng";
    			ti,hwmods = "rng";
    			reg = <0x48310000 0x2000>;
    			interrupts = <111>;
    		};
    	};
    };
    
    /include/ "am33xx-clocks.dtsi"
    
    /*
     * Copyright (C) 2016 IPCOMM GmbH - http://www.ipcomm.de/
     * Using material by:
     * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */
    /dts-v1/;
    
    #include "am33xx.dtsi"
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "IPCOMM SEC3";
    	compatible = "ipcomm,sec3", "ti,am33xx";
    
    	chosen {
    		stdout-path = &uart0;
    		tick-timer = &timer2;
    	};
    
    	cpus {
    		cpu@0 {
    			/*cpu0-supply = <&dcdc2_reg>;*/
    		};
    	};
    
    	memory {
    		device_type = "memory";
    		reg = <0x80000000 0x10000000>; /* 256 MB */
    	};
    	
    /*	leds {
    		compatible = "gpio-leds";
    		
    		led_heartbeat {
    			label = "led_heartbeat";
    			gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "heartbeat";
    		};
    	};*/
    	
    	clock_uart: oscillator {
    		compatible = "fixed-clock";
    		#clock-cells = <0>;
    		clock-frequency = <18432000>;  /* ??? 18.432 MHz */
    		clock-output-names = "out";
    	};
    };
    
    &am33xx_pinmux {
    	pinctrl-names = "default";
    	
    	jtag_pins: jtag_mux_pins {
    		pinctrl-single,pins = <
    			0x1d0 ( PIN_INPUT | MUX_MODE0 ) /* (C11) TMS.TMS */
    			0x1d4 ( PIN_INPUT | MUX_MODE0 ) /* (B11) TDI.TDI */
    			0x1d8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A11) TDO.TDO */
    			0x1dc ( PIN_INPUT | MUX_MODE0 ) /* (A12) TCK.TCK */
    			0x1e0 ( PIN_INPUT | MUX_MODE0 ) /* (B10) nTRST.nTRST */
    			0x1e4 ( PIN_INPUT | MUX_MODE0 ) /* (C14) EMU0.EMU0 */
    			0x1e8 ( PIN_INPUT | MUX_MODE0 ) /* (B14) EMU1.EMU1 */
    			0x1a4 ( PIN_INPUT | MUX_MODE4 ) /* (C13) mcasp0_fsr.EMU2 */
    			0x1a8 ( PIN_INPUT | MUX_MODE4 ) /* (D13) mcasp0_axr1.EMU3 */
    			0x1ac ( PIN_INPUT | MUX_MODE4 ) /* (A14) mcasp0_ahclkx.EMU4 */
    		>;
    	};
    
    	i2c0_pins: pinmux_i2c0_pins {
    		pinctrl-single,pins = <
    			0x188 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (C17) I2C0_SDA.I2C0_SDA */
    			0x18c (PIN_INPUT_PULLUP | MUX_MODE0)	/* (C16) I2C0_SCL.I2C0_SCL */
    		>;
    	};
    
    	i2c1_pins: pinmux_i2c1_pins {
    		pinctrl-single,pins = <
    			0x184 (PIN_INPUT_PULLUP | MUX_MODE3)    /* (D15) uart1_txd.I2C1_SCL */
    			0x180 (PIN_INPUT_PULLUP | MUX_MODE3)    /* (D16) uart1_rxd.I2C1_SDA */
    		>;
    	};
    
    	i2c2_pins: pinmux_i2c2_pins {
    		pinctrl-single,pins = <
    			0x17c ( PIN_INPUT_PULLUP | MUX_MODE3 ) /* (D17) uart1_rtsn.I2C2_SCL */
    			0x178 ( PIN_INPUT_PULLUP | MUX_MODE3 ) /* (D18) uart1_ctsn.I2C2_SDA */
    		>;
    	};
    
    	spi0_pins: pinmux_spi0_pins {
    		pinctrl-single,pins = <
    			0x150 (PIN_OUTPUT_PULLUP | MUX_MODE0)	/* (A17) spi0_sclk.spi0_sclk */
    			0x154 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (B17) spi0_d0.spi0_d0 */
    			0x158 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (B16) spi0_d1.spi0_d1 */
    			0x15c (PIN_OUTPUT_PULLUP | MUX_MODE0)	/* (A16) spi0_CS0.spi0_CS0 */
    			0x160 (PIN_OUTPUT_PULLUP | MUX_MODE0)  /* (C15) spi0_cs1.spi0_cs1 */
    		>;
    	};
    
    	spi1_pins: pinmux_spi1_pins {
    		pinctrl-single,pins = <
    			0x190 (PIN_INPUT_PULLDOWN | MUX_MODE3)	/* (A13) mcasp0_aclkx.spi1_sclk */
    			0x194 (PIN_INPUT_PULLUP | MUX_MODE3)	/* (B13) mcasp0_fsx.spi1_d0 */
    			0x198 (PIN_INPUT_PULLDOWN | MUX_MODE3)	/* (D12) mcasp0_axr0.spi1_d1 */
    			0x164 (PIN_OUTPUT_PULLUP | MUX_MODE2)   /* (C18) eCAP0_in_PWM0_out.spi1_cs1 */
    		>;
    	};	
    	
    	uart0_pins: pinmux_uart0_pins {
    		pinctrl-single,pins = <
    			0x170 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (E15) uart0_rxd.uart0_rxd */
    			0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* (E16) uart0_txd.uart0_txd */
    			0x168 (PIN_INPUT_PULLUP | MUX_MODE0) /* (E18) uart0_ctsn.uart0_ctsn */
    			0x16c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* (E17) uart0_rtsn.uart0_rtsn */
    		>;
    	};
    
    	nandflash_pins_s0: nandflash_pins_s0 {
    		pinctrl-single,pins = <
    			0x0 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (U7) gpmc_ad0.gpmc_ad0 */
    			0x4 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (V7) gpmc_ad1.gpmc_ad1 */
    			0x8 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (R8) gpmc_ad2.gpmc_ad2 */
    			0xc (PIN_INPUT_PULLUP | MUX_MODE0)	/* (T8) gpmc_ad3.gpmc_ad3 */
    			0x10 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (U8) gpmc_ad4.gpmc_ad4 */
    			0x14 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (V8) gpmc_ad5.gpmc_ad5 */
    			0x18 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (R9) gpmc_ad6.gpmc_ad6 */
    			0x1c (PIN_INPUT_PULLUP | MUX_MODE0)	/* (T9) gpmc_ad7.gpmc_ad7 */
    			0x20 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (U10) gpmc_ad8.gpmc_ad8 */
    			0x24 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (T10) gpmc_ad9.gpmc_ad9 */
    			0x28 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (T11) gpmc_ad10.gpmc_ad10 */
    			0x2c ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (U12) gpmc_ad11.gpmc_ad11 */
    			0x30 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (T12) gpmc_ad12.gpmc_ad12 */
    			0x34 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (R12) gpmc_ad13.gpmc_ad13 */
    			0x38 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (V13) gpmc_ad14.gpmc_ad14 */
    			0x3c ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (U13) gpmc_ad15.gpmc_ad15 */
    			0x70 (PIN_INPUT_PULLUP | MUX_MODE0)	/* (T17) gpmc_wait0.gpmc_wait0 */
    			0x7c (PIN_OUTPUT | MUX_MODE0)		/* (V6) gpmc_csn0.gpmc_csn0  */
    			0x90 (PIN_OUTPUT | MUX_MODE0)		/* (R7) gpmc_advn_ale.gpmc_advn_ale */
    			0x94 (PIN_OUTPUT | MUX_MODE0)		/* (T7) gpmc_oen_ren.gpmc_oen_ren */
    			0x98 (PIN_OUTPUT | MUX_MODE0)		/* (U6) gpmc_wen.gpmc_wen */
    			0x9c (PIN_OUTPUT | MUX_MODE0)		/* (T6) gpmc_be0n_cle.gpmc_be0n_cle */
    		>;
    	};
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			/* Slave 0 */
    			0x10c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (H17) gmii1_crs.rmii1_crs_dv */
    			0x110 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (J15) gmii1_rxer.rmii1_rxer */
    			0x114 ( PIN_OUTPUT | MUX_MODE1 ) /* (J16) gmii1_txen.rmii1_txen */
    			0x128 ( PIN_OUTPUT | MUX_MODE1 ) /* (K17) gmii1_txd0.rmii1_txd0 */
    			0x124 ( PIN_OUTPUT | MUX_MODE1 ) /* (K16) gmii1_txd1.rmii1_txd1 */
    			0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (M16) gmii1_rxd0.rmii1_rxd0 */
    			0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (L15) gmii1_rxd1.rmii1_rxd1 */
    			0x144 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (H18) rmii1_refclk.rmii1_refclk */
    			/* Slave 1 */
    			0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (U16) gpmc_a9.rmii2_crs_dv */
    			0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (U17) gpmc_wpn.rmii2_rxer */
    			0x40 ( PIN_OUTPUT | MUX_MODE3 ) /* (R13) gpmc_a0.rmii2_txen */
    			0x54 ( PIN_OUTPUT | MUX_MODE3 ) /* (V15) gpmc_a5.rmii2_txd0 */
    			0x50 ( PIN_OUTPUT | MUX_MODE3 ) /* (R14) gpmc_a4.rmii2_txd1 */
    			0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (V17) gpmc_a11.rmii2_rxd0 */
    			0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (T16) gpmc_a10.rmii2_rxd1 */
    			0x108 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (H16) gmii1_col.rmii2_refclk */
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			/* Slave 0 reset value */
    			0x10c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (H17) gmii1_crs.rmii1_crs_dv */
    			0x110 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J15) gmii1_rxer.rmii1_rxer */
    			0x114 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J16) gmii1_txen.rmii1_txen */
    			0x128 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K17) gmii1_txd0.rmii1_txd0 */
    			0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K16) gmii1_txd1.rmii1_txd1 */
    			0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M16) gmii1_rxd0.rmii1_rxd0 */
    			0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L15) gmii1_rxd1.rmii1_rxd1 */
    			0x144 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (H18) rmii1_refclk.rmii1_refclk */
    			/* Slave 1 reset value */
    			0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U16) gpmc_a9.rmii2_crs_dv */
    			0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U17) gpmc_wpn.rmii2_rxer */
    			0x40 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R13) gpmc_a0.rmii2_txen */
    			0x54 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V15) gpmc_a5.rmii2_txd0 */
    			0x50 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R14) gpmc_a4.rmii2_txd1 */
    			0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V17) gpmc_a11.rmii2_rxd0 */
    			0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T16) gpmc_a10.rmii2_rxd1 */
    			0x108 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (H16) gmii1_col.rmii2_refclk */
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* (M17) mdio_data.mdio_data */
    			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* (M18) mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (M17) mdio_data.mdio_data */
    			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (M18) mdio_clk.mdio_clk */
    		>;
    	};
    };
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins>;
    
    	status = "okay";
    };
    
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    };
    
    &i2c1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c1_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    };
    
    &i2c2 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c2_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    };
    
    &spi0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&spi0_pins>;
    
    	status = "okay";
    
    	uart_spi: sc16is762@0 {  /* CS0 */
    		compatible = "nxp,sc16is762";
    		reg = <0>;
    		clocks = <&clock_uart>;
    		interrupt-parent = <&gpio0>;
    		interrupts = <19 IRQ_TYPE_EDGE_FALLING>;
    		spi-max-frequency = <1500000>;
    	};
    };
    
    &spi1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&spi1_pins>;
    
    	status = "okay";
    };
    
    &usb {
    	status = "okay";
    };
    
    &usb_ctrl_mod {
    	status = "okay";
    };
    
    &usb0_phy {
    	/*status = "okay";*/
    };
    
    &usb1_phy {
    	status = "okay";
    };
    
    &usb0 {
    	/*status = "okay";*/
    	dr_mode = "host";
    };
    
    &usb1 {
    	status = "okay";
    	dr_mode = "host";
    };
    
    &cppi41dma  {
    	status = "okay";
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	rx_descs = <64>; /* Was removed from am33xx.dtsi but is needed by the CPSW driver */
    	dual_emac;
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-names = "default";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	status = "okay";
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <1>;
    	phy-mode = "rmii";
    	dual_emac_res_vlan = <1>;
    };
    
    &cpsw_emac1 {
    	phy_id = <&davinci_mdio>, <3>;
    	phy-mode = "rmii";
    	dual_emac_res_vlan = <2>;
    };
    
    &phy_sel {
            rmii-clock-ext;
    };
    
    &sham {
    	status = "okay";
    };
    
    &aes {
    	status = "okay";
    };
    
    &elm {
    	status = "okay";
    };
    
    &gpmc {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&nandflash_pins_s0>;
    	ranges = <0 0 0x08000000 0x1000000>;	/* CS0: 16MB for NAND */
    	nand@0,0 {
    		compatible = "ti,omap2-nand";
    		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
    		interrupt-parent = <&gpmc>;
    		interrupts = <0 IRQ_TYPE_NONE>, <1 IRQ_TYPE_NONE>; /* fifoevent & termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    		ti,nand-ecc-opt = "bch8";  /* with 8-bit interface only bch8! */
    		ti,elm-id = <&elm>;
    		nand-bus-width = <8>;
    		gpmc,device-width = <1>;
    		gpmc,sync-clk-ps = <0>;
    		gpmc,cs-on-ns = <0>;
    		gpmc,cs-rd-off-ns = <44>;
    		gpmc,cs-wr-off-ns = <44>;
    		gpmc,adv-on-ns = <6>;
    		gpmc,adv-rd-off-ns = <34>;
    		gpmc,adv-wr-off-ns = <44>;
    		gpmc,we-on-ns = <0>;
    		gpmc,we-off-ns = <40>;
    		gpmc,oe-on-ns = <0>;
    		gpmc,oe-off-ns = <54>;
    		gpmc,access-ns = <64>;
    		gpmc,rd-cycle-ns = <82>;
    		gpmc,wr-cycle-ns = <82>;
    		/* gpmc,wait-on-read = "true"; */
    		/* gpmc,wait-on-write = "true"; */
    		gpmc,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		/* gpmc,wait-monitoring-ns = <0>; */
    		gpmc,wr-access-ns = <40>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		partitions {
    			compatible = "fixed-partitions";
    			#address-cells = <1>;
    			#size-cells = <1>;
    			partition@0 {
    				label = "xload";
    				reg = <0x00000000 0x000020000>; /* 128K */
    				read-only;
    			};
    			partition@20000 {
    				label = "xload_backup1";
    				reg = <0x00020000 0x00020000>;
    				read-only;
    			};
    			partition@40000 {
    				label = "xload_backup2";
    				reg = <0x00040000 0x00020000>;
    				read-only;
    			};
    			partition@60000 {
    				label = "xload_backup3";
    				reg = <0x00060000 0x00020000>;
    				read-only;
    			};
    			partition@80000 {
    				label = "barebox";
    				reg = <0x00080000 0x00080000>; /* 512K */
    				read-only;
    			};
    			partition@100000 {
    				label = "bareboxenv";
    				reg = <0x000100000 0x00040000>; /* 256K */
    			};
    			partition@140000 {
    				label = "oftree";
    				reg = <0x00140000 0x00040000>;
    			};
    			partition@180000 {
    				label = "kernel";
    				reg = <0x00180000 0x00800000>; /* 8M */
    			};
    			partition@980000 {
    				label = "root";
    				reg = <0x00980000 0x00000000>; /* To end of flash */
    			};
    		};
    	};
    };
    
    
    /* EOF */
    
    barebox 2017.02.0 #1 Tue Mar 7 12:32:20 CET 2017
    
    
    Board: IPCOMM SEC3
    cpsw 4a100000.ethernet: detected phy mask 0xa
    mdio_bus: miibus0: probed
    eth0: got preset MAC address: 98:5d:ad:45:74:88
    eth1: got preset MAC address: 98:5d:ad:45:74:8a
    nand: ONFI flash detected
    nand: NAND device: Manufacturer ID: 0x01, Chip ID: 0xdc (AMD/Spansion S34ML04G1), 512MiB, page size: 2048, OOB size: 64
    booting from NAND
    
    
    barebox 2017.02.0 #1 Tue Mar 7 12:32:09 CET 2017
    
    
    Board: IPCOMM SEC3
    cpsw 4a100000.ethernet: detected phy mask 0xa
    mdio_bus: miibus0: probed
    eth0: got preset MAC address: 98:5d:ad:45:74:88
    eth1: got preset MAC address: 98:5d:ad:45:74:8a
    am335x-phy-driver 47401b00.usb-phy: am_usbphy 87ff2364 enabled
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    i2c-omap 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    i2c-omap 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    i2c-omap 4819c000.i2c: bus 2 rev0.11 at 400 kHz
    omap_wdt 44e35000.wdt: OMAP Watchdog Timer Rev 0x01
    nand: ONFI flash detected
    nand: NAND device: Manufacturer ID: 0x01, Chip ID: 0xdc (AMD/Spansion S34ML04G1), 512MiB, page size: 2048, OOB size: 64
    netconsole: registered as netconsole-1
    malloc space: 0x87f7ef60 -> 0x8fefdebf (size 127.5 MiB)
    environment load /dev/env0: No such file or directory
    Maybe you have to create the partition.
    running /env/bin/init...
    
    Hit m for menu or any other key to stop autoboot:  0
    booting 'nand'
    
    Loading ARM Linux zImage '/dev/nand0.kernel.bb'
    commandline:  console=ttyO0,115200n8  root=ubi0:root ubi.mtd=root rw rootfstype=ubifs mtdparts=omap2-nand.0:128k(xload)ro,128k(xload_backup1)ro,128k(xload_backup2)ro,128k(xload_backup3)ro,512k(barebox)ro,256k(bareboxenv),256k(oftree)ro,8M(kernel),-(root)
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.32-gadde2ca9f8 (gtbldadm@ubuntu-16) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 PREEMPT Wed Dec 14 18:52:13 EST 2016
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: IPCOMM SEC3
    [    0.000000] cma: Reserved 48 MiB at 0x8d000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line:  console=ttyO0,115200n8  root=ubi0:root ubi.mtd=root rw rootfstype=ubifs mtdparts=omap2-nand.0:128k(xload)ro,128k(xload_backup1)ro,128k(xload_backup2)ro,128k(xload_backup3)ro,512k(barebox)ro,256k(bareboxenv),256k(oftree)ro,8M(kernel),-(root)
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 200296K/262144K available (6595K kernel code, 316K rwdata, 2412K rodata, 268K init, 265K bss, 12696K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08d4004   (9009 kB)
    [    0.000000]       .init : 0xc08d5000 - 0xc0918000   ( 268 kB)
    [    0.000000]       .data : 0xc0918000 - 0xc0967370   ( 317 kB)
    [    0.000000]        .bss : 0xc0967370 - 0xc09a9a98   ( 266 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [    0.000014] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000038] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000050] OMAP clocksource: timer1 at 25000000 Hz
    [    0.000214] clocksource_probe: no matching clocksources found
    [    0.000402] Console: colour dummy device 80x30
    [    0.000436] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000443] This ensures that you still see kernel messages. Please
    [    0.000449] update your kernel commandline.
    [    0.000467] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.119124] pid_max: default: 32768 minimum: 301
    [    0.119259] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119272] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.120002] Initializing cgroup subsys io
    [    0.120036] Initializing cgroup subsys memory
    [    0.120074] Initializing cgroup subsys devices
    [    0.120091] Initializing cgroup subsys freezer
    [    0.120106] Initializing cgroup subsys perf_event
    [    0.120121] Initializing cgroup subsys pids
    [    0.120152] CPU: Testing write buffer coherency: ok
    [    0.120556] Setting up static identity map for 0x80008200 - 0x80008258
    [    0.122905] devtmpfs: initialized
    [    0.134445] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.149352] omap_hwmod: debugss: _wait_target_disable failed
    [    0.179227] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.183287] pinctrl core: initialized pinctrl subsystem
    [    0.184709] NET: Registered protocol family 16
    [    0.187045] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209126] cpuidle: using governor ladder
    [    0.239114] cpuidle: using governor menu
    [    0.243770] OMAP GPIO hardware version 0.1
    [    0.251905] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
    [    0.253578] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.298066] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.301585] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.301647] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [    0.301686] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
    [    0.301805] media: Linux media interface: v0.10
    [    0.301883] Linux video capture interface: v2.00
    [    0.301936] pps_core: LinuxPPS API ver. 1 registered
    [    0.301944] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.301975] PTP clock support registered
    [    0.302034] EDAC MC: Ver: 3.0.0
    [    0.303096] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.303458] Advanced Linux Sound Architecture Driver Initialized.
    [    0.304681] clocksource: Switched to clocksource timer1
    [    0.316610] NET: Registered protocol family 2
    [    0.317446] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.317488] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.317519] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.317596] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.317617] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.317787] NET: Registered protocol family 1
    [    0.318208] RPC: Registered named UNIX socket transport module.
    [    0.318224] RPC: Registered udp transport module.
    [    0.318231] RPC: Registered tcp transport module.
    [    0.318238] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.319186] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.321155] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.330001] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.331078] NFS: Registering the id_resolver key type
    [    0.331149] Key type id_resolver registered
    [    0.331158] Key type id_legacy registered
    [    0.331250] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.335261] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.335291] io scheduler noop registered
    [    0.335305] io scheduler deadline registered
    [    0.335497] io scheduler cfq registered (default)
    [    0.336756] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.405783] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.410042] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.056704] console [ttyS0] enabled
    [    1.061224] [drm] Initialized drm 1.1.0 20060810
    [    1.073986] loop: module loaded
    [    1.081579] libphy: Fixed MDIO Bus: probed
    [    1.144757] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.150899] davinci_mdio 4a101000.mdio: detected phy mask fffffff5
    [    1.158658] libphy: 4a101000.mdio: probed
    [    1.162706] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
    [    1.171986] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver SMSC LAN8710/LAN8720
    [    1.181960] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:45:74:88
    [    1.188825] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [    1.196081] cpsw 4a100000.ethernet: cpsw: Detected MACID = 98:5d:ad:45:74:8a
    [    1.204870] mousedev: PS/2 mouse device common for all mice
    [    1.211126] i2c /dev entries driver
    [    1.216448] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.225588] NET: Registered protocol family 10
    [    1.231617] sit: IPv6 over IPv4 tunneling driver
    [    1.237223] NET: Registered protocol family 17
    [    1.242017] Key type dns_resolver registered
    [    1.246670] omap_voltage_late_init: Voltage driver support not added
    [    1.253354] cpu cpu0: OPP-v2 not supported, cpufreq-dt will attempt to use legacy tables.
    [    1.265494] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.270682] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.278351] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xdc
    [    1.284844] nand: AMD/Spansion S34ML04G1
    [    1.288790] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.296446] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.301878] 9 ofpart partitions found on MTD device 8000000.nand
    [    1.307934] Creating 9 MTD partitions on "8000000.nand":
    [    1.313277] 0x000000000000-0x000000020000 : "xload"
    [    1.319704] 0x000000020000-0x000000040000 : "xload_backup1"
    [    1.326646] 0x000000040000-0x000000060000 : "xload_backup2"
    [    1.333491] 0x000000060000-0x000000080000 : "xload_backup3"
    [    1.340416] 0x000000080000-0x000000100000 : "barebox"
    [    1.346883] 0x000000100000-0x000000140000 : "bareboxenv"
    [    1.353416] 0x000000140000-0x000000180000 : "oftree"
    [    1.359737] 0x000000180000-0x000000980000 : "kernel"
    [    1.368931] 0x000000980000-0x000020000000 : "root"
    [    1.566026] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.572620] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [    1.579213] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
    [    1.585244] ubi0: attaching mtd8
    [    2.694646] ubi0: scanning is finished
    [    2.711347] ubi0: attached mtd8 (name "root", size 502 MiB)
    [    2.717074] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    [    2.723982] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    2.730730] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
    [    2.737561] ubi0: good PEBs: 4020, bad PEBs: 0, corrupted PEBs: 0
    [    2.743680] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.750947] ubi0: max/mean erase counter: 98/43, WL threshold: 4096, image sequence number: 15048
    [    2.759933] ubi0: available PEBs: 2, total reserved PEBs: 4018, PEBs reserved for bad PEB handling: 80
    [    2.769313] ubi0: background thread "ubi_bgt0d" started, PID 60
    [    2.775645] hctosys: unable to open rtc device (rtc0)
    [    2.784668] ALSA device list:
    [    2.787805]   No soundcards found.
    [    2.804729] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 61
    [    2.868907] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "root"
    [    2.876228] UBIFS (ubi0:0): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    2.886207] UBIFS (ubi0:0): FS size: 506161152 bytes (482 MiB, 3923 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
    [    2.896962] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    2.902828] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 5C92C47F-602E-4165-ABDC-80E9630027A9, small LPT model
    [    2.915983] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    2.922860] devtmpfs: mounted
    [    2.926258] Freeing unused kernel memory: 268K (c08d5000 - c0918000)
    [    2.932639] This architecture does not have kernel memory protection.
    [    3.135061] systemd[1]: System time before build time, advancing clock.
    [    3.198288] random: systemd: uninitialized urandom read (16 bytes read, 4 bits of entropy available)
    [    3.229525] random: systemd: uninitialized urandom read (16 bytes read, 4 bits of entropy available)
    [    3.250474] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    3.270083] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.10!
    
    [    3.297155] systemd[1]: Set hostname to <am335x-evm>.
    [    3.477298] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.508032] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.564512] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.624610] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.634447] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.644840] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.708118] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.740353] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.993769] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    4.025327] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    4.056382] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    4.085364] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    4.143476] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    4.166497] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    4.195464] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    4.225058] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    4.245049] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    4.267158] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.295218] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    4.315616] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    4.353306] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    4.427783] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st... nodes for the current kernel...
    [    4.526230] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    4.570480] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.668288] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [    4.727112] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    4.755554] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    4.790237] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.826501] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    4.850750] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    4.895402] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    4.925739] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.970392] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    5.063771] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    5.105529] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    5.125503] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    5.156149] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    6.701651] systemd-journald[98]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Load/Save Random Seed...
    [  OK  ] Started udev Coldplug all Devices.
    [    8.560897] omap_rtc 44e3e000.rtc: already running
    [  OK  ] Started Create Volatile Files and Directories.
    [  OK  ] Started Load/Save Random Seed.
    [    8.658253] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    8.747111] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    8.909068] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Found device /dev/ttyS0.
    [    9.022658] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    9.468097] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [   10.732608] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   10.922134]  remoteproc0: wkup_m3 is available
    [   10.931342] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   11.057434]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [   11.123142] PM: Cannot get wkup_m3_ipc handle
    [   11.162923]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   11.218628] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [  OK  ] Started Network Time Synchronization.
    [   11.278870] PM: Cannot get wkup_m3_ipc handle
    [   11.315936] PM: am33xx_prepare_push_sram_idle: EMIF function copy failed
    [   11.417589]  remoteproc0: powering up wkup_m3
    [   11.422955]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217280
    [   11.585123]  remoteproc0: remote processor wkup_m3 is now up
    [   11.585148] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target System Time Synchronized.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting telnetd.service...
             Starting Permit User Sessions...
    [  OK  ] Started System Logging Service.
             Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting Network Service...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Permit User Sessions.
    [   15.159735] usbcore: registered new interface driver usbfs
    [   15.241327] usbcore: registered new interface driver hub
    [   15.296645] usbcore: registered new device driver usb
    [   15.513237] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   15.559912] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [   15.600844] hub 1-0:1.0: USB hub found
    [   15.616985] hub 1-0:1.0: 1 port detected
    [   15.648826] PM: am33xx_prepare_push_sram_idle: EMIF function copy failed
    [   15.669924] PM: am33xx_prepare_push_sram_idle: EMIF function copy failed
    [   15.710308] PM: am33xx_prepare_push_sram_idle: EMIF function copy failed
    [  OK  ] Started Network Service.
    [   16.077213] net eth1: initializing cpsw version 1.12 (0)
    [   16.082607] net eth0: initialized cpsw ale version 1.4
    [   16.106710] net eth0: ALE Table size 1024
    [   16.114221] net eth1: phy found : id is : 0x7c0f1
    [   16.171477] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   16.233090] net eth0: initializing cpsw version 1.12 (0)
    [   16.251618] net eth0: phy found : id is : 0x7c0f1
    [   16.291056] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
             Starting thttpd.service...
    [  OK  ] Started Login Service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            binutils
            dosfstools
            m4
    
    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 thttpd.service.
    [  OK  ] Started Print notice about GPLv3 packages.
    [   19.132737] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
    [   19.164909] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [  OK  ] Started Network Name Resolution.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [   20.285528] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   20.293732] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    
    
     _____             |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                 _| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                 p://arago-project.org am335x-evm ttyS0
    
    Arago 2016.10 am335x-evm ttyS0
    
    oject.org am335x-evm ttyS0
    
    Arago 2016.10 am335x-evm ttyS0
    
    am335x-evm login:
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.32-gadde2ca9f8 (gtbldadm@ubuntu-16) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 PREEMPT Wed Dec 14 18:52:13 EST 2016
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: IPCOMM SEC3
    [    0.000000] cma: Reserved 48 MiB at 0x8d000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 65536
    [    0.000000] free_area_init_node: node 0, pgdat c0964ee8, node_mem_map ccda1000
    [    0.000000]   Normal zone: 576 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 65536 pages, LIFO batch:15
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line:  console=ttyO0,115200n8  root=ubi0:root ubi.mtd=root rw rootfstype=ubifs mtdparts=omap2-nand.0:128k(xload)ro,128k(xload_backup1)ro,128k(xload_backup2)ro,128k(xload_backup3)ro,512k(barebox)ro,256k(bareboxenv),256k(oftree)ro,8M(kernel),-(root)
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 200296K/262144K available (6595K kernel code, 316K rwdata, 2412K rodata, 268K init, 265K bss, 12696K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08d4004   (9009 kB)
    [    0.000000]       .init : 0xc08d5000 - 0xc0918000   ( 268 kB)
    [    0.000000]       .data : 0xc0918000 - 0xc0967370   ( 317 kB)
    [    0.000000]        .bss : 0xc0967370 - 0xc09a9a98   ( 266 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [    0.000015] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000039] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000050] OMAP clocksource: timer1 at 25000000 Hz
    [    0.000219] clocksource_probe: no matching clocksources found
    [    0.000407] Console: colour dummy device 80x30
    [    0.000440] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000447] This ensures that you still see kernel messages. Please
    [    0.000454] update your kernel commandline.
    [    0.000471] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.119108] pid_max: default: 32768 minimum: 301
    [    0.119241] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119252] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119986] Initializing cgroup subsys io
    [    0.120021] Initializing cgroup subsys memory
    [    0.120060] Initializing cgroup subsys devices
    [    0.120077] Initializing cgroup subsys freezer
    [    0.120093] Initializing cgroup subsys perf_event
    [    0.120107] Initializing cgroup subsys pids
    [    0.120137] CPU: Testing write buffer coherency: ok
    [    0.120542] Setting up static identity map for 0x80008200 - 0x80008258
    [    0.122884] devtmpfs: initialized
    [    0.134419] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.149355] omap_hwmod: debugss: _wait_target_disable failed
    [    0.179234] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.183307] pinctrl core: initialized pinctrl subsystem
    [    0.184735] NET: Registered protocol family 16
    [    0.187058] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209109] cpuidle: using governor ladder
    [    0.239098] cpuidle: using governor menu
    [    0.243410] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [    0.243755] OMAP GPIO hardware version 0.1
    [    0.244560] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [    0.245379] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [    0.246214] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [    0.251892] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
    [    0.253570] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.298060] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.301577] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.301641] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [    0.301681] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
    [    0.301800] media: Linux media interface: v0.10
    [    0.301875] Linux video capture interface: v2.00
    [    0.301929] pps_core: LinuxPPS API ver. 1 registered
    [    0.301938] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.301968] PTP clock support registered
    [    0.302028] EDAC MC: Ver: 3.0.0
    [    0.303082] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.303436] Advanced Linux Sound Architecture Driver Initialized.
    [    0.304662] clocksource: Switched to clocksource timer1
    [    0.316618] NET: Registered protocol family 2
    [    0.317458] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.317499] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.317530] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.317606] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.317628] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.317796] NET: Registered protocol family 1
    [    0.318215] RPC: Registered named UNIX socket transport module.
    [    0.318231] RPC: Registered udp transport module.
    [    0.318238] RPC: Registered tcp transport module.
    [    0.318245] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.318274] PCI: CLS 0 bytes, default 64
    [    0.319189] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.321158] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.330023] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.331112] NFS: Registering the id_resolver key type
    [    0.331185] Key type id_resolver registered
    [    0.331193] Key type id_legacy registered
    [    0.331286] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.335292] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.335324] io scheduler noop registered
    [    0.335338] io scheduler deadline registered
    [    0.335534] io scheduler cfq registered (default)
    [    0.336795] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.405728] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.410005] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.056681] console [ttyS0] enabled
    [    1.061195] [drm] Initialized drm 1.1.0 20060810
    [    1.073945] loop: module loaded
    [    1.081549] libphy: Fixed MDIO Bus: probed
    [    1.144734] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.150876] davinci_mdio 4a101000.mdio: detected phy mask fffffff5
    [    1.158662] libphy: 4a101000.mdio: probed
    [    1.162709] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
    [    1.171991] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver SMSC LAN8710/LAN8720
    [    1.181956] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:45:74:88
    [    1.188818] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [    1.196072] cpsw 4a100000.ethernet: cpsw: Detected MACID = 98:5d:ad:45:74:8a
    [    1.204870] mousedev: PS/2 mouse device common for all mice
    [    1.211120] i2c /dev entries driver
    [    1.216451] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.225598] NET: Registered protocol family 10
    [    1.231622] sit: IPv6 over IPv4 tunneling driver
    [    1.237227] NET: Registered protocol family 17
    [    1.242013] Key type dns_resolver registered
    [    1.246672] omap_voltage_late_init: Voltage driver support not added
    [    1.253353] cpu cpu0: OPP-v2 not supported, cpufreq-dt will attempt to use legacy tables.
    [    1.265523] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.270713] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.276971] gpiochip_find_base: found new base at 510
    [    1.277167] gpiochip_add: registered GPIOs 510 to 511 on device: omap-gpmc
    [    1.278119] omap2-nand 8000000.nand: GPIO lookup for consumer rb
    [    1.278141] omap2-nand 8000000.nand: using device tree for GPIO lookup
    [    1.278180] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]' - status (0)
    [    1.278386] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xdc
    [    1.284883] nand: AMD/Spansion S34ML04G1
    [    1.288829] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.296483] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.301913] 9 ofpart partitions found on MTD device 8000000.nand
    [    1.307969] Creating 9 MTD partitions on "8000000.nand":
    [    1.313314] 0x000000000000-0x000000020000 : "xload"
    [    1.319737] 0x000000020000-0x000000040000 : "xload_backup1"
    [    1.326680] 0x000000040000-0x000000060000 : "xload_backup2"
    [    1.333515] 0x000000060000-0x000000080000 : "xload_backup3"
    [    1.340440] 0x000000080000-0x000000100000 : "barebox"
    [    1.346904] 0x000000100000-0x000000140000 : "bareboxenv"
    [    1.353422] 0x000000140000-0x000000180000 : "oftree"
    [    1.359726] 0x000000180000-0x000000980000 : "kernel"
    [    1.368916] 0x000000980000-0x000020000000 : "root"
    [    1.565988] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.572568] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [    1.579164] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
    [    1.585193] ubi0: attaching mtd8
    [    2.694723] ubi0: scanning is finished
    [    2.711413] ubi0: attached mtd8 (name "root", size 502 MiB)
    [    2.717135] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    [    2.724040] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    2.730786] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
    [    2.737618] ubi0: good PEBs: 4020, bad PEBs: 0, corrupted PEBs: 0
    [    2.743737] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    2.751005] ubi0: max/mean erase counter: 98/43, WL threshold: 4096, image sequence number: 15048
    [    2.759991] ubi0: available PEBs: 2, total reserved PEBs: 4018, PEBs reserved for bad PEB handling: 80
    [    2.769369] ubi0: background thread "ubi_bgt0d" started, PID 60
    [    2.775698] hctosys: unable to open rtc device (rtc0)
    [    2.784855] ALSA device list:
    [    2.787861]   No soundcards found.
    [    2.804710] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 61
    [    2.867997] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "root"
    [    2.875320] UBIFS (ubi0:0): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    2.885297] UBIFS (ubi0:0): FS size: 506161152 bytes (482 MiB, 3923 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
    [    2.896053] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    2.901918] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 5C92C47F-602E-4165-ABDC-80E9630027A9, small LPT model
    [    2.915077] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    2.921952] devtmpfs: mounted
    [    2.925347] Freeing unused kernel memory: 268K (c08d5000 - c0918000)
    [    2.931728] This architecture does not have kernel memory protection.
    [    3.134040] systemd[1]: System time before build time, advancing clock.
    [    3.197402] random: systemd: uninitialized urandom read (16 bytes read, 4 bits of entropy available)
    [    3.228693] random: systemd: uninitialized urandom read (16 bytes read, 4 bits of entropy available)
    [    3.249643] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    3.269233] systemd[1]: Detected architecture arm.
    [    3.297122] systemd[1]: Set hostname to <am335x-evm>.
    [    3.476611] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.509198] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.565683] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.625636] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.635484] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.645842] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.709103] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.741342] random: systemd: uninitialized urandom read (16 bytes read, 5 bits of entropy available)
    [    3.995040] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    4.025105] systemd[1]: Reached target Swap.
    [    4.045028] systemd[1]: Reached target Remote File Systems.
    [    4.103374] systemd[1]: Created slice System Slice.
    [    4.125512] systemd[1]: Listening on Syslog Socket.
    [    4.156524] systemd[1]: Created slice system-getty.slice.
    [    4.186445] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    4.215381] systemd[1]: Listening on udev Control Socket.
    [    4.245422] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    4.275150] systemd[1]: Reached target Paths.
    [    4.296848] systemd[1]: Created slice User and Session Slice.
    [    4.325214] systemd[1]: Reached target Slices.
    [    4.345560] systemd[1]: Listening on Journal Socket (/dev/log).
    [    4.377035] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    4.405478] systemd[1]: Listening on udev Kernel Socket.
    [    4.435564] systemd[1]: Listening on Journal Socket.
    [    4.473891] systemd[1]: Mounting Temporary Directory...
    [    4.531423] systemd[1]: Starting Apply Kernel Variables...
    [    4.592642] systemd[1]: Mounting POSIX Message Queue File System...
    [    4.661103] systemd[1]: Starting Journal Service...
    [    4.741290] systemd[1]: Starting Setup Virtual Console...
    [    4.833205] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [    4.930248] systemd[1]: Mounting Debug File System...
    [    4.980253] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    5.045874] systemd[1]: Listening on Network Service Netlink Socket.
    [    5.131596] systemd[1]: Mounted Debug File System.
    [    5.175393] systemd[1]: Mounted POSIX Message Queue File System.
    [    5.205254] systemd[1]: Mounted Temporary Directory.
    [    5.235881] systemd[1]: Started Journal Service.
    [    6.846472] systemd-journald[84]: Received request to flush runtime journal from PID 1
    [    8.742209] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    8.769361] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [    8.769397] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [    8.769417] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [    8.769430] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [    8.769441] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [    8.769455] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
    [    8.769467] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [    8.769477] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [    8.769489] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [    8.769501] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [    8.769511] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [    8.769522] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
    [    8.769585] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    9.013834] omap_rtc 44e3e000.rtc: already running
    [    9.045354] rtc rtc0: 44e3e000.rtc: dev (254:0)
    [    9.045408] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    9.115536] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    9.573218] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   10.640659] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   11.183354] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   11.192597]  remoteproc0: wkup_m3 is available
    [   11.276785]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [   11.321567] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   11.341538] PM: Cannot get wkup_m3_ipc handle
    [   11.395224]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   11.485241] PM: am33xx_prepare_push_sram_idle: EMIF function copy failed
    [   11.594129]  remoteproc0: powering up wkup_m3
    [   11.685848]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217280
    [   11.693400]  remoteproc0: remote processor wkup_m3 is now up
    [   11.699111] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   15.377150] usbcore: registered new interface driver usbfs
    [   15.417082] usbcore: registered new interface driver hub
    [   15.431447] usbcore: registered new device driver usb
    [   15.649388] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [   15.649421] musb-hdrc: MHDRC RTL version 2.0
    [   15.649432] musb-hdrc: setup fifo_mode 4
    [   15.649455] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [   15.649626] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   15.688290] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [   15.735953] hub 1-0:1.0: USB hub found
    [   15.754848] hub 1-0:1.0: 1 port detected
    [   15.764347] PM: am33xx_prepare_push_sram_idle: EMIF function copy failed
    [   15.805092] PM: am33xx_prepare_push_sram_idle: EMIF function copy failed
    [   15.834479] PM: am33xx_prepare_push_sram_idle: EMIF function copy failed
    [   16.102748] net eth1: initializing cpsw version 1.12 (0)
    [   16.134826] net eth0: initialized cpsw ale version 1.4
    [   16.140019] net eth0: ALE Table size 1024
    [   16.169504] net eth1: phy found : id is : 0x7c0f1
    [   16.223514] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   16.275333] net eth0: initializing cpsw version 1.12 (0)
    [   16.284156] net eth0: phy found : id is : 0x7c0f1
    [   16.347713] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   19.185570] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
    [   19.217071] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [   20.315623] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   20.323827] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   31.610441] random: nonblocking pool is initialized
    
    Settings for eth1:
            Supported ports: [ TP MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Supported pause frame use: Symmetric Receive-only
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Advertised pause frame use: Symmetric Receive-only
            Advertised auto-negotiation: Yes
            Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                                 100baseT/Half 100baseT/Full
            Link partner advertised pause frame use: Symmetric Receive-only
            Link partner advertised auto-negotiation: Yes
            Speed: 100Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 3
            Transceiver: external
            Auto-negotiation: on
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
    
            Link detected: yes
    
    root@am335x-evm:~# ethtool -S eth1
    NIC statistics:
         Good Rx Frames: 40
         Broadcast Rx Frames: 4
         Multicast Rx Frames: 14
         Pause Rx Frames: 0
         Rx CRC Errors: 0
         Rx Align/Code Errors: 0
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 5030
         Good Tx Frames: 738
         Broadcast Tx Frames: 229
         Multicast Tx Frames: 70
         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: 62886
         Rx + Tx 64 Octet Frames: 255
         Rx + Tx 65-127 Octet Frames: 482
         Rx + Tx 128-255 Octet Frames: 14
         Rx + Tx 256-511 Octet Frames: 27
         Rx + Tx 512-1023 Octet Frames: 0
         Rx + Tx 1024-Up Octet Frames: 0
         Net Octets: 67916
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan: head_enqueue: 1
         Rx DMA chan: tail_enqueue: 153
         Rx DMA chan: pad_enqueue: 0
         Rx DMA chan: misqueued: 0
         Rx DMA chan: desc_alloc_fail: 0
         Rx DMA chan: pad_alloc_fail: 0
         Rx DMA chan: runt_receive_buf: 0
         Rx DMA chan: runt_transmit_buf: 0
         Rx DMA chan: empty_dequeue: 0
         Rx DMA chan: busy_dequeue: 52
         Rx DMA chan: good_dequeue: 26
         Rx DMA chan: requeue: 0
         Rx DMA chan: teardown_dequeue: 0
         Tx DMA chan: head_enqueue: 737
         Tx DMA chan: tail_enqueue: 1
         Tx DMA chan: pad_enqueue: 0
         Tx DMA chan: misqueued: 1
         Tx DMA chan: desc_alloc_fail: 0
         Tx DMA chan: pad_alloc_fail: 0
         Tx DMA chan: runt_receive_buf: 0
         Tx DMA chan: runt_transmit_buf: 233
         Tx DMA chan: empty_dequeue: 737
         Tx DMA chan: busy_dequeue: 0
         Tx DMA chan: good_dequeue: 738
         Tx DMA chan: requeue: 0
         Tx DMA chan: teardown_dequeue: 0
    
    eth0      Link encap:Ethernet  HWaddr 98:5D:AD:45:74:88
              inet addr:192.168.103.4  Bcast:192.168.103.255  Mask:255.255.255.0
              inet6 addr: fe80::9a5d:adff:fe45:7488%132688/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:6 errors:0 dropped:0 overruns:0 frame:0
              TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:860 (860.0 B)  TX bytes:9376 (9.1 KiB)
              Interrupt:174
    
    eth1      Link encap:Ethernet  HWaddr 98:5D:AD:45:74:8A
              inet6 addr: fe80::9a5d:adff:fe45:748a%132688/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:5052 (4.9 KiB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%132688/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:169 errors:0 dropped:0 overruns:0 frame:0
              TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
              RX bytes:13000 (12.6 KiB)  TX bytes:13000 (12.6 KiB)
    
    eth0      Link encap:Ethernet  HWaddr 98:5D:AD:45:74:88
              inet addr:192.168.103.4  Bcast:192.168.103.255  Mask:255.255.255.0
              inet6 addr: fe80::9a5d:adff:fe45:7488%132688/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:22 errors:0 dropped:0 overruns:0 frame:0
              TX packets:388 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:2320 (2.2 KiB)  TX bytes:30980 (30.2 KiB)
              Interrupt:174
    
    eth1      Link encap:Ethernet  HWaddr 98:5D:AD:45:74:8A
              inet addr:172.16.4.44  Bcast:172.16.255.255  Mask:255.255.0.0
              inet6 addr: fe80::9a5d:adff:fe45:748a%132688/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:257 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:21084 (20.5 KiB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%132688/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:379 errors:0 dropped:0 overruns:0 frame:0
              TX packets:379 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
              RX bytes:36400 (35.5 KiB)  TX bytes:36400 (35.5 KiB)
    

  • Thanks. I have notified the Ethernet experts. They will respond here.
  • Hello Biser,

    due to our design using pin U16 for signal rmii2_crs_dv Barebox needed the following function call in our board.c:

    am33xx_select_rmii2_crs_dv();

    Thanks for your help and sorry for the inconvenience.

  • Hello,

    it looks like I have the same problem on my custom board, based on AM3352 and I'm using U16 for rmii_crs_dv too. At the moment we are using linux-rt-4.4.32.

    Have I to recall am33xx_select_rmii2_crs_dv() ? where I can find this procedure?

    Regards

  • Hello Luigi,

    that setup has to be made in the bootloader; in my case Barebox, where this is managed through the am33xx_select_rmii2_crs_dv() function.
    I'm calling it in the board.c file for my hardware, inside the device_initcall.

    If you are using U-Boot I have no idea how the same thing is accomplished there, unfortunately.

    Take care!