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/AM3357: WLAN not getting enabled

Part Number: AM3357
Other Parts Discussed in Thread: WL1837, , WL1835, AM3352, TPS65910, TLV320AIC3106

Tool/software: Linux

Hello,

We are trying to bring up the WL1837  interfaced with the AM3357 based custom board. we have followed the every instruction provided in the wiki page Platform Integration Guide.

we find that our WLAN_EN pin is not high, even after enabling it in DTS, it is not going high. Is there any other thing that we need to look over.

From the other forum we came to know that  WLAN is not getting enabled because of the fault in SDIO initialization. Can anybody help me here to find  what is going wrong with our SDIO initialization?, we have enabled MMC/SDIO support in menuconfig. Do we need to insert any modules related to SDIO function of MMC. Below are the code snippets of our DTS file.

wlan_en_reg: fixedregulator@2 {
                compatible = "regulator-fixed";
                regulator-name = "wlan-en-regulator";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                startup-delay-us = <70000>;

                /* WLAN_EN GPIO for this board - Bank1, pin16 */
                gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;
                enable-active-high;
        };

 /* wl12xx/wl18xx card enable/irq GPIOs. */
        wlan_pins_default: pinmux_wlan_pins_default {
                pinctrl-single,pins = <
                        0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)  /* gpmc_a0.gpio1_16 */
                        0x19C (PIN_INPUT | MUX_MODE7)           /* mcasp0_ahclkr.gpio3_17 */
                        0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* mcasp0_ahclkx.gpio3_21 */
                >;
        };

   wlan_pins_sleep: pinmux_wlan_pins_sleep {
                pinctrl-single,pins = <
                        0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)  /* gpmc_a0.gpio1_16 */
                        0x19C (PIN_INPUT | MUX_MODE7)           /* mcasp0_ahclkr.gpio3_17 */
                        0x1AC (PIN_OUTPUT_PULLUP | MUX_MODE7)   /* mcasp0_ahclkx.gpio3_21 */
                >;
        };

/* wl12xx/wl18xx card on mmc3 */
        mmc3_pins_default: pinmux_mmc3_pins_default {
                pinctrl-single,pins = <
                        0x44 (PIN_INPUT_PULLUP | MUX_MODE3)     /* gpmc_a1.mmc2_dat0 */
                        0x48 (PIN_INPUT_PULLUP | MUX_MODE3)     /* gpmc_a2.mmc2_dat1 */
                        0x4C (PIN_INPUT_PULLUP | MUX_MODE3)     /* gpmc_a3.mmc2_dat2 */
                        0x78 (PIN_INPUT_PULLUP | MUX_MODE3)     /* gpmc_ben1.mmc2_dat3 */
                        0x88 (PIN_INPUT_PULLUP | MUX_MODE3)     /* gpmc_csn3.mmc2_cmd */
                        0x8C (PIN_INPUT_PULLUP | MUX_MODE3)     /* gpmc_clk.mmc2_clk */
                >;
        };

        mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
                pinctrl-single,pins = <
                        0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7)   /* gpmc_a1.mmc2_dat0 */
                        0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7)   /* gpmc_a2.mmc2_dat1 */
                        0x4C (PIN_INPUT_PULLDOWN | MUX_MODE7)   /* gpmc_a3.mmc2_dat2 */
                        0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7)   /* gpmc_ben1.mmc2_da */
                        0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)   /* gpmc_csn3.mmc2_cmd */
                        0x8C (PIN_INPUT_PULLDOWN | MUX_MODE7)   /* gpmc_clk.mmc2_clk */
                >;
        };

        uart1_pins_default: pinmux_uart1_pins_default {
        pinctrl-single,pins = <
                        0x178 (PIN_INPUT | MUX_MODE0)           /* uart1_ctsn.uart1_ctsn */
                        0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn.uart1_rtsn */
                        0x180 (PIN_INPUT_PULLUP | MUX_MODE0)    /* uart1_rxd.uart1_rxd */
                        0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
                >;
        };

 /* wl12xx/wl18xx card enable/irq GPIOs. */
        wlan_pins_default: pinmux_wlan_pins_default {
                pinctrl-single,pins = <
                        0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)  /* gpmc_a0.gpio1_16 */
                        0x19C (PIN_INPUT | MUX_MODE7)           /* mcasp0_ahclkr.gpio3_17 */
                        0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* mcasp0_ahclkx.gpio3_21 */
                >;
        };

        wlan_pins_sleep: pinmux_wlan_pins_sleep {
                pinctrl-single,pins = <
                        0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)  /* gpmc_a0.gpio1_16 */
                        0x19C (PIN_INPUT | MUX_MODE7)           /* mcasp0_ahclkr.gpio3_17 */
                        0x1AC (PIN_OUTPUT_PULLUP | MUX_MODE7)   /* mcasp0_ahclkx.gpio3_21 */
                >;
        };

&uart1 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart1_pins_default>;

        status = "okay";
};

&edma {

      ti,edma-xbar-event-map = <1 12
                                2 13>;
};

&mmc3{
        status = "okay";
        vmmc-supply = <&wlan_en_reg>;
        bus-width = <4>;
        dmas = <&edma 12 &edma 13>;
        dma-names = "tx","rx";
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;
        pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>;
        ti,non-removable;
        ti,needs-special-hs-handling;
        cap-power-off-card;
        keep-power-in-suspend;

        #address-cells = <1>;
        #size-cells = <0>;
        wlcore: wlcore@0 {
                compatible = "ti,wl1835";
                reg = <2>;
                interrupt-parent = <&gpio3>;
                interrupts = <17 IRQ_TYPE_EDGE_RISING>;
        };
};

Please help me in getting this.

Thank you,

Regards,

Sachin

  • The software team have been notified. They will respond here.
  • Hello,
    Anybody out there?
  • Can you attach your dts & also please post your bootlog.

    Best Regards,
    Yordan
  • Hello Yordan,

    I am able to get the gpio1_16(wlan_en)  line high, after commenting enable-active-high, according to one of the other thread
    e2e.ti.com/.../491451 this was working for them. I just gave a try for that. But now also I am not getting any messages related to SDIO.
    What does it mean, is it failing to attach mmc to sdio?

    Below are my dts file and boot log,

    /*
     * 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/net/ti-dp83867.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM335x EVM";
    	compatible = "ti,am335x-evm", "ti,am33xx";
    
    	cpus {
    		cpu@0 {
    			cpu0-supply = <&vdd1_reg>;
    		};
    	};
    
    	memory {
    		device_type = "memory";
    		reg = <0x80000000 0x10000000>; /* 256 MB */
    	};
    
    	vbat: fixedregulator@0 {
    		compatible = "regulator-fixed";
    		regulator-name = "vbat";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-boot-on;
    	};
    
    	lis3_reg: fixedregulator@1 {
    		compatible = "regulator-fixed";
    		regulator-name = "lis3_reg";
    		regulator-boot-on;
    	};
    
         
    //	wlan_en_reg: fixedregulator@2 {
    //		compatible = "regulator-fixed";
    //		regulator-name = "wlan-en-regulator";
    //		regulator-min-microvolt = <1800000>;
    //		regulator-max-microvolt = <1800000>;
    
    		// WLAN_EN GPIO for this board - Bank1, pin16 
    //		gpio = <&gpio1 16 1>;
    
    		// WLAN card specific delay 
    //		startup-delay-us = <70000>;
    //		enable-active-high;
    //	};
    	
    	
    
    	wlan_en_reg: fixedregulator@2 {
    		compatible = "regulator-fixed";
    		regulator-name = "wlan-en-regulator";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		startup-delay-us = <70000>;
    
    		/* WLAN_EN GPIO for this board - Bank1, pin16 */
    		gpio = <&gpio1 16 0>;
    	//	enable-active-high;
    	};
    
    
    
    };
    
    
    
    &am33xx_pinmux {
    	pinctrl-names = "default";
    	pinctrl-0 = <&clkout2_pin>;
    
    	i2c0_pins: pinmux_i2c0_pins {
    		pinctrl-single,pins = <
    			0x188 (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_sda.i2c0_sda */
    			0x18c (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
    		>;
    	};
    
    	i2c1_pins: pinmux_i2c1_pins {
    		pinctrl-single,pins = <
    			0x158 (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_d1.i2c1_sda */
    			0x15c (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_cs0.i2c1_scl */
    		>;
    	};
    
    	uart0_pins: pinmux_uart0_pins {
    		pinctrl-single,pins = <
    			0x170 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart0_rxd.uart0_rxd */
    			0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart0_txd.uart0_txd */
    		>;
    	};
    
    //	uart1_pins: pinmux_uart1_pins {
    //		pinctrl-single,pins = <
    //			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    //			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    //			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    //			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_txd.uart1_txd */
    //		>;
    //	};
    
    	clkout2_pin: pinmux_clkout2_pin {
    		pinctrl-single,pins = <
    			0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* xdma_event_intr1.clkout2 */
    		>;
    	};
    
    	nandflash_pins_s0: nandflash_pins_s0 {
    		pinctrl-single,pins = <
    			0x0 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad0.gpmc_ad0 */
    			0x4 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad1.gpmc_ad1 */
    			0x8 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad2.gpmc_ad2 */
    			0xc (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad3.gpmc_ad3 */
    			0x10 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad4.gpmc_ad4 */
    			0x14 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad5.gpmc_ad5 */
    			0x18 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad6.gpmc_ad6 */
    			0x1c (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad7.gpmc_ad7 */
    			0x70 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_wait0.gpmc_wait0 */
    			0x74 (PIN_INPUT_PULLUP | MUX_MODE7)	/* gpmc_wpn.gpio0_30 */
    			0x7c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_csn0.gpmc_csn0  */
    			0x90 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_advn_ale.gpmc_advn_ale */
    			0x94 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_oen_ren.gpmc_oen_ren */
    			0x98 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_wen.gpmc_wen */
    			0x9c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_be0n_cle.gpmc_be0n_cle */
    		>;
    	};
    
    	ecap0_pins: backlight_pins {
    		pinctrl-single,pins = <
    			0x164 (PIN_OUTPUT_PULLUP | MUX_MODE0)	/* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
    		>;
    	};
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			/* Slave 1 */
    			0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_tctl */
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl */
    			0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd3.rgmii1_td3 */
    			0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd2.rgmii1_td2 */
    			0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 */
    			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 */
    			0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rgmii1_tclk */
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rgmii1_rclk */
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd3.rgmii1_rd3 */
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd2.rgmii1_rd2 */
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 */
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 */
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			/* Slave 1 reset value */
    			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
    			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	mmc1_pins: pinmux_mmc1_pins {
    		pinctrl-single,pins = <
    			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    		>;
    	};
    
    //	mmc3_pins: pinmux_mmc3_pins {
    //		pinctrl-single,pins = <
    //			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */
    //			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */
    //			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */
    //			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */
    //			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */
    //			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */
    //		>;
    //	};
    
    //	wlan_pins: pinmux_wlan_pins {
    //		pinctrl-single,pins = <
    //			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    //			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    //			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    //		>;
    //	};
    
    	/* wl12xx/wl18xx card on mmc3 */
    	mmc3_pins_default: pinmux_mmc3_pins_default {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3 */
    			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ben1.mmc2_da */
    			0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	uart1_pins_default: pinmux_uart1_pins_default {
    	pinctrl-single,pins = <
    			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
    		>;
    	};
    
    	/* wl12xx/wl18xx card enable/irq GPIOs. */
    	wlan_pins_default: pinmux_wlan_pins_default {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    	wlan_pins_sleep: pinmux_wlan_pins_sleep {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    };
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins>;
    
    	status = "okay";
    };
    
    /* uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart1_pins>;
    
    	status = "okay";
    }; */
    
    
    &uart1 {
            pinctrl-names = "default";
            pinctrl-0 = <&uart1_pins_default>;
    
            status = "okay";
    };
    
    
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps: tps@2d {
    		reg = <0x2d>;
    	};
    };
    
    &usb {
    	status = "okay";
    };
    
    &usb_ctrl_mod {
    	status = "okay";
    };
    
    &usb0_phy {
    	status = "okay";
    };
    
    &usb1_phy {
    	status = "okay";
    };
    
    &usb0 {
    	status = "okay";
    };
    
    &usb1 {
    	status = "okay";
    	dr_mode = "host";
    };
    
    &cppi41dma  {
    	status = "okay";
    };
    
    &i2c1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c1_pins>;
    
    	status = "okay";
    	clock-frequency = <100000>;
    
    	lis331dlh: lis331dlh@18 {
    		compatible = "st,lis331dlh", "st,lis3lv02d";
    		reg = <0x18>;
    		Vdd-supply = <&lis3_reg>;
    		Vdd_IO-supply = <&lis3_reg>;
    
    		st,click-single-x;
    		st,click-single-y;
    		st,click-single-z;
    		st,click-thresh-x = <10>;
    		st,click-thresh-y = <10>;
    		st,click-thresh-z = <10>;
    		st,irq1-click;
    		st,irq2-click;
    		st,wakeup-x-lo;
    		st,wakeup-x-hi;
    		st,wakeup-y-lo;
    		st,wakeup-y-hi;
    		st,wakeup-z-lo;
    		st,wakeup-z-hi;
    		st,min-limit-x = <120>;
    		st,min-limit-y = <120>;
    		st,min-limit-z = <140>;
    		st,max-limit-x = <550>;
    		st,max-limit-y = <550>;
    		st,max-limit-z = <750>;
    	};
    
    	tsl2550: tsl2550@39 {
    		compatible = "taos,tsl2550";
    		reg = <0x39>;
    	};
    
    	tmp275: tmp275@48 {
    		compatible = "ti,tmp275";
    		reg = <0x48>;
    	};
    
    	tlv320aic3106: tlv320aic3106@1b {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x1b>;
    		status = "okay";
    
    		/* Regulators */
    		AVDD-supply = <&vaux2_reg>;
    		IOVDD-supply = <&vaux2_reg>;
    		DRVDD-supply = <&vaux2_reg>;
    		DVDD-supply = <&vbat>;
    	};
    };
    
    &lcdc {
    	status = "okay";
    
    	blue-and-red-wiring = "crossed";
    };
    
    &elm {
    	status = "okay";
    };
    
    &epwmss0 {
    	status = "okay";
    
    	ecap0: ecap@48300100 {
    		status = "okay";
    		pinctrl-names = "default";
    		pinctrl-0 = <&ecap0_pins>;
    	};
    };
    
    &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>, /* fifoevent */
    			     <1 IRQ_TYPE_NONE>;	/* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    		ti,nand-ecc-opt = "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,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-access-ns = <40>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000C0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001C0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001E0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00A00000 0x0F600000>;
    		};
    	};
    };
    
    #include "tps65910.dtsi"
    
    &tps {
    	vcc1-supply = <&vbat>;
    	vcc2-supply = <&vbat>;
    	vcc3-supply = <&vbat>;
    	vcc4-supply = <&vbat>;
    	vcc5-supply = <&vbat>;
    	vcc6-supply = <&vbat>;
    	vcc7-supply = <&vbat>;
    	vccio-supply = <&vbat>;
    
    	regulators {
    		vrtc_reg: regulator@0 {
    			regulator-always-on;
    		};
    
    		vio_reg: regulator@1 {
    			regulator-always-on;
    		};
    
    		vdd1_reg: regulator@2 {
    			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1351500>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd2_reg: regulator@3 {
    			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1150000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd3_reg: regulator@4 {
    			regulator-always-on;
    		};
    
    		vdig1_reg: regulator@5 {
    			regulator-always-on;
    		};
    
    		vdig2_reg: regulator@6 {
    			regulator-always-on;
    		};
    
    		vpll_reg: regulator@7 {
    			regulator-always-on;
    		};
    
    		vdac_reg: regulator@8 {
    			regulator-always-on;
    		};
    
    		vaux1_reg: regulator@9 {
    			regulator-always-on;
    		};
    
    		vaux2_reg: regulator@10 {
    			regulator-always-on;
    		};
    
    		vaux33_reg: regulator@11 {
    			regulator-always-on;
    		};
    
    		vmmc_reg: regulator@12 {
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <3300000>;
    			regulator-always-on;
    		};
    	};
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
    	ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
    	ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	ti,strap-mode = <DP83867_4LEVEL_STRAP_MODE1>;
    	ti,min-output-impedance;
    
    	status = "okay";
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &cpsw_emac1 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &tscadc {
    	status = "okay";
    	tsc {
    		ti,wires = <4>;
    		ti,x-plate-resistance = <200>;
    		ti,coordinate-readouts = <5>;
    		ti,wire-config = <0x00 0x11 0x22 0x33>;
    		ti,charge-delay = <0x400>;
    	};
    
    	adc {
    		ti,adc-channels = <4 5 6 7>;
    	};
    };
    
    &mmc1 {
    	status = "okay";
    	vmmc-supply = <&vmmc_reg>;
    	bus-width = <4>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins>;
    	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };
    
     
    //&mmc3 {
    	// these are on the crossbar and are outlined in the
    	//   xbar-event-map element 
    //	dmas = <&edma_xbar 12 0 1
    //		&edma_xbar 13 0 2>;
    //	dma-names = "tx", "rx";
    //	status = "okay";
    //	vmmc-supply = <&wlan_en_reg>;
    //	bus-width = <4>;
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&mmc3_pins &wlan_pins>;
    //	ti,non-removable;
    //	ti,needs-special-hs-handling;
    //	status = "okay";
    //};
    
    
    //&edma {
    
      //    ti,edma-xbar-event-map = <1 12
        //                            2 13>;
    //};
    
    &mmc3{
    	dmas = <&edma_xbar 12 0 1 &edma_xbar 13 0 2>;
    	dma-names = "tx","rx";
    	status = "okay";
            vmmc-supply = <&wlan_en_reg>;
            bus-width = <4>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;
    	pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>;
    	ti,non-removable;
    	ti,needs-special-hs-handling;
    	cap-power-off-card;
    	keep-power-in-suspend;
    
    	#address-cells = <1>;
    	#size-cells = <0>;
    	wlcore: wlcore@0 {
    		compatible = "ti,wl1835";
    		reg = <2>;
    		interrupt-parent = <&gpio3>;
    		interrupts = <17 IRQ_TYPE_EDGE_RISING>; 
    	};
    };
    
    //&edma {
    
    //	ti,edma-xbar-event-map = <1 12
    //				  2 13>;
    //};
    
    
    &wkup_m3_ipc {
    	ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };
    
    &rtc {
    	clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
    	clock-names = "ext-clk", "int-clk";
    };
    
    &sgx {
    	status = "okay";
    };
    

    NAND read: device 0 offset 0x80000, size 0x40000
     262144 bytes read: OK
    
    NAND read: device 0 offset 0x200000, size 0x800000
     8388608 bytes read: OK
    Kernel image @ 0x82000000 [ 0x000000 - 0x34d450 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff934 ... OK
    
    Starting kernel ...
    
    [    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.41-gf9f6f0db2d (root@adems) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #13 PREEMPT 7
    [    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: TI AM335x EVM
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    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: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 979388K/1048576K available (6591K kernel code, 316K rwdata, 2344K rodata, 260K init, 265K bss, 20036K reserved, 49152K )
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08c2004   (8937 kB)
    [    0.000000]       .init : 0xc08c3000 - 0xc0904000   ( 260 kB)
    [    0.000000]       .data : 0xc0904000 - 0xc09533f0   ( 317 kB)
    [    0.000000]        .bss : 0xc09533f0 - 0xc0995a58   ( 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 24000000 Hz
    [    0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000042] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000056] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000265] clocksource_probe: no matching clocksources found
    [    0.000479] Console: colour dummy device 80x30
    [    0.000511] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000520] This ensures that you still see kernel messages. Please
    [    0.000527] update your kernel commandline.
    [    0.000550] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.058734] pid_max: default: 32768 minimum: 301
    [    0.058900] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.058916] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059799] Initializing cgroup subsys io
    [    0.059835] Initializing cgroup subsys memory
    [    0.059880] Initializing cgroup subsys devices
    [    0.059900] Initializing cgroup subsys freezer
    [    0.059918] Initializing cgroup subsys perf_event
    [    0.059933] Initializing cgroup subsys pids
    [    0.059969] CPU: Testing write buffer coherency: ok
    [    0.060432] Setting up static identity map for 0x80008200 - 0x80008260
    [    0.063170] devtmpfs: initialized
    [    0.079159] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.098131] omap_hwmod: debugss: _wait_target_disable failed
    [    0.156344] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.161235] pinctrl core: initialized pinctrl subsystem
    [    0.162839] NET: Registered protocol family 16
    [    0.165407] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.188794] cpuidle: using governor ladder
    [    0.218784] cpuidle: using governor menu
    [    0.224537] OMAP GPIO hardware version 0.1
    [    0.235625] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferrie
    [    0.238308] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.279642] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.285096] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring e
    [    0.285168] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring e
    [    0.285328] media: Linux media interface: v0.10
    [    0.285404] Linux video capture interface: v2.00
    [    0.285466] pps_core: LinuxPPS API ver. 1 registered
    [    0.285477] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.285514] PTP clock support registered
    [    0.285588] EDAC MC: Ver: 3.0.0
    [    0.287041] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.287489] Advanced Linux Sound Architecture Driver Initialized.
    [    0.289024] clocksource: Switched to clocksource timer1
    [    0.303060] NET: Registered protocol family 2
    [    0.304014] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304137] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304247] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.304366] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304402] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304603] NET: Registered protocol family 1
    [    0.305080] RPC: Registered named UNIX socket transport module.
    [    0.305100] RPC: Registered udp transport module.
    [    0.305109] RPC: Registered tcp transport module.
    [    0.305118] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.306244] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.308697] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.319635] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.320650] NFS: Registering the id_resolver key type
    [    0.320730] Key type id_resolver registered
    [    0.320742] Key type id_legacy registered
    [    0.320838] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.325068] bounce: pool size: 64 pages
    [    0.325385] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.325410] io scheduler noop registered
    [    0.325427] io scheduler deadline registered
    [    0.325638] io scheduler cfq registered (default)
    [    0.327315] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.411109] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.416295] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.043628] console [ttyS0] enabled
    [    1.048640] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.058895] [drm] Initialized drm 1.1.0 20060810
    [    1.066076] tilcdc 4830e000.lcdc: no encoders/connectors found
    [    1.081274] loop: module loaded
    [    1.087752] libphy: Fixed MDIO Bus: probed
    [    1.159091] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.165241] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.172514] libphy: 4a101000.mdio: probed
    [    1.176566] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.185838] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:75:13:63
    [    1.192672] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [    1.201224] mousedev: PS/2 mouse device common for all mice
    [    1.207578] i2c /dev entries driver
    [    1.212572] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.220406] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.373084] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.384626] NET: Registered protocol family 10
    [    1.390884] sit: IPv6 over IPv4 tunneling driver
    [    1.396521] NET: Registered protocol family 17
    [    1.401549] Key type dns_resolver registered
    [    1.406162] omap_voltage_late_init: Voltage driver support not added
    [    1.416688] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.422059] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.429960] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.436348] nand: Micron MT29F2G08ABAEAWP
    [    1.440483] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.448126] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.453601] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.459748] Creating 10 MTD partitions on "8000000.nand":
    [    1.465203] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.472166] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.479663] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.486919] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.494239] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.501780] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.508934] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.516237] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.524228] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.534001] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.649325] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.680251] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.688032] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    1.694563] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.699808] vmmc: supplied by vbat
    [    1.739827] vdd_mpu: supplied by vbat
    [    1.750167] ubi0: attaching mtd9
    [    3.711438] ubi0: scanning is finished
    [    3.740879] ubi0: attached mtd9 (name "NAND.file-system", size 246 MiB)
    [    3.747613] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    3.754597] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    3.761397] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    3.768440] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
    [    3.774636] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    3.781965] ubi0: max/mean erase counter: 3/0, WL threshold: 4096, image sequence number: 1015831849
    [    3.791209] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved for bad PEB handling: 40
    [    3.800637] ubi0: background thread "ubi_bgt0d" started, PID 59
    [    3.808179] hctosys: unable to open rtc device (rtc0)
    [    3.817800] lis3_reg: disabling
    [    3.821084] wlan-en-regulator: disabling
    [    3.825482] ALSA device list:
    [    3.828474]   No soundcards found.
    [    3.839155] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 60
    [    3.901392] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    3.908850] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    3.918865] UBIFS (ubi0:0): FS size: 242905088 bytes (231 MiB, 1913 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    3.929633] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    3.935502] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 0726D1E4-4D45-4CFA-B6F9-A5C85C74888E, small LPT model
    [    3.947988] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    3.955600] devtmpfs: mounted
    [    3.959060] Freeing unused kernel memory: 260K (c08c3000 - c0904000)
    [    3.965443] This architecture does not have kernel memory protection.
    [    4.175083] systemd[1]: System time before build time, advancing clock.
    [    4.242606] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.274834] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.298095] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
    [    4.317945] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [    4.341184] systemd[1]: Set hostname to <am335x-evm>.
    [    4.540651] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.571653] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.633756] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.695131] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.705208] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.715921] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.783023] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.814671] random: systemd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
    [    5.090177] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.119536] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    5.144368] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    5.170837] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    5.203167] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    5.231176] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    5.261192] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    5.290261] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.319784] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    5.349858] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    5.379460] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    5.399883] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.435387] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    5.541877] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    5.594998] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    5.675044] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [    5.782437] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.825716] 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...
    [    5.879822] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.914771] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    5.954914] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    6.025209] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    6.080016] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.121837] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.139726] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    6.198408] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    6.239899] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    6.259839] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    6.290524] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
             Starting Create Static Device Nodes in /dev...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    7.971265] systemd-journald[97]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
    [   10.346889] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   10.436240] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [   10.505557] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   10.671634] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [  OK  ] Started udev Coldplug all Devices.
    [   10.875723] vaux2: supplied by vbat
    [   10.880758] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [   11.153630] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [   11.678545] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   11.744611] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [   11.872410] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [   11.937365] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   12.062563]  remoteproc0: 4a334000.pru0 is available
    [   12.067586]  remoteproc0: Note: remoteproc is still under development and considered experimental.
             Starting Network Time Synchronization...
    [   12.219988]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   12.319242]  remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [   12.327236]  remoteproc0: failed to load am335x-pru0-fw
    [   12.470492] pru-rproc 4a334000.pru0: booting the PRU core manually
    [   12.476737]  remoteproc0: powering up 4a334000.pru0
             Starting Update UTMP about System Boot/Shutdown...
    [   12.540788]  remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [   12.548783]  remoteproc0: request_firmware failed: -2
    [   12.759211] pru-rproc 4a334000.pru0: rproc_boot failed
    [   12.764523]  remoteproc0: releasing 4a334000.pru0
    [   12.924040] pru-rproc: probe of 4a334000.pru0 failed with error -2
    [   13.029816]  remoteproc0: 4a338000.pru1 is available
    [   13.034838]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [   13.179493]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  OK  ] Started Network Time Synchronization.
    [   13.312517] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   13.349437]  remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [   13.357429]  remoteproc0: failed to load am335x-pru1-fw
    [   13.442612]  remoteproc1: wkup_m3 is available
    [   13.447111]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [   13.509263] pru-rproc 4a338000.pru1: booting the PRU core manually
    [   13.515514]  remoteproc0: powering up 4a338000.pru1
    [   13.622963]  remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [   13.700631]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   13.739656]  remoteproc0: request_firmware failed: -2
    [   13.744774] pru-rproc 4a338000.pru1: rproc_boot failed
    [   13.847271] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   13.871131]  remoteproc0: releasing 4a338000.pru1
    [   13.876052] pru-rproc: probe of 4a338000.pru1 failed with error -2
    [   14.014407] PM: Cannot get wkup_m3_ipc handle
    [   14.041326] PM: bootloader does not support rtc-only!
    [   14.046606]  remoteproc1: powering up wkup_m3
    [   14.081539]  remoteproc1: Booting fw image am335x-pm-firmware.elf, size 217280
    [   14.167306]  remoteproc1: remote processor wkup_m3 is now up
    [   14.167339] 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.
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Login Service...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started System Logging Service.
             Starting telnetd.service...
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Permit User Sessions...
             Starting Network Service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Permit User Sessions.
    [   19.480576] usbcore: registered new interface driver usbfs
    [   19.486224] usbcore: registered new interface driver hub
    [  OK  ] Started Network Service.
    [   19.599498] usbcore: registered new device driver usb
    [   19.872207] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   19.878031] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [   19.903062] net eth0: initializing cpsw version 1.12 (0)
    [   19.908459] net eth0: initialized cpsw ale version 1.4
    [   19.939122] net eth0: ALE Table size 1024
    [   19.945481] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [   19.962396] hub 1-0:1.0: USB hub found
    [   19.979199] hub 1-0:1.0: 1 port detected
    [   20.002176] net eth0: phy found : id is : 0x2000a231
    [   20.054994] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   20.076084] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [   20.114569] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [   20.165123] hub 2-0:1.0: USB hub found
    [   20.189194] hub 2-0:1.0: 1 port detected
    [   21.369200] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [   21.844850] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
    [   21.891814] cdc_acm 2-1:1.2: ttyACM1: USB ACM device
    [   21.934933] cdc_acm 2-1:1.4: ttyACM2: USB ACM device
    [   21.980018] cdc_ether 2-1:1.10 usb0: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:00
    [   22.002701] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   22.039653] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   22.063566] cdc_acm 2-1:1.6: ttyACM3: USB ACM device
    [   22.101641] cdc_ether 2-1:1.12 usb1: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:01
    [   22.151061] cdc_acm 2-1:1.8: ttyACM4: USB ACM device
    [   22.158813] usbcore: registered new interface driver cdc_ether
    [   22.184022] usbcore: registered new interface driver cdc_acm
    [   22.219230] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   22.624269] cdc_ether 2-1:1.12 usb1: CDC: unexpected notification 01!
    [   22.790255] cdc_ether 2-1:1.10 usb0: CDC: unexpected notification 01!
    [   22.862151] random: nonblocking pool is initialized
    ***************************************************************
    ***************************************************************
    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 Print notice about GPLv3 packages.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
             Starting thttpd.service...
    [  OK  ] Started Login Service.
    [  OK  ] Started thttpd.service.
    [  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.
    
    

    Regards,

    Sachin

  • Hello,

    Any progress on this thread? I am stuck with this problem.
  • Part Number: AM3357

    Tool/software: Linux

    We are trying to bring up the WL1837  interfaced with the AM3357 based custom board. we have followed the every instruction provided in the wiki page Platform Integration Guide.

    we find that our WLAN_EN pin is not high, even after enabling it in DTS, But am able to get the wlan_en (gpio1_16)  line high, after commenting enable-active-high in am335x-evm.dts , according to one of the other thread
    e2e.ti.com/.../491451 this was working for them.

    From the other forum we came to know that  WLAN is not getting enabled because of the fault in SDIO initialization. Can anybody help me here to find  what is going wrong with our SDIO initialization?, we have enabled MMC/SDIO support in menuconfig. Do we need to insert any modules related to SDIO function of MMC. Below are the code snippets of our DTS file.

    I am posting my log file and dts file, please somebody help me to get it done.

    /*
     * 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/net/ti-dp83867.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM335x EVM";
    	compatible = "ti,am335x-evm", "ti,am33xx";
    
    	cpus {
    		cpu@0 {
    			cpu0-supply = <&vdd1_reg>;
    		};
    	};
    
    	memory {
    		device_type = "memory";
    		reg = <0x80000000 0x10000000>; /* 256 MB */
    	};
    
    	vbat: fixedregulator@0 {
    		compatible = "regulator-fixed";
    		regulator-name = "vbat";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-boot-on;
    	};
    
    	lis3_reg: fixedregulator@1 {
    		compatible = "regulator-fixed";
    		regulator-name = "lis3_reg";
    		regulator-boot-on;
    	};
    
         
    //	wlan_en_reg: fixedregulator@2 {
    //		compatible = "regulator-fixed";
    //		regulator-name = "wlan-en-regulator";
    //		regulator-min-microvolt = <1800000>;
    //		regulator-max-microvolt = <1800000>;
    
    		// WLAN_EN GPIO for this board - Bank1, pin16 
    //		gpio = <&gpio1 16 1>;
    
    		// WLAN card specific delay 
    //		startup-delay-us = <70000>;
    //		enable-active-high;
    //	};
    	
    	
    
    	wlan_en_reg: fixedregulator@2 {
    		compatible = "regulator-fixed";
    		regulator-name = "wlan-en-regulator";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		startup-delay-us = <70000>;
    
    		/* WLAN_EN GPIO for this board - Bank1, pin16 */
    		gpio = <&gpio1 16 0>;
    	//	enable-active-high;
    	};
    
    
    
    };
    
    
    
    &am33xx_pinmux {
    	pinctrl-names = "default";
    	pinctrl-0 = <&clkout2_pin>;
    
    	i2c0_pins: pinmux_i2c0_pins {
    		pinctrl-single,pins = <
    			0x188 (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_sda.i2c0_sda */
    			0x18c (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
    		>;
    	};
    
    	i2c1_pins: pinmux_i2c1_pins {
    		pinctrl-single,pins = <
    			0x158 (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_d1.i2c1_sda */
    			0x15c (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_cs0.i2c1_scl */
    		>;
    	};
    
    	uart0_pins: pinmux_uart0_pins {
    		pinctrl-single,pins = <
    			0x170 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart0_rxd.uart0_rxd */
    			0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart0_txd.uart0_txd */
    		>;
    	};
    
    //	uart1_pins: pinmux_uart1_pins {
    //		pinctrl-single,pins = <
    //			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    //			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    //			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    //			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_txd.uart1_txd */
    //		>;
    //	};
    
    	clkout2_pin: pinmux_clkout2_pin {
    		pinctrl-single,pins = <
    			0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* xdma_event_intr1.clkout2 */
    		>;
    	};
    
    	nandflash_pins_s0: nandflash_pins_s0 {
    		pinctrl-single,pins = <
    			0x0 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad0.gpmc_ad0 */
    			0x4 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad1.gpmc_ad1 */
    			0x8 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad2.gpmc_ad2 */
    			0xc (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad3.gpmc_ad3 */
    			0x10 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad4.gpmc_ad4 */
    			0x14 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad5.gpmc_ad5 */
    			0x18 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad6.gpmc_ad6 */
    			0x1c (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad7.gpmc_ad7 */
    			0x70 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_wait0.gpmc_wait0 */
    			0x74 (PIN_INPUT_PULLUP | MUX_MODE7)	/* gpmc_wpn.gpio0_30 */
    			0x7c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_csn0.gpmc_csn0  */
    			0x90 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_advn_ale.gpmc_advn_ale */
    			0x94 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_oen_ren.gpmc_oen_ren */
    			0x98 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_wen.gpmc_wen */
    			0x9c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_be0n_cle.gpmc_be0n_cle */
    		>;
    	};
    
    	ecap0_pins: backlight_pins {
    		pinctrl-single,pins = <
    			0x164 (PIN_OUTPUT_PULLUP | MUX_MODE0)	/* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
    		>;
    	};
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			/* Slave 1 */
    			0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_tctl */
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl */
    			0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd3.rgmii1_td3 */
    			0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd2.rgmii1_td2 */
    			0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 */
    			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 */
    			0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rgmii1_tclk */
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rgmii1_rclk */
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd3.rgmii1_rd3 */
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd2.rgmii1_rd2 */
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 */
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 */
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			/* Slave 1 reset value */
    			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
    			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	mmc1_pins: pinmux_mmc1_pins {
    		pinctrl-single,pins = <
    			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    		>;
    	};
    
    //	mmc3_pins: pinmux_mmc3_pins {
    //		pinctrl-single,pins = <
    //			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */
    //			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */
    //			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */
    //			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */
    //			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */
    //			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */
    //		>;
    //	};
    
    //	wlan_pins: pinmux_wlan_pins {
    //		pinctrl-single,pins = <
    //			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    //			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    //			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    //		>;
    //	};
    
    	/* wl12xx/wl18xx card on mmc3 */
    	mmc3_pins_default: pinmux_mmc3_pins_default {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3 */
    			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ben1.mmc2_da */
    			0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	uart1_pins_default: pinmux_uart1_pins_default {
    	pinctrl-single,pins = <
    			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
    		>;
    	};
    
    	/* wl12xx/wl18xx card enable/irq GPIOs. */
    	wlan_pins_default: pinmux_wlan_pins_default {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    	wlan_pins_sleep: pinmux_wlan_pins_sleep {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    };
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins>;
    
    	status = "okay";
    };
    
    /* uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart1_pins>;
    
    	status = "okay";
    }; */
    
    
    &uart1 {
            pinctrl-names = "default";
            pinctrl-0 = <&uart1_pins_default>;
    
            status = "okay";
    };
    
    
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps: tps@2d {
    		reg = <0x2d>;
    	};
    };
    
    &usb {
    	status = "okay";
    };
    
    &usb_ctrl_mod {
    	status = "okay";
    };
    
    &usb0_phy {
    	status = "okay";
    };
    
    &usb1_phy {
    	status = "okay";
    };
    
    &usb0 {
    	status = "okay";
    };
    
    &usb1 {
    	status = "okay";
    	dr_mode = "host";
    };
    
    &cppi41dma  {
    	status = "okay";
    };
    
    &i2c1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c1_pins>;
    
    	status = "okay";
    	clock-frequency = <100000>;
    
    	lis331dlh: lis331dlh@18 {
    		compatible = "st,lis331dlh", "st,lis3lv02d";
    		reg = <0x18>;
    		Vdd-supply = <&lis3_reg>;
    		Vdd_IO-supply = <&lis3_reg>;
    
    		st,click-single-x;
    		st,click-single-y;
    		st,click-single-z;
    		st,click-thresh-x = <10>;
    		st,click-thresh-y = <10>;
    		st,click-thresh-z = <10>;
    		st,irq1-click;
    		st,irq2-click;
    		st,wakeup-x-lo;
    		st,wakeup-x-hi;
    		st,wakeup-y-lo;
    		st,wakeup-y-hi;
    		st,wakeup-z-lo;
    		st,wakeup-z-hi;
    		st,min-limit-x = <120>;
    		st,min-limit-y = <120>;
    		st,min-limit-z = <140>;
    		st,max-limit-x = <550>;
    		st,max-limit-y = <550>;
    		st,max-limit-z = <750>;
    	};
    
    	tsl2550: tsl2550@39 {
    		compatible = "taos,tsl2550";
    		reg = <0x39>;
    	};
    
    	tmp275: tmp275@48 {
    		compatible = "ti,tmp275";
    		reg = <0x48>;
    	};
    
    	tlv320aic3106: tlv320aic3106@1b {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x1b>;
    		status = "okay";
    
    		/* Regulators */
    		AVDD-supply = <&vaux2_reg>;
    		IOVDD-supply = <&vaux2_reg>;
    		DRVDD-supply = <&vaux2_reg>;
    		DVDD-supply = <&vbat>;
    	};
    };
    
    &lcdc {
    	status = "okay";
    
    	blue-and-red-wiring = "crossed";
    };
    
    &elm {
    	status = "okay";
    };
    
    &epwmss0 {
    	status = "okay";
    
    	ecap0: ecap@48300100 {
    		status = "okay";
    		pinctrl-names = "default";
    		pinctrl-0 = <&ecap0_pins>;
    	};
    };
    
    &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>, /* fifoevent */
    			     <1 IRQ_TYPE_NONE>;	/* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    		ti,nand-ecc-opt = "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,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-access-ns = <40>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000C0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001C0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001E0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00A00000 0x0F600000>;
    		};
    	};
    };
    
    #include "tps65910.dtsi"
    
    &tps {
    	vcc1-supply = <&vbat>;
    	vcc2-supply = <&vbat>;
    	vcc3-supply = <&vbat>;
    	vcc4-supply = <&vbat>;
    	vcc5-supply = <&vbat>;
    	vcc6-supply = <&vbat>;
    	vcc7-supply = <&vbat>;
    	vccio-supply = <&vbat>;
    
    	regulators {
    		vrtc_reg: regulator@0 {
    			regulator-always-on;
    		};
    
    		vio_reg: regulator@1 {
    			regulator-always-on;
    		};
    
    		vdd1_reg: regulator@2 {
    			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1351500>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd2_reg: regulator@3 {
    			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1150000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd3_reg: regulator@4 {
    			regulator-always-on;
    		};
    
    		vdig1_reg: regulator@5 {
    			regulator-always-on;
    		};
    
    		vdig2_reg: regulator@6 {
    			regulator-always-on;
    		};
    
    		vpll_reg: regulator@7 {
    			regulator-always-on;
    		};
    
    		vdac_reg: regulator@8 {
    			regulator-always-on;
    		};
    
    		vaux1_reg: regulator@9 {
    			regulator-always-on;
    		};
    
    		vaux2_reg: regulator@10 {
    			regulator-always-on;
    		};
    
    		vaux33_reg: regulator@11 {
    			regulator-always-on;
    		};
    
    		vmmc_reg: regulator@12 {
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <3300000>;
    			regulator-always-on;
    		};
    	};
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
    	ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
    	ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	ti,strap-mode = <DP83867_4LEVEL_STRAP_MODE1>;
    	ti,min-output-impedance;
    
    	status = "okay";
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &cpsw_emac1 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &tscadc {
    	status = "okay";
    	tsc {
    		ti,wires = <4>;
    		ti,x-plate-resistance = <200>;
    		ti,coordinate-readouts = <5>;
    		ti,wire-config = <0x00 0x11 0x22 0x33>;
    		ti,charge-delay = <0x400>;
    	};
    
    	adc {
    		ti,adc-channels = <4 5 6 7>;
    	};
    };
    
    &mmc1 {
    	status = "okay";
    	vmmc-supply = <&vmmc_reg>;
    	bus-width = <4>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins>;
    	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };
    
     
    //&mmc3 {
    	// these are on the crossbar and are outlined in the
    	//   xbar-event-map element 
    //	dmas = <&edma_xbar 12 0 1
    //		&edma_xbar 13 0 2>;
    //	dma-names = "tx", "rx";
    //	status = "okay";
    //	vmmc-supply = <&wlan_en_reg>;
    //	bus-width = <4>;
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&mmc3_pins &wlan_pins>;
    //	ti,non-removable;
    //	ti,needs-special-hs-handling;
    //	status = "okay";
    //};
    
    
    //&edma {
    
      //    ti,edma-xbar-event-map = <1 12
        //                            2 13>;
    //};
    
    &mmc3{
    	dmas = <&edma_xbar 12 0 1 &edma_xbar 13 0 2>;
    	dma-names = "tx","rx";
    	status = "okay";
            vmmc-supply = <&wlan_en_reg>;
            bus-width = <4>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;
    	pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>;
    	ti,non-removable;
    	ti,needs-special-hs-handling;
    	cap-power-off-card;
    	keep-power-in-suspend;
    
    	#address-cells = <1>;
    	#size-cells = <0>;
    	wlcore: wlcore@0 {
    		compatible = "ti,wl1835";
    		reg = <2>;
    		interrupt-parent = <&gpio3>;
    		interrupts = <17 IRQ_TYPE_EDGE_RISING>; 
    	};
    };
    
    //&edma {
    
    //	ti,edma-xbar-event-map = <1 12
    //				  2 13>;
    //};
    
    
    &wkup_m3_ipc {
    	ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };
    
    &rtc {
    	clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
    	clock-names = "ext-clk", "int-clk";
    };
    
    &sgx {
    	status = "okay";
    };
    

    NAND read: device 0 offset 0x80000, size 0x40000
     262144 bytes read: OK
    
    NAND read: device 0 offset 0x200000, size 0x800000
     8388608 bytes read: OK
    Kernel image @ 0x82000000 [ 0x000000 - 0x34d450 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff934 ... OK
    
    Starting kernel ...
    
    [    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.41-gf9f6f0db2d (root@adems) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #13 PREEMPT 7
    [    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: TI AM335x EVM
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    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: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 979388K/1048576K available (6591K kernel code, 316K rwdata, 2344K rodata, 260K init, 265K bss, 20036K reserved, 49152K )
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08c2004   (8937 kB)
    [    0.000000]       .init : 0xc08c3000 - 0xc0904000   ( 260 kB)
    [    0.000000]       .data : 0xc0904000 - 0xc09533f0   ( 317 kB)
    [    0.000000]        .bss : 0xc09533f0 - 0xc0995a58   ( 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 24000000 Hz
    [    0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000042] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000056] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000265] clocksource_probe: no matching clocksources found
    [    0.000479] Console: colour dummy device 80x30
    [    0.000511] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000520] This ensures that you still see kernel messages. Please
    [    0.000527] update your kernel commandline.
    [    0.000550] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.058734] pid_max: default: 32768 minimum: 301
    [    0.058900] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.058916] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059799] Initializing cgroup subsys io
    [    0.059835] Initializing cgroup subsys memory
    [    0.059880] Initializing cgroup subsys devices
    [    0.059900] Initializing cgroup subsys freezer
    [    0.059918] Initializing cgroup subsys perf_event
    [    0.059933] Initializing cgroup subsys pids
    [    0.059969] CPU: Testing write buffer coherency: ok
    [    0.060432] Setting up static identity map for 0x80008200 - 0x80008260
    [    0.063170] devtmpfs: initialized
    [    0.079159] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.098131] omap_hwmod: debugss: _wait_target_disable failed
    [    0.156344] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.161235] pinctrl core: initialized pinctrl subsystem
    [    0.162839] NET: Registered protocol family 16
    [    0.165407] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.188794] cpuidle: using governor ladder
    [    0.218784] cpuidle: using governor menu
    [    0.224537] OMAP GPIO hardware version 0.1
    [    0.235625] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferrie
    [    0.238308] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.279642] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.285096] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring e
    [    0.285168] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring e
    [    0.285328] media: Linux media interface: v0.10
    [    0.285404] Linux video capture interface: v2.00
    [    0.285466] pps_core: LinuxPPS API ver. 1 registered
    [    0.285477] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.285514] PTP clock support registered
    [    0.285588] EDAC MC: Ver: 3.0.0
    [    0.287041] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.287489] Advanced Linux Sound Architecture Driver Initialized.
    [    0.289024] clocksource: Switched to clocksource timer1
    [    0.303060] NET: Registered protocol family 2
    [    0.304014] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304137] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304247] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.304366] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304402] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304603] NET: Registered protocol family 1
    [    0.305080] RPC: Registered named UNIX socket transport module.
    [    0.305100] RPC: Registered udp transport module.
    [    0.305109] RPC: Registered tcp transport module.
    [    0.305118] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.306244] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.308697] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.319635] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.320650] NFS: Registering the id_resolver key type
    [    0.320730] Key type id_resolver registered
    [    0.320742] Key type id_legacy registered
    [    0.320838] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.325068] bounce: pool size: 64 pages
    [    0.325385] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.325410] io scheduler noop registered
    [    0.325427] io scheduler deadline registered
    [    0.325638] io scheduler cfq registered (default)
    [    0.327315] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.411109] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.416295] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.043628] console [ttyS0] enabled
    [    1.048640] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.058895] [drm] Initialized drm 1.1.0 20060810
    [    1.066076] tilcdc 4830e000.lcdc: no encoders/connectors found
    [    1.081274] loop: module loaded
    [    1.087752] libphy: Fixed MDIO Bus: probed
    [    1.159091] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.165241] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.172514] libphy: 4a101000.mdio: probed
    [    1.176566] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.185838] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:75:13:63
    [    1.192672] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [    1.201224] mousedev: PS/2 mouse device common for all mice
    [    1.207578] i2c /dev entries driver
    [    1.212572] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.220406] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.373084] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.384626] NET: Registered protocol family 10
    [    1.390884] sit: IPv6 over IPv4 tunneling driver
    [    1.396521] NET: Registered protocol family 17
    [    1.401549] Key type dns_resolver registered
    [    1.406162] omap_voltage_late_init: Voltage driver support not added
    [    1.416688] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.422059] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.429960] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.436348] nand: Micron MT29F2G08ABAEAWP
    [    1.440483] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.448126] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.453601] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.459748] Creating 10 MTD partitions on "8000000.nand":
    [    1.465203] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.472166] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.479663] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.486919] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.494239] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.501780] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.508934] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.516237] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.524228] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.534001] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.649325] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.680251] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.688032] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    1.694563] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.699808] vmmc: supplied by vbat
    [    1.739827] vdd_mpu: supplied by vbat
    [    1.750167] ubi0: attaching mtd9
    [    3.711438] ubi0: scanning is finished
    [    3.740879] ubi0: attached mtd9 (name "NAND.file-system", size 246 MiB)
    [    3.747613] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    3.754597] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    3.761397] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    3.768440] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
    [    3.774636] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    3.781965] ubi0: max/mean erase counter: 3/0, WL threshold: 4096, image sequence number: 1015831849
    [    3.791209] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved for bad PEB handling: 40
    [    3.800637] ubi0: background thread "ubi_bgt0d" started, PID 59
    [    3.808179] hctosys: unable to open rtc device (rtc0)
    [    3.817800] lis3_reg: disabling
    [    3.821084] wlan-en-regulator: disabling
    [    3.825482] ALSA device list:
    [    3.828474]   No soundcards found.
    [    3.839155] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 60
    [    3.901392] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    3.908850] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    3.918865] UBIFS (ubi0:0): FS size: 242905088 bytes (231 MiB, 1913 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    3.929633] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    3.935502] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 0726D1E4-4D45-4CFA-B6F9-A5C85C74888E, small LPT model
    [    3.947988] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    3.955600] devtmpfs: mounted
    [    3.959060] Freeing unused kernel memory: 260K (c08c3000 - c0904000)
    [    3.965443] This architecture does not have kernel memory protection.
    [    4.175083] systemd[1]: System time before build time, advancing clock.
    [    4.242606] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.274834] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.298095] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
    [    4.317945] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [    4.341184] systemd[1]: Set hostname to <am335x-evm>.
    [    4.540651] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.571653] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.633756] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.695131] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.705208] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.715921] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.783023] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.814671] random: systemd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
    [    5.090177] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.119536] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    5.144368] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    5.170837] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    5.203167] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    5.231176] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    5.261192] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    5.290261] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.319784] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    5.349858] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    5.379460] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    5.399883] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.435387] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    5.541877] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    5.594998] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    5.675044] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [    5.782437] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.825716] 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...
    [    5.879822] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.914771] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    5.954914] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    6.025209] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    6.080016] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.121837] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.139726] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    6.198408] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    6.239899] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    6.259839] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    6.290524] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
             Starting Create Static Device Nodes in /dev...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    7.971265] systemd-journald[97]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
    [   10.346889] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   10.436240] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [   10.505557] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   10.671634] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [  OK  ] Started udev Coldplug all Devices.
    [   10.875723] vaux2: supplied by vbat
    [   10.880758] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [   11.153630] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [   11.678545] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   11.744611] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [   11.872410] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [   11.937365] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   12.062563]  remoteproc0: 4a334000.pru0 is available
    [   12.067586]  remoteproc0: Note: remoteproc is still under development and considered experimental.
             Starting Network Time Synchronization...
    [   12.219988]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   12.319242]  remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [   12.327236]  remoteproc0: failed to load am335x-pru0-fw
    [   12.470492] pru-rproc 4a334000.pru0: booting the PRU core manually
    [   12.476737]  remoteproc0: powering up 4a334000.pru0
             Starting Update UTMP about System Boot/Shutdown...
    [   12.540788]  remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [   12.548783]  remoteproc0: request_firmware failed: -2
    [   12.759211] pru-rproc 4a334000.pru0: rproc_boot failed
    [   12.764523]  remoteproc0: releasing 4a334000.pru0
    [   12.924040] pru-rproc: probe of 4a334000.pru0 failed with error -2
    [   13.029816]  remoteproc0: 4a338000.pru1 is available
    [   13.034838]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [   13.179493]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  OK  ] Started Network Time Synchronization.
    [   13.312517] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   13.349437]  remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [   13.357429]  remoteproc0: failed to load am335x-pru1-fw
    [   13.442612]  remoteproc1: wkup_m3 is available
    [   13.447111]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [   13.509263] pru-rproc 4a338000.pru1: booting the PRU core manually
    [   13.515514]  remoteproc0: powering up 4a338000.pru1
    [   13.622963]  remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [   13.700631]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   13.739656]  remoteproc0: request_firmware failed: -2
    [   13.744774] pru-rproc 4a338000.pru1: rproc_boot failed
    [   13.847271] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   13.871131]  remoteproc0: releasing 4a338000.pru1
    [   13.876052] pru-rproc: probe of 4a338000.pru1 failed with error -2
    [   14.014407] PM: Cannot get wkup_m3_ipc handle
    [   14.041326] PM: bootloader does not support rtc-only!
    [   14.046606]  remoteproc1: powering up wkup_m3
    [   14.081539]  remoteproc1: Booting fw image am335x-pm-firmware.elf, size 217280
    [   14.167306]  remoteproc1: remote processor wkup_m3 is now up
    [   14.167339] 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.
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Login Service...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started System Logging Service.
             Starting telnetd.service...
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Permit User Sessions...
             Starting Network Service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Permit User Sessions.
    [   19.480576] usbcore: registered new interface driver usbfs
    [   19.486224] usbcore: registered new interface driver hub
    [  OK  ] Started Network Service.
    [   19.599498] usbcore: registered new device driver usb
    [   19.872207] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   19.878031] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [   19.903062] net eth0: initializing cpsw version 1.12 (0)
    [   19.908459] net eth0: initialized cpsw ale version 1.4
    [   19.939122] net eth0: ALE Table size 1024
    [   19.945481] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [   19.962396] hub 1-0:1.0: USB hub found
    [   19.979199] hub 1-0:1.0: 1 port detected
    [   20.002176] net eth0: phy found : id is : 0x2000a231
    [   20.054994] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   20.076084] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [   20.114569] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [   20.165123] hub 2-0:1.0: USB hub found
    [   20.189194] hub 2-0:1.0: 1 port detected
    [   21.369200] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [   21.844850] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
    [   21.891814] cdc_acm 2-1:1.2: ttyACM1: USB ACM device
    [   21.934933] cdc_acm 2-1:1.4: ttyACM2: USB ACM device
    [   21.980018] cdc_ether 2-1:1.10 usb0: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:00
    [   22.002701] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   22.039653] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   22.063566] cdc_acm 2-1:1.6: ttyACM3: USB ACM device
    [   22.101641] cdc_ether 2-1:1.12 usb1: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:01
    [   22.151061] cdc_acm 2-1:1.8: ttyACM4: USB ACM device
    [   22.158813] usbcore: registered new interface driver cdc_ether
    [   22.184022] usbcore: registered new interface driver cdc_acm
    [   22.219230] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   22.624269] cdc_ether 2-1:1.12 usb1: CDC: unexpected notification 01!
    [   22.790255] cdc_ether 2-1:1.10 usb0: CDC: unexpected notification 01!
    [   22.862151] random: nonblocking pool is initialized
    ***************************************************************
    ***************************************************************
    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 Print notice about GPLv3 packages.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
             Starting thttpd.service...
    [  OK  ] Started Login Service.
    [  OK  ] Started thttpd.service.
    [  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.
    
    

    thank you,

    Regards,

    Sachin

  • Part Number: AM3357

    Tool/software: Linux

    We are trying to bring up the WL1837  interfaced with the AM3357 based custom board. we have followed the every instruction provided in the wiki page Platform Integration Guide.

    we find that our WLAN_EN pin is not high, even after enabling it in DTS, But am able to get the wlan_en (gpio1_16)  line high, after commenting enable-active-high in am335x-evm.dts , according to one of the other thread
    e2e.ti.com/.../491451 this was working for them.

    From the other forum we came to know that  WLAN is not getting enabled because of the fault in SDIO initialization. Can anybody help me here to find  what is going wrong with our SDIO initialization?, we have enabled MMC/SDIO support in menuconfig. Do we need to insert any modules related to SDIO function of MMC. Below are the code snippets of our DTS file.

    I am posting my log file and dts file, please somebody help me to get it done.

    /*
     * 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/net/ti-dp83867.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM335x EVM";
    	compatible = "ti,am335x-evm", "ti,am33xx";
    
    	cpus {
    		cpu@0 {
    			cpu0-supply = <&vdd1_reg>;
    		};
    	};
    
    	memory {
    		device_type = "memory";
    		reg = <0x80000000 0x10000000>; /* 256 MB */
    	};
    
    	vbat: fixedregulator@0 {
    		compatible = "regulator-fixed";
    		regulator-name = "vbat";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-boot-on;
    	};
    
    	lis3_reg: fixedregulator@1 {
    		compatible = "regulator-fixed";
    		regulator-name = "lis3_reg";
    		regulator-boot-on;
    	};
    
         
    //	wlan_en_reg: fixedregulator@2 {
    //		compatible = "regulator-fixed";
    //		regulator-name = "wlan-en-regulator";
    //		regulator-min-microvolt = <1800000>;
    //		regulator-max-microvolt = <1800000>;
    
    		// WLAN_EN GPIO for this board - Bank1, pin16 
    //		gpio = <&gpio1 16 1>;
    
    		// WLAN card specific delay 
    //		startup-delay-us = <70000>;
    //		enable-active-high;
    //	};
    	
    	
    
    	wlan_en_reg: fixedregulator@2 {
    		compatible = "regulator-fixed";
    		regulator-name = "wlan-en-regulator";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		startup-delay-us = <70000>;
    
    		/* WLAN_EN GPIO for this board - Bank1, pin16 */
    		gpio = <&gpio1 16 0>;
    	//	enable-active-high;
    	};
    
    
    
    };
    
    
    
    &am33xx_pinmux {
    	pinctrl-names = "default";
    	pinctrl-0 = <&clkout2_pin>;
    
    	i2c0_pins: pinmux_i2c0_pins {
    		pinctrl-single,pins = <
    			0x188 (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_sda.i2c0_sda */
    			0x18c (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
    		>;
    	};
    
    	i2c1_pins: pinmux_i2c1_pins {
    		pinctrl-single,pins = <
    			0x158 (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_d1.i2c1_sda */
    			0x15c (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_cs0.i2c1_scl */
    		>;
    	};
    
    	uart0_pins: pinmux_uart0_pins {
    		pinctrl-single,pins = <
    			0x170 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart0_rxd.uart0_rxd */
    			0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart0_txd.uart0_txd */
    		>;
    	};
    
    //	uart1_pins: pinmux_uart1_pins {
    //		pinctrl-single,pins = <
    //			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    //			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    //			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    //			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_txd.uart1_txd */
    //		>;
    //	};
    
    	clkout2_pin: pinmux_clkout2_pin {
    		pinctrl-single,pins = <
    			0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* xdma_event_intr1.clkout2 */
    		>;
    	};
    
    	nandflash_pins_s0: nandflash_pins_s0 {
    		pinctrl-single,pins = <
    			0x0 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad0.gpmc_ad0 */
    			0x4 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad1.gpmc_ad1 */
    			0x8 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad2.gpmc_ad2 */
    			0xc (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad3.gpmc_ad3 */
    			0x10 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad4.gpmc_ad4 */
    			0x14 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad5.gpmc_ad5 */
    			0x18 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad6.gpmc_ad6 */
    			0x1c (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad7.gpmc_ad7 */
    			0x70 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_wait0.gpmc_wait0 */
    			0x74 (PIN_INPUT_PULLUP | MUX_MODE7)	/* gpmc_wpn.gpio0_30 */
    			0x7c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_csn0.gpmc_csn0  */
    			0x90 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_advn_ale.gpmc_advn_ale */
    			0x94 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_oen_ren.gpmc_oen_ren */
    			0x98 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_wen.gpmc_wen */
    			0x9c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_be0n_cle.gpmc_be0n_cle */
    		>;
    	};
    
    	ecap0_pins: backlight_pins {
    		pinctrl-single,pins = <
    			0x164 (PIN_OUTPUT_PULLUP | MUX_MODE0)	/* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
    		>;
    	};
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			/* Slave 1 */
    			0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_tctl */
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl */
    			0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd3.rgmii1_td3 */
    			0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd2.rgmii1_td2 */
    			0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 */
    			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 */
    			0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rgmii1_tclk */
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rgmii1_rclk */
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd3.rgmii1_rd3 */
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd2.rgmii1_rd2 */
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 */
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 */
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			/* Slave 1 reset value */
    			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
    			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	mmc1_pins: pinmux_mmc1_pins {
    		pinctrl-single,pins = <
    			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    		>;
    	};
    
    //	mmc3_pins: pinmux_mmc3_pins {
    //		pinctrl-single,pins = <
    //			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */
    //			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */
    //			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */
    //			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */
    //			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */
    //			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */
    //		>;
    //	};
    
    //	wlan_pins: pinmux_wlan_pins {
    //		pinctrl-single,pins = <
    //			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    //			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    //			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    //		>;
    //	};
    
    	/* wl12xx/wl18xx card on mmc3 */
    	mmc3_pins_default: pinmux_mmc3_pins_default {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3 */
    			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ben1.mmc2_da */
    			0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	uart1_pins_default: pinmux_uart1_pins_default {
    	pinctrl-single,pins = <
    			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
    		>;
    	};
    
    	/* wl12xx/wl18xx card enable/irq GPIOs. */
    	wlan_pins_default: pinmux_wlan_pins_default {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    	wlan_pins_sleep: pinmux_wlan_pins_sleep {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    };
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins>;
    
    	status = "okay";
    };
    
    /* uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart1_pins>;
    
    	status = "okay";
    }; */
    
    
    &uart1 {
            pinctrl-names = "default";
            pinctrl-0 = <&uart1_pins_default>;
    
            status = "okay";
    };
    
    
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps: tps@2d {
    		reg = <0x2d>;
    	};
    };
    
    &usb {
    	status = "okay";
    };
    
    &usb_ctrl_mod {
    	status = "okay";
    };
    
    &usb0_phy {
    	status = "okay";
    };
    
    &usb1_phy {
    	status = "okay";
    };
    
    &usb0 {
    	status = "okay";
    };
    
    &usb1 {
    	status = "okay";
    	dr_mode = "host";
    };
    
    &cppi41dma  {
    	status = "okay";
    };
    
    &i2c1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c1_pins>;
    
    	status = "okay";
    	clock-frequency = <100000>;
    
    	lis331dlh: lis331dlh@18 {
    		compatible = "st,lis331dlh", "st,lis3lv02d";
    		reg = <0x18>;
    		Vdd-supply = <&lis3_reg>;
    		Vdd_IO-supply = <&lis3_reg>;
    
    		st,click-single-x;
    		st,click-single-y;
    		st,click-single-z;
    		st,click-thresh-x = <10>;
    		st,click-thresh-y = <10>;
    		st,click-thresh-z = <10>;
    		st,irq1-click;
    		st,irq2-click;
    		st,wakeup-x-lo;
    		st,wakeup-x-hi;
    		st,wakeup-y-lo;
    		st,wakeup-y-hi;
    		st,wakeup-z-lo;
    		st,wakeup-z-hi;
    		st,min-limit-x = <120>;
    		st,min-limit-y = <120>;
    		st,min-limit-z = <140>;
    		st,max-limit-x = <550>;
    		st,max-limit-y = <550>;
    		st,max-limit-z = <750>;
    	};
    
    	tsl2550: tsl2550@39 {
    		compatible = "taos,tsl2550";
    		reg = <0x39>;
    	};
    
    	tmp275: tmp275@48 {
    		compatible = "ti,tmp275";
    		reg = <0x48>;
    	};
    
    	tlv320aic3106: tlv320aic3106@1b {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x1b>;
    		status = "okay";
    
    		/* Regulators */
    		AVDD-supply = <&vaux2_reg>;
    		IOVDD-supply = <&vaux2_reg>;
    		DRVDD-supply = <&vaux2_reg>;
    		DVDD-supply = <&vbat>;
    	};
    };
    
    &lcdc {
    	status = "okay";
    
    	blue-and-red-wiring = "crossed";
    };
    
    &elm {
    	status = "okay";
    };
    
    &epwmss0 {
    	status = "okay";
    
    	ecap0: ecap@48300100 {
    		status = "okay";
    		pinctrl-names = "default";
    		pinctrl-0 = <&ecap0_pins>;
    	};
    };
    
    &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>, /* fifoevent */
    			     <1 IRQ_TYPE_NONE>;	/* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    		ti,nand-ecc-opt = "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,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-access-ns = <40>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000C0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001C0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001E0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00A00000 0x0F600000>;
    		};
    	};
    };
    
    #include "tps65910.dtsi"
    
    &tps {
    	vcc1-supply = <&vbat>;
    	vcc2-supply = <&vbat>;
    	vcc3-supply = <&vbat>;
    	vcc4-supply = <&vbat>;
    	vcc5-supply = <&vbat>;
    	vcc6-supply = <&vbat>;
    	vcc7-supply = <&vbat>;
    	vccio-supply = <&vbat>;
    
    	regulators {
    		vrtc_reg: regulator@0 {
    			regulator-always-on;
    		};
    
    		vio_reg: regulator@1 {
    			regulator-always-on;
    		};
    
    		vdd1_reg: regulator@2 {
    			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1351500>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd2_reg: regulator@3 {
    			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1150000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd3_reg: regulator@4 {
    			regulator-always-on;
    		};
    
    		vdig1_reg: regulator@5 {
    			regulator-always-on;
    		};
    
    		vdig2_reg: regulator@6 {
    			regulator-always-on;
    		};
    
    		vpll_reg: regulator@7 {
    			regulator-always-on;
    		};
    
    		vdac_reg: regulator@8 {
    			regulator-always-on;
    		};
    
    		vaux1_reg: regulator@9 {
    			regulator-always-on;
    		};
    
    		vaux2_reg: regulator@10 {
    			regulator-always-on;
    		};
    
    		vaux33_reg: regulator@11 {
    			regulator-always-on;
    		};
    
    		vmmc_reg: regulator@12 {
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <3300000>;
    			regulator-always-on;
    		};
    	};
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
    	ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
    	ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	ti,strap-mode = <DP83867_4LEVEL_STRAP_MODE1>;
    	ti,min-output-impedance;
    
    	status = "okay";
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &cpsw_emac1 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &tscadc {
    	status = "okay";
    	tsc {
    		ti,wires = <4>;
    		ti,x-plate-resistance = <200>;
    		ti,coordinate-readouts = <5>;
    		ti,wire-config = <0x00 0x11 0x22 0x33>;
    		ti,charge-delay = <0x400>;
    	};
    
    	adc {
    		ti,adc-channels = <4 5 6 7>;
    	};
    };
    
    &mmc1 {
    	status = "okay";
    	vmmc-supply = <&vmmc_reg>;
    	bus-width = <4>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins>;
    	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };
    
     
    //&mmc3 {
    	// these are on the crossbar and are outlined in the
    	//   xbar-event-map element 
    //	dmas = <&edma_xbar 12 0 1
    //		&edma_xbar 13 0 2>;
    //	dma-names = "tx", "rx";
    //	status = "okay";
    //	vmmc-supply = <&wlan_en_reg>;
    //	bus-width = <4>;
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&mmc3_pins &wlan_pins>;
    //	ti,non-removable;
    //	ti,needs-special-hs-handling;
    //	status = "okay";
    //};
    
    
    //&edma {
    
      //    ti,edma-xbar-event-map = <1 12
        //                            2 13>;
    //};
    
    &mmc3{
    	dmas = <&edma_xbar 12 0 1 &edma_xbar 13 0 2>;
    	dma-names = "tx","rx";
    	status = "okay";
            vmmc-supply = <&wlan_en_reg>;
            bus-width = <4>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;
    	pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>;
    	ti,non-removable;
    	ti,needs-special-hs-handling;
    	cap-power-off-card;
    	keep-power-in-suspend;
    
    	#address-cells = <1>;
    	#size-cells = <0>;
    	wlcore: wlcore@0 {
    		compatible = "ti,wl1835";
    		reg = <2>;
    		interrupt-parent = <&gpio3>;
    		interrupts = <17 IRQ_TYPE_EDGE_RISING>; 
    	};
    };
    
    //&edma {
    
    //	ti,edma-xbar-event-map = <1 12
    //				  2 13>;
    //};
    
    
    &wkup_m3_ipc {
    	ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };
    
    &rtc {
    	clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
    	clock-names = "ext-clk", "int-clk";
    };
    
    &sgx {
    	status = "okay";
    };
    
    NAND read: device 0 offset 0x80000, size 0x40000
     262144 bytes read: OK
    
    NAND read: device 0 offset 0x200000, size 0x800000
     8388608 bytes read: OK
    Kernel image @ 0x82000000 [ 0x000000 - 0x34d450 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff934 ... OK
    
    Starting kernel ...
    
    [    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.41-gf9f6f0db2d (root@adems) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #13 PREEMPT 7
    [    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: TI AM335x EVM
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    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: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 979388K/1048576K available (6591K kernel code, 316K rwdata, 2344K rodata, 260K init, 265K bss, 20036K reserved, 49152K )
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08c2004   (8937 kB)
    [    0.000000]       .init : 0xc08c3000 - 0xc0904000   ( 260 kB)
    [    0.000000]       .data : 0xc0904000 - 0xc09533f0   ( 317 kB)
    [    0.000000]        .bss : 0xc09533f0 - 0xc0995a58   ( 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 24000000 Hz
    [    0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000042] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000056] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000265] clocksource_probe: no matching clocksources found
    [    0.000479] Console: colour dummy device 80x30
    [    0.000511] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000520] This ensures that you still see kernel messages. Please
    [    0.000527] update your kernel commandline.
    [    0.000550] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.058734] pid_max: default: 32768 minimum: 301
    [    0.058900] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.058916] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059799] Initializing cgroup subsys io
    [    0.059835] Initializing cgroup subsys memory
    [    0.059880] Initializing cgroup subsys devices
    [    0.059900] Initializing cgroup subsys freezer
    [    0.059918] Initializing cgroup subsys perf_event
    [    0.059933] Initializing cgroup subsys pids
    [    0.059969] CPU: Testing write buffer coherency: ok
    [    0.060432] Setting up static identity map for 0x80008200 - 0x80008260
    [    0.063170] devtmpfs: initialized
    [    0.079159] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.098131] omap_hwmod: debugss: _wait_target_disable failed
    [    0.156344] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.161235] pinctrl core: initialized pinctrl subsystem
    [    0.162839] NET: Registered protocol family 16
    [    0.165407] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.188794] cpuidle: using governor ladder
    [    0.218784] cpuidle: using governor menu
    [    0.224537] OMAP GPIO hardware version 0.1
    [    0.235625] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferrie
    [    0.238308] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.279642] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.285096] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring e
    [    0.285168] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring e
    [    0.285328] media: Linux media interface: v0.10
    [    0.285404] Linux video capture interface: v2.00
    [    0.285466] pps_core: LinuxPPS API ver. 1 registered
    [    0.285477] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.285514] PTP clock support registered
    [    0.285588] EDAC MC: Ver: 3.0.0
    [    0.287041] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.287489] Advanced Linux Sound Architecture Driver Initialized.
    [    0.289024] clocksource: Switched to clocksource timer1
    [    0.303060] NET: Registered protocol family 2
    [    0.304014] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304137] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304247] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.304366] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304402] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304603] NET: Registered protocol family 1
    [    0.305080] RPC: Registered named UNIX socket transport module.
    [    0.305100] RPC: Registered udp transport module.
    [    0.305109] RPC: Registered tcp transport module.
    [    0.305118] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.306244] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.308697] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.319635] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.320650] NFS: Registering the id_resolver key type
    [    0.320730] Key type id_resolver registered
    [    0.320742] Key type id_legacy registered
    [    0.320838] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.325068] bounce: pool size: 64 pages
    [    0.325385] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.325410] io scheduler noop registered
    [    0.325427] io scheduler deadline registered
    [    0.325638] io scheduler cfq registered (default)
    [    0.327315] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.411109] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.416295] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.043628] console [ttyS0] enabled
    [    1.048640] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.058895] [drm] Initialized drm 1.1.0 20060810
    [    1.066076] tilcdc 4830e000.lcdc: no encoders/connectors found
    [    1.081274] loop: module loaded
    [    1.087752] libphy: Fixed MDIO Bus: probed
    [    1.159091] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.165241] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.172514] libphy: 4a101000.mdio: probed
    [    1.176566] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.185838] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:75:13:63
    [    1.192672] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [    1.201224] mousedev: PS/2 mouse device common for all mice
    [    1.207578] i2c /dev entries driver
    [    1.212572] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.220406] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.373084] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.384626] NET: Registered protocol family 10
    [    1.390884] sit: IPv6 over IPv4 tunneling driver
    [    1.396521] NET: Registered protocol family 17
    [    1.401549] Key type dns_resolver registered
    [    1.406162] omap_voltage_late_init: Voltage driver support not added
    [    1.416688] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.422059] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.429960] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.436348] nand: Micron MT29F2G08ABAEAWP
    [    1.440483] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.448126] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.453601] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.459748] Creating 10 MTD partitions on "8000000.nand":
    [    1.465203] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.472166] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.479663] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.486919] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.494239] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.501780] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.508934] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.516237] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.524228] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.534001] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.649325] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.680251] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.688032] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    1.694563] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.699808] vmmc: supplied by vbat
    [    1.739827] vdd_mpu: supplied by vbat
    [    1.750167] ubi0: attaching mtd9
    [    3.711438] ubi0: scanning is finished
    [    3.740879] ubi0: attached mtd9 (name "NAND.file-system", size 246 MiB)
    [    3.747613] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    3.754597] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    3.761397] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    3.768440] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
    [    3.774636] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    3.781965] ubi0: max/mean erase counter: 3/0, WL threshold: 4096, image sequence number: 1015831849
    [    3.791209] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved for bad PEB handling: 40
    [    3.800637] ubi0: background thread "ubi_bgt0d" started, PID 59
    [    3.808179] hctosys: unable to open rtc device (rtc0)
    [    3.817800] lis3_reg: disabling
    [    3.821084] wlan-en-regulator: disabling
    [    3.825482] ALSA device list:
    [    3.828474]   No soundcards found.
    [    3.839155] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 60
    [    3.901392] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    3.908850] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    3.918865] UBIFS (ubi0:0): FS size: 242905088 bytes (231 MiB, 1913 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    3.929633] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    3.935502] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 0726D1E4-4D45-4CFA-B6F9-A5C85C74888E, small LPT model
    [    3.947988] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    3.955600] devtmpfs: mounted
    [    3.959060] Freeing unused kernel memory: 260K (c08c3000 - c0904000)
    [    3.965443] This architecture does not have kernel memory protection.
    [    4.175083] systemd[1]: System time before build time, advancing clock.
    [    4.242606] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.274834] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.298095] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
    [    4.317945] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [    4.341184] systemd[1]: Set hostname to <am335x-evm>.
    [    4.540651] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.571653] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.633756] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.695131] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.705208] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.715921] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.783023] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [    4.814671] random: systemd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
    [    5.090177] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.119536] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    5.144368] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    5.170837] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    5.203167] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    5.231176] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    5.261192] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    5.290261] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.319784] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    5.349858] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    5.379460] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    5.399883] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.435387] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    5.541877] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    5.594998] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    5.675044] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [    5.782437] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.825716] 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...
    [    5.879822] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.914771] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    5.954914] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    6.025209] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    6.080016] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.121837] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.139726] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    6.198408] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    6.239899] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    6.259839] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    6.290524] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
             Starting Create Static Device Nodes in /dev...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    7.971265] systemd-journald[97]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
    [   10.346889] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   10.436240] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [   10.505557] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   10.671634] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [  OK  ] Started udev Coldplug all Devices.
    [   10.875723] vaux2: supplied by vbat
    [   10.880758] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [   11.153630] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [   11.678545] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   11.744611] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [   11.872410] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [   11.937365] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   12.062563]  remoteproc0: 4a334000.pru0 is available
    [   12.067586]  remoteproc0: Note: remoteproc is still under development and considered experimental.
             Starting Network Time Synchronization...
    [   12.219988]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   12.319242]  remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [   12.327236]  remoteproc0: failed to load am335x-pru0-fw
    [   12.470492] pru-rproc 4a334000.pru0: booting the PRU core manually
    [   12.476737]  remoteproc0: powering up 4a334000.pru0
             Starting Update UTMP about System Boot/Shutdown...
    [   12.540788]  remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [   12.548783]  remoteproc0: request_firmware failed: -2
    [   12.759211] pru-rproc 4a334000.pru0: rproc_boot failed
    [   12.764523]  remoteproc0: releasing 4a334000.pru0
    [   12.924040] pru-rproc: probe of 4a334000.pru0 failed with error -2
    [   13.029816]  remoteproc0: 4a338000.pru1 is available
    [   13.034838]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [   13.179493]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  OK  ] Started Network Time Synchronization.
    [   13.312517] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   13.349437]  remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [   13.357429]  remoteproc0: failed to load am335x-pru1-fw
    [   13.442612]  remoteproc1: wkup_m3 is available
    [   13.447111]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [   13.509263] pru-rproc 4a338000.pru1: booting the PRU core manually
    [   13.515514]  remoteproc0: powering up 4a338000.pru1
    [   13.622963]  remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [   13.700631]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   13.739656]  remoteproc0: request_firmware failed: -2
    [   13.744774] pru-rproc 4a338000.pru1: rproc_boot failed
    [   13.847271] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   13.871131]  remoteproc0: releasing 4a338000.pru1
    [   13.876052] pru-rproc: probe of 4a338000.pru1 failed with error -2
    [   14.014407] PM: Cannot get wkup_m3_ipc handle
    [   14.041326] PM: bootloader does not support rtc-only!
    [   14.046606]  remoteproc1: powering up wkup_m3
    [   14.081539]  remoteproc1: Booting fw image am335x-pm-firmware.elf, size 217280
    [   14.167306]  remoteproc1: remote processor wkup_m3 is now up
    [   14.167339] 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.
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Login Service...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started System Logging Service.
             Starting telnetd.service...
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Permit User Sessions...
             Starting Network Service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Permit User Sessions.
    [   19.480576] usbcore: registered new interface driver usbfs
    [   19.486224] usbcore: registered new interface driver hub
    [  OK  ] Started Network Service.
    [   19.599498] usbcore: registered new device driver usb
    [   19.872207] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   19.878031] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [   19.903062] net eth0: initializing cpsw version 1.12 (0)
    [   19.908459] net eth0: initialized cpsw ale version 1.4
    [   19.939122] net eth0: ALE Table size 1024
    [   19.945481] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [   19.962396] hub 1-0:1.0: USB hub found
    [   19.979199] hub 1-0:1.0: 1 port detected
    [   20.002176] net eth0: phy found : id is : 0x2000a231
    [   20.054994] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   20.076084] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [   20.114569] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [   20.165123] hub 2-0:1.0: USB hub found
    [   20.189194] hub 2-0:1.0: 1 port detected
    [   21.369200] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [   21.844850] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
    [   21.891814] cdc_acm 2-1:1.2: ttyACM1: USB ACM device
    [   21.934933] cdc_acm 2-1:1.4: ttyACM2: USB ACM device
    [   21.980018] cdc_ether 2-1:1.10 usb0: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:00
    [   22.002701] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   22.039653] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   22.063566] cdc_acm 2-1:1.6: ttyACM3: USB ACM device
    [   22.101641] cdc_ether 2-1:1.12 usb1: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:01
    [   22.151061] cdc_acm 2-1:1.8: ttyACM4: USB ACM device
    [   22.158813] usbcore: registered new interface driver cdc_ether
    [   22.184022] usbcore: registered new interface driver cdc_acm
    [   22.219230] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   22.624269] cdc_ether 2-1:1.12 usb1: CDC: unexpected notification 01!
    [   22.790255] cdc_ether 2-1:1.10 usb0: CDC: unexpected notification 01!
    [   22.862151] random: nonblocking pool is initialized
    ***************************************************************
    ***************************************************************
    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 Print notice about GPLv3 packages.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
             Starting thttpd.service...
    [  OK  ] Started Login Service.
    [  OK  ] Started thttpd.service.
    [  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.
    
    

    Regards,

    Sachin

  • Can you post your schematic?
  • And please stop opening new threads on the same subject. Post anything you have to say on this current thread.
  • oky, I am posting it now, and there is a good news, that i am able to get the gpio1_16 line high, after commenting enable-active-high, I am not sure about this, according to one of the other thread
    e2e.ti.com/.../491451 this was working for them. I just gave a try for that. But now also I am not getting any messages related to SDIO.
    What does it mean, are failing to attach mmc to sdio?

    6557.custom.pdf

    Regards,

    Sachin

  • I sorry about that, i haven't getting any replays. I thought the thread has been closed since i havent get any reply since 10days

    Regards,
    Sachin
  • I don't see the AM335x MMC2 connections and AM335x power supplies in your schematic. Please post them too.

    I also have checked with the software team, and they are looking at this. They will reply later today or tomorrow.
  • Hi,

    Sorry for the delay, I was caught up with tons of other tasks.

    I think you have a mistake in your dts.
    Use the following pinmux for gpio1_16:
    0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a0.gpio1_16 */
    Then in the fixed regulator uncomment the enable-active-high; line.

    By keeping the gpio1_16 constantly high when the kernel gets to the wlcore: wlcore@0 you're probably getting some glitch or gpio1_16 is set to low & you get:
    [ 3.821084] wlan-en-regulator: disabling

    Try the above settings to see if you will overcome this issue.

    Best Regards,
    Yordan
  • Hello,

    Thank you Yordan and Biser.

    This is my schematics,

    SE1605015_For_TI_Review.pdf

    Yordan, I have made the changes as the instruction provided by you, but that didn't help me.

    My pinmux was same as Platform Integration guide before, like what u have instructed. But I use to not get the voltage on the wlan_en line.

    Is there any other debugging method that I can go through. I could manually toggle the pin. i want to know what is going wrong with dts.

    Regards,

    Sachin

  • Which of R16 and R21 is populated on the board?
  • hello,

    we haven't populated any of those, please tell me which one should be populated.

    Regards,
    Sachin
  • yes, we did that still I am not getting the high on that line.

    root@am335x-evm:~# dmesg
    [ 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.41-gf9f6f0db2d (root@adems) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #4 PREEMPT Fri Jun 30 16:07
    [ 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: TI AM335x EVM
    [ 0.000000] cma: Reserved 48 MiB at 0xbd000000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] On node 0 totalpages: 262144
    [ 0.000000] free_area_init_node: node 0, pgdat c0955024, node_mem_map ef6f9000
    [ 0.000000] Normal zone: 1728 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 196608 pages, LIFO batch:31
    [ 0.000000] HighMem 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: 260416
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 979372K/1048576K available (6603K kernel code, 317K rwdata, 2344K rodata, 264K init, 265K bss, 20052K reserved, 49152K )
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc08c5004 (8949 kB)
    [ 0.000000] .init : 0xc08c6000 - 0xc0908000 ( 264 kB)
    [ 0.000000] .data : 0xc0908000 - 0xc09574b0 ( 318 kB)
    [ 0.000000] .bss : 0xc09574b0 - 0xc0999bd8 ( 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 24000000 Hz
    [ 0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000045] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000057] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000268] clocksource_probe: no matching clocksources found
    [ 0.000481] Console: colour dummy device 80x30
    [ 0.000512] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000520] This ensures that you still see kernel messages. Please
    [ 0.000527] update your kernel commandline.
    [ 0.000550] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.058749] pid_max: default: 32768 minimum: 301
    [ 0.058918] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.058934] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.059794] Initializing cgroup subsys io
    [ 0.059833] Initializing cgroup subsys memory
    [ 0.059877] Initializing cgroup subsys devices
    [ 0.059895] Initializing cgroup subsys freezer
    [ 0.059913] Initializing cgroup subsys perf_event
    [ 0.059928] Initializing cgroup subsys pids
    [ 0.059963] CPU: Testing write buffer coherency: ok
    [ 0.060420] Setting up static identity map for 0x80008200 - 0x80008260
    [ 0.063165] devtmpfs: initialized
    [ 0.079435] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.098068] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.156503] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.161269] pinctrl core: initialized pinctrl subsystem
    [ 0.162903] NET: Registered protocol family 16
    [ 0.165447] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.188809] cpuidle: using governor ladder
    [ 0.218799] cpuidle: using governor menu
    [ 0.224186] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [ 0.224566] OMAP GPIO hardware version 0.1
    [ 0.225489] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [ 0.226468] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [ 0.227414] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [ 0.235672] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferrie
    [ 0.238400] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.279780] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.280243] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
    [ 0.280625] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@1[0]'
    [ 0.280965] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@2[0]' - status (0)
    [ 0.285217] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring e
    [ 0.285289] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring e
    [ 0.285452] media: Linux media interface: v0.10
    [ 0.285530] Linux video capture interface: v2.00
    [ 0.285594] pps_core: LinuxPPS API ver. 1 registered
    [ 0.285604] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.285641] PTP clock support registered
    [ 0.285713] EDAC MC: Ver: 3.0.0
    [ 0.287187] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.287629] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.289178] clocksource: Switched to clocksource timer1
    [ 0.303326] NET: Registered protocol family 2
    [ 0.304271] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.304394] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.304503] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.304623] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.304659] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.304856] NET: Registered protocol family 1
    [ 0.305327] RPC: Registered named UNIX socket transport module.
    [ 0.305344] RPC: Registered udp transport module.
    [ 0.305352] RPC: Registered tcp transport module.
    [ 0.305361] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.305400] PCI: CLS 0 bytes, default 64
    [ 0.306481] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.308936] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.319963] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.320981] NFS: Registering the id_resolver key type
    [ 0.321060] Key type id_resolver registered
    [ 0.321070] Key type id_legacy registered
    [ 0.321167] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.325403] bounce: pool size: 64 pages
    [ 0.325711] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 0.325740] io scheduler noop registered
    [ 0.325757] io scheduler deadline registered
    [ 0.325970] io scheduler cfq registered (default)
    [ 0.327684] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.412178] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.417381] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [ 1.043402] console [ttyS0] enabled
    [ 1.048415] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [ 1.058683] [drm] Initialized drm 1.1.0 20060810
    [ 1.065902] tilcdc 4830e000.lcdc: no encoders/connectors found
    [ 1.081136] loop: module loaded
    [ 1.087659] libphy: Fixed MDIO Bus: probed
    [ 1.149271] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.155414] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [ 1.162676] libphy: 4a101000.mdio: probed
    [ 1.166727] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [ 1.175999] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:75:13:63
    [ 1.182840] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [ 1.191425] mousedev: PS/2 mouse device common for all mice
    [ 1.197765] i2c /dev entries driver
    [ 1.202787] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.210464] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 1.210485] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.210522] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 1.210612] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.215261] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 1.215274] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.215289] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 1.215302] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 1.215315] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 1.215329] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 1.239726] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
    [ 1.239749] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
    [ 1.239767] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@47810000[0]'
    [ 1.239781] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@47810000[0]'
    [ 1.239794] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
    [ 1.239807] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
    [ 1.239822] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
    [ 1.239834] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
    [ 1.239847] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@47810000[0]'
    [ 1.239859] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@47810000[0]'
    [ 1.239871] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
    [ 1.239883] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
    [ 1.363263] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.374806] NET: Registered protocol family 10
    [ 1.381062] sit: IPv6 over IPv4 tunneling driver
    [ 1.386700] NET: Registered protocol family 17
    [ 1.391738] Key type dns_resolver registered
    [ 1.396339] omap_voltage_late_init: Voltage driver support not added
    [ 1.406872] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 1.412241] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 1.418373] gpiochip_find_base: found new base at 510
    [ 1.418587] gpiochip_add: registered GPIOs 510 to 511 on device: omap-gpmc
    [ 1.419853] omap2-nand 8000000.nand: GPIO lookup for consumer rb
    [ 1.419875] omap2-nand 8000000.nand: using device tree for GPIO lookup
    [ 1.419922] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]' - status (0)
    [ 1.420142] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [ 1.426528] nand: Micron MT29F2G08ABAEAWP
    [ 1.430660] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 1.438303] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 1.443782] 10 ofpart partitions found on MTD device 8000000.nand
    [ 1.449930] Creating 10 MTD partitions on "8000000.nand":
    [ 1.455385] 0x000000000000-0x000000020000 : "NAND.SPL"
    [ 1.462358] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [ 1.469869] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [ 1.477117] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [ 1.484436] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [ 1.491974] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [ 1.499114] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [ 1.506416] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [ 1.514410] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [ 1.524186] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [ 1.639478] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.645568] tps65910-gpio tps65910-gpio: ti,en-gpio-sleep not specified
    [ 1.645588] gpiochip_find_base: found new base at 504
    [ 1.645752] gpiochip_add: registered GPIOs 504 to 509 on device: tps65910
    [ 1.670436] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.678236] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [ 1.684638] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 1.684658] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.684701] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 1.684783] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.689493] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 1.689507] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 1.689523] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 1.689536] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 1.689549] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 1.689563] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 1.690023] vmmc: supplied by vbat
    [ 1.729985] vdd_mpu: supplied by vbat
    [ 1.740336] ubi0: attaching mtd9
    [ 3.701348] ubi0: scanning is finished
    [ 3.728485] ubi0: attached mtd9 (name "NAND.file-system", size 246 MiB)
    [ 3.737254] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [ 3.744247] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [ 3.751049] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [ 3.758090] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
    [ 3.764280] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [ 3.771613] ubi0: max/mean erase counter: 3/0, WL threshold: 4096, image sequence number: 1015831849
    [ 3.780858] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved for bad PEB handling: 40
    [ 3.790285] ubi0: background thread "ubi_bgt0d" started, PID 59
    [ 3.796801] hctosys: unable to open rtc device (rtc0)
    [ 3.807402] lis3_reg: disabling
    [ 3.810687] wlan-en-regulator: disabling
    [ 3.815087] ALSA device list:
    [ 3.818082] No soundcards found.
    [ 3.829311] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 60
    [ 3.890679] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [ 3.898133] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 3.908259] UBIFS (ubi0:0): FS size: 242905088 bytes (231 MiB, 1913 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [ 3.919036] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [ 3.924922] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 0726D1E4-4D45-4CFA-B6F9-A5C85C74888E, small LPT model
    [ 3.937414] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [ 3.945024] devtmpfs: mounted
    [ 3.948452] Freeing unused kernel memory: 264K (c08c6000 - c0908000)
    [ 3.954872] This architecture does not have kernel memory protection.
    [ 4.164205] systemd[1]: System time before build time, advancing clock.
    [ 4.231632] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.263902] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.287069] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
    [ 4.306919] systemd[1]: Detected architecture arm.
    [ 4.331315] systemd[1]: Set hostname to <am335x-evm>.
    [ 4.531176] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.562012] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.623944] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.685114] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.695180] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.705855] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.772973] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
    [ 4.804643] random: systemd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
    [ 5.083939] systemd[1]: Listening on Journal Socket.
    [ 5.114539] systemd[1]: Created slice User and Session Slice.
    [ 5.166150] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ 5.201242] systemd[1]: Created slice System Slice.
    [ 5.231994] systemd[1]: Created slice system-getty.slice.
    [ 5.265478] systemd[1]: Mounting POSIX Message Queue File System...
    [ 5.310224] systemd[1]: Listening on Journal Socket (/dev/log).
    [ 5.340173] systemd[1]: Listening on udev Control Socket.
    [ 5.375391] systemd[1]: Mounting Debug File System...
    [ 5.437645] systemd[1]: Starting Setup Virtual Console...
    [ 5.499675] systemd[1]: Starting Remount Root and Kernel File Systems...
    [ 5.555225] systemd[1]: Starting Apply Kernel Variables...
    [ 5.615737] systemd[1]: Reached target Swap.
    [ 5.661141] systemd[1]: Listening on Syslog Socket.
    [ 5.691669] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [ 5.720058] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ 5.749908] systemd[1]: Listening on udev Kernel Socket.
    [ 5.779652] systemd[1]: Reached target Remote File Systems.
    [ 5.810325] systemd[1]: Listening on Network Service Netlink Socket.
    [ 5.839694] systemd[1]: Reached target Slices.
    [ 5.860068] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 5.889604] systemd[1]: Reached target Paths.
    [ 5.915477] systemd[1]: Mounting Temporary Directory...
    [ 5.955394] systemd[1]: Starting Journal Service...
    [ 6.006079] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [ 6.108803] systemd[1]: Mounted Debug File System.
    [ 6.149962] systemd[1]: Mounted POSIX Message Queue File System.
    [ 6.189960] systemd[1]: Mounted Temporary Directory.
    [ 6.213566] systemd[1]: Started Setup Virtual Console.
    [ 6.252195] systemd[1]: Started Remount Root and Kernel File Systems.
    [ 6.292165] systemd[1]: Started Apply Kernel Variables.
    [ 6.322784] systemd[1]: Started Create list of required static device nodes for the current kernel.
    [ 6.360901] systemd[1]: Started Journal Service.
    [ 8.021381] systemd-journald[102]: Received request to flush runtime journal from PID 1
    [ 10.350944] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 10.388436] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [ 10.441809] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 10.441847] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 10.441870] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.441884] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.441898] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 10.441913] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [ 10.441929] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 10.441942] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 10.441955] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.441968] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.441981] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 10.441994] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [ 10.442087] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 10.541511] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 10.541550] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 10.541572] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.541588] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.541601] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 10.541616] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
    [ 10.541632] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 10.541644] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 10.541659] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.541672] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.541684] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 10.541698] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
    [ 10.541790] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 10.809535] rtc rtc0: 44e3e000.rtc: dev (254:0)
    [ 10.809594] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ 11.016142] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@4802a000/tlv320aic3106@1b[0]'
    [ 11.016324] vaux2: supplied by vbat
    [ 11.198794] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 11.676249] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [ 11.770944] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [ 11.778760] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [ 12.044074] remoteproc0: 4a334000.pru0 is available
    [ 12.049094] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 12.182507] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 12.306060] remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [ 12.392714] remoteproc0: failed to load am335x-pru0-fw
    [ 12.398027] pru-rproc 4a334000.pru0: booting the PRU core manually
    [ 12.471278] remoteproc0: powering up 4a334000.pru0
    [ 12.476285] remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
    [ 12.625759] remoteproc0: request_firmware failed: -2
    [ 12.659373] pru-rproc 4a334000.pru0: rproc_boot failed
    [ 12.664669] remoteproc0: releasing 4a334000.pru0
    [ 12.774587] pru-rproc: probe of 4a334000.pru0 failed with error -2
    [ 12.897508] remoteproc0: 4a338000.pru1 is available
    [ 13.034541] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 13.135359] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 13.269663] remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [ 13.277653] remoteproc0: failed to load am335x-pru1-fw
    [ 13.295679] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 13.306288] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 13.403029] pru-rproc 4a338000.pru1: booting the PRU core manually
    [ 13.456177] remoteproc0: powering up 4a338000.pru1
    [ 13.478216] PM: Cannot get wkup_m3_ipc handle
    [ 13.517248] remoteproc0: Direct firmware load for am335x-pru1-fw failed with error -2
    [ 13.597261] remoteproc1: wkup_m3 is available
    [ 13.616610] remoteproc0: request_firmware failed: -2
    [ 13.646534] remoteproc1: Note: remoteproc is still under development and considered experimental.
    [ 13.670185] pru-rproc 4a338000.pru1: rproc_boot failed
    [ 13.675479] remoteproc0: releasing 4a338000.pru1
    [ 13.779789] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 13.810005] pru-rproc: probe of 4a338000.pru1 failed with error -2
    [ 13.909986] PM: bootloader does not support rtc-only!
    [ 13.939860] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 13.978788] remoteproc1: powering up wkup_m3
    [ 14.010518] remoteproc1: Booting fw image am335x-pm-firmware.elf, size 217280
    [ 14.018089] remoteproc1: remote processor wkup_m3 is now up
    [ 14.018122] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [ 19.008527] usbcore: registered new interface driver usbfs
    [ 19.118269] usbcore: registered new interface driver hub
    [ 19.189600] usbcore: registered new device driver usb
    [ 19.478633] net eth0: initializing cpsw version 1.12 (0)
    [ 19.495502] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 19.495534] musb-hdrc: MHDRC RTL version 2.0
    [ 19.495547] musb-hdrc: setup fifo_mode 4
    [ 19.495573] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 19.495771] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [ 19.525312] net eth0: initialized cpsw ale version 1.4
    [ 19.559502] net eth0: ALE Table size 1024
    [ 19.565860] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [ 19.584994] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [ 19.635385] hub 1-0:1.0: USB hub found
    [ 19.642445] net eth0: phy found : id is : 0x2000a231
    [ 19.654783] hub 1-0:1.0: 1 port detected
    [ 19.693368] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 19.728324] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 19.728358] musb-hdrc: MHDRC RTL version 2.0
    [ 19.728371] musb-hdrc: setup fifo_mode 4
    [ 19.728392] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 19.728561] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 19.783026] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [ 19.832988] hub 2-0:1.0: USB hub found
    [ 19.849381] hub 2-0:1.0: 1 port detected
    [ 21.029274] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [ 21.445772] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
    [ 21.526404] cdc_acm 2-1:1.2: ttyACM1: USB ACM device
    [ 21.606542] cdc_acm 2-1:1.4: ttyACM2: USB ACM device
    [ 21.627422] cdc_acm 2-1:1.6: ttyACM3: USB ACM device
    [ 21.650588] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 21.658690] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 21.706936] cdc_ether 2-1:1.10 usb0: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:00
    [ 21.765656] cdc_acm 2-1:1.8: ttyACM4: USB ACM device
    [ 21.804257] usbcore: registered new interface driver cdc_acm
    [ 21.811259] cdc_ether 2-1:1.12 usb1: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:01
    [ 21.840175] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 21.902049] usbcore: registered new interface driver cdc_ether
    [ 22.328474] cdc_ether 2-1:1.12 usb1: CDC: unexpected notification 01!
    [ 22.476220] cdc_ether 2-1:1.10 usb0: CDC: unexpected notification 01!
    [ 22.529244] random: nonblocking pool is initialized
    [ 22.536753] cdc_ether 2-1:1.10 usb0: kevent 12 may have been dropped
    [ 22.569912] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

    Best Regards,
    Sachin
  • Hello Yordan,

    After the changes which Biser have told, I have made changes according to your instructions. Still there is no High on that line.

    Regards,
    Sachin
  • Hello Yordan,

    Is there any issue, have you got any idea of debugging this issue?
  • Check your system, u-boot & linux kernel. Make sure this gpio pin is not used anywhere else.

    Best Regards,
    Yordan
  • oky, we are very sure that pin is not used anywhere else.

    Thank you

    Regards,
    Sachin
  • Hello Biser,

    We have been looking at the board level what is going wrong, we are following the WLAN power sequence, we have compared with the TI AM335X EVM board.
    In uboot wlan_en is low and wlan irq is high, there is no sdio_clk, as soon as the kernel boots up wlan_irq is going low. we found this is not happening in our custom board.
    when we probed the wlan_en pin and wlan_irq pin they remains in the same state, wlan_en=low and wlan_irq=high.

    when I try to access the registers of the mmc2
    root@am335x-evm:~# devmem2 0x47810110
    /dev/mem opened.
    Memory mapped at address 0xb6fd0000.[ 1717.728190] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6fd0110
    [ 1717.740208] pgd = eda1c000
    [ 1717.742938] [b6fd0110] *pgd=aed51831, *pte=47810303, *ppte=47810a33
    [ 1717.749521] edma 49000000.edma: dma_ccerr_handler: Error interrupt without error event!

    How can i debug this issue, is there any way that we can find where we are going wrong?

    Regards,
    Sachin
  • Hello Yordan,

    I have tried to access mmc2 register in u-boot to check weather the reset is happening. But when I tried to access the register, the system is rebooting. The same thing I tried when the linux is booted, but I am Core dumped error. But when I try to assess other register with devmem2 they showing up the register content. What might be wrong?
    what does it mean.

    root@am335x-evm:~# devmem2 0x47810110
    /dev/mem opened.
    Memory mapped at address 0xb6fd0000.[ 1717.728190] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6fd0110
    [ 1717.740208] pgd = eda1c000
    [ 1717.742938] [b6fd0110] *pgd=aed51831, *pte=47810303, *ppte=47810a33
    [ 1717.749521] edma 49000000.edma: dma_ccerr_handler: Error interrupt without error event!

    Regards,
    Sachin
  • Hi Sachin,

    Your kernel does not enable the functional clock of mmc2, and this is why you're getting
    Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6fd0110

    Try writing CM_PER_MMC2_CLKCTRL[1:0]MODULEMODE = 0x2 (ENABLED) first. Something like1 the following:
    devmem2 0x44E000F8 w 0x00000002
    and after that read the mmc2 register
    devmem2 0x47810110

    What is the result?

    Best Regards,
    Yordan
  • Hello Yordan,

    Thank you,

    now i am able to read the register.

    root@am335x-evm:~# devmem2 0x47810110
    /dev/mem opened.
    Memory mapped at address 0xb6f0b000.
    Read at address 0x47810110 (0xb6f0b110): 0x00002015

    Regards,
    Sachin
  • So this means that the kernel does NOT enable the mmc2 interface => so you can't get the WLAN working properly.

    Can you share how are you configuring the wireless interface:
    iwconfig
    wpa_suplicant

    Etc..

    Best Regards,
    Yordan
  • Hello,

    Sorry for the delay in reply we had off here.

    I am not configuring anything related to wpa_supplicant and iwconfig.

    I am attaching the config file here. please look over it.

    Regards,

    Sachinconfig_ti.txt

  • Hello Yordan,

    I have followed the steps whichever they have given in WL18xx Platform Integration Guide.

    I am able to boot NFS file system.

    Please check this ,

    Config ->config_ti_wlan.txt

    Boot Log ->

    Booting from nand ...
    
    NAND read: device 0 offset 0x80000, size 0x40000
     262144 bytes read: OK
    
    NAND read: device 0 offset 0x200000, size 0x800000
     8388608 bytes read: OK
    Kernel image @ 0x82000000 [ 0x000000 - 0x34d7b8 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff857 ... OK
    
    Starting kernel ...
    
    [    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.41-gf9f6f0db2d (root@adems) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #5 PREEMPT We
    d Aug 16 15:37:54 IST 2017
    [    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: TI AM335x EVM
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    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: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=192.168.1.111:/home/adems/tisdk rootfstype=nfs nolock rootw
    ait=1 ip=dhcp
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 979388K/1048576K available (6591K kernel code, 316K rwdata, 2344K rodata, 260K init, 265K bss, 20036K reserved, 49152K c
    ma-reserved, 212992K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08c2004   (8937 kB)
    [    0.000000]       .init : 0xc08c3000 - 0xc0904000   ( 260 kB)
    [    0.000000]       .data : 0xc0904000 - 0xc09533f0   ( 317 kB)
    [    0.000000]        .bss : 0xc09533f0 - 0xc0995a58   ( 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 24000000 Hz
    [    0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000045] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000059] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000269] clocksource_probe: no matching clocksources found
    [    0.000481] Console: colour dummy device 80x30
    [    0.000515] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000524] This ensures that you still see kernel messages. Please
    [    0.000532] update your kernel commandline.
    [    0.000554] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.058750] pid_max: default: 32768 minimum: 301
    [    0.058919] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.058936] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059816] Initializing cgroup subsys io
    [    0.059853] Initializing cgroup subsys memory
    [    0.059897] Initializing cgroup subsys devices
    [    0.059916] Initializing cgroup subsys freezer
    [    0.059934] Initializing cgroup subsys perf_event
    [    0.059951] Initializing cgroup subsys pids
    [    0.059985] CPU: Testing write buffer coherency: ok
    [    0.060447] Setting up static identity map for 0x80008200 - 0x80008260
    [    0.063181] devtmpfs: initialized
    [    0.079170] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.098097] omap_hwmod: debugss: _wait_target_disable failed
    [    0.156320] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.161154] pinctrl core: initialized pinctrl subsystem
    [    0.162750] NET: Registered protocol family 16
    [    0.165340] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.188813] cpuidle: using governor ladder
    [    0.218799] cpuidle: using governor menu
    [    0.224574] OMAP GPIO hardware version 0.1
    [    0.235698] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferrin
    g probe
    [    0.238374] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.279629] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.285055] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring p
    robe
    [    0.285126] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring p
    robe
    [    0.285285] media: Linux media interface: v0.10
    [    0.285364] Linux video capture interface: v2.00
    [    0.285426] pps_core: LinuxPPS API ver. 1 registered
    [    0.285437] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.285473] PTP clock support registered
    [    0.285548] EDAC MC: Ver: 3.0.0
    [    0.287001] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.287438] Advanced Linux Sound Architecture Driver Initialized.
    [    0.289019] clocksource: Switched to clocksource timer1
    [    0.303024] NET: Registered protocol family 2
    [    0.303988] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304109] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304219] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.304341] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304378] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304573] NET: Registered protocol family 1
    [    0.305056] RPC: Registered named UNIX socket transport module.
    [    0.305075] RPC: Registered udp transport module.
    [    0.305083] RPC: Registered tcp transport module.
    [    0.305092] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.306268] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.308722] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.319669] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.320683] NFS: Registering the id_resolver key type
    [    0.320763] Key type id_resolver registered
    [    0.320774] Key type id_legacy registered
    [    0.320870] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.325115] bounce: pool size: 64 pages
    [    0.325437] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.325464] io scheduler noop registered
    [    0.325481] io scheduler deadline registered
    [    0.325687] io scheduler cfq registered (default)
    [    0.327360] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.410991] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.416177] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.045170] console [ttyS0] enabled
    [    1.050193] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.060431] [drm] Initialized drm 1.1.0 20060810
    [    1.067471] tilcdc 4830e000.lcdc: no encoders/connectors found
    [    1.082703] loop: module loaded
    [    1.089380] libphy: Fixed MDIO Bus: probed
    [    1.159114] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.165261] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.172538] libphy: 4a101000.mdio: probed
    [    1.176587] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.185870] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:75:13:63
    [    1.192720] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [    1.201244] mousedev: PS/2 mouse device common for all mice
    [    1.207577] i2c /dev entries driver
    [    1.212561] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.220404] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.373141] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.384658] NET: Registered protocol family 10
    [    1.390918] sit: IPv6 over IPv4 tunneling driver
    [    1.396548] NET: Registered protocol family 17
    [    1.401580] Key type dns_resolver registered
    [    1.406225] omap_voltage_late_init: Voltage driver support not added
    [    1.416759] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.422131] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.430018] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.436406] nand: Micron MT29F2G08ABAEAWP
    [    1.440542] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.448184] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.453658] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.459805] Creating 10 MTD partitions on "8000000.nand":
    [    1.465260] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.472220] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.479732] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.486965] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.494284] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.501820] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.508971] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.516274] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.524264] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.534032] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.649320] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.680213] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.687972] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    1.694502] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.699747] vmmc: supplied by vbat
    [    1.739828] vdd_mpu: supplied by vbat
    [    1.750483] hctosys: unable to open rtc device (rtc0)
    [    1.799112] net eth0: initializing cpsw version 1.12 (0)
    [    1.804496] net eth0: initialized cpsw ale version 1.4
    [    1.819034] net eth0: ALE Table size 1024
    [    1.825337] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [    1.839960] net eth0: phy found : id is : 0x2000a231
    [    1.863670] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    4.840101] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [    4.859153] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    4.879089] Sending DHCP requests ...... timed out!
    [   78.796677] IP-Config: Retrying forever (NFS root)...
    [   78.801984] net eth0: initializing cpsw version 1.12 (0)
    [   78.807348] net eth0: initialized cpsw ale version 1.4
    [   78.812630] net eth0: ALE Table size 1024
    [   78.819939] net eth0: phy found : id is : 0x2000a231
    [   78.825065] net eth0: PHY already attached
    [   78.829255] net eth0: phy "4a101000.mdio:00" not found on slave 1, err -16
    [   78.842807] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   81.559092] random: nonblocking pool is initialized
    [   81.820082] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   81.828234] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   81.842877] Sending DHCP requests ., OK
    [   81.889096] IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.101
    [   81.897317] IP-Config: Complete:
    [   81.900703]      device=eth0, hwaddr=68:c9:0b:75:13:63, ipaddr=192.168.1.101, mask=255.255.255.0, gw=192.168.1.1
    [   81.911027]      host=192.168.1.101, domain=, nis-domain=(none)
    [   81.916994]      bootserver=0.0.0.0, rootserver=192.168.1.111, rootpath=
    [   81.923925]      nameserver0=192.168.1.1
    [   81.928299] lis3_reg: disabling
    [   81.931534] wlan-en-regulator: disabling
    [   81.936053] ALSA device list:
    [   81.939121]   No soundcards found.
    [   81.955552] VFS: Mounted root (nfs filesystem) on device 0:14.
    [   81.962419] devtmpfs: mounted
    [   81.966298] Freeing unused kernel memory: 260K (c08c3000 - c0904000)
    [   81.972838] This architecture does not have kernel memory protection.
    [   82.299645] systemd[1]: System time before build time, advancing clock.
    [   82.390622] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRY
    PT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [   82.409823] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [   82.430955] systemd[1]: Set hostname to <am335x-evm>.
    [   82.868617] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
    [   83.258932] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [   83.266960] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [   83.274812] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [   83.282120] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [   83.289594] systemd[1]: sysinit.target: Found dependency on avahi-daemon.socket/start
    [   83.297477] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [   83.305327] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [   83.314840] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [   83.358769] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [   83.392762] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [   83.451195] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [   83.480015] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [   83.509975] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    
    [   83.541167] systemd[1]: Created slice System Slice.all Directory Watch.
    [  OK  ] Created slice System Slice.
    [   83.569618] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [   83.591270] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [   83.619960] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [   83.656236] 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...
    [   83.806293] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   83.900276] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   83.990984] cryptodev: driver 1.8 loaded.
    [   84.006107] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [   84.065407] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [   84.177990] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   84.296463] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [   84.339715] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [   84.361467] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [   84.390013] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [   84.420040] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [   84.449483] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [   84.469889] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [   84.504952] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   84.540069] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [   84.572989] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [   84.661820] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [   84.699830] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [   84.719891] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [   84.752443] systemd[1]: Started Create list of required static device nodes for the current kernel.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [   84.801970] systemd[1]: Started Load Kernel Modules.
    [  OK  ] Started Load Kernel Modules.
    [   84.818745] systemd[1]: Started Remount Root and Kernel File Systems.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [   84.852638] systemd[1]: Started Setup Virtual Console.
    [  OK  ] Started Setup Virtual Console.
    [   84.882187] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
             Starting udev Coldplug all Devices...
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [   86.424250] systemd-journald[106]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  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 Load/Save Random Seed.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create Volatile Files and Directories.
    [   89.522346] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   89.555149] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [   89.612481] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [   89.703434] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   89.871822] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   90.142301] vaux2: supplied by vbat
    [  OK  ] Found device /dev/ttyS0.
    [   90.576966] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [   91.201097] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   91.278103] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [   91.381755] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
             Starting Network Time Synchronization...
    [   91.516785] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
             Starting Update UTMP about System Boot/Shutdown...
    [   91.675034]  remoteproc0: 4a334000.pru0 is available
    [   91.787272]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [   91.913427]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   92.029918]  remoteproc0: registered virtio0 (type 7)
    [   92.035103] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
    [   92.140080]  remoteproc1: 4a338000.pru1 is available
    [   92.145103]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [   92.340422]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   92.472996]  remoteproc1: registered virtio1 (type 7)
    [   92.478181] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
    [  OK  ] Started Network Time Synchronization.
    [   93.227266] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   93.646084]  remoteproc2: wkup_m3 is available
    [   93.710619]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [   93.836829]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   94.159710] omap_hwmod: gfx: failed to hardreset
    [   94.208407]  remoteproc2: powering up wkup_m3
    [   94.247210]  remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217280
    [   94.344704]  remoteproc2: remote processor wkup_m3 is now up
    [   94.344728] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   94.372691] pvrsrvkm 56000000.sgx: Unable to reset SGX!
    [   94.447969] omap_hwmod: gfx: _wait_target_ready failed: -16
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [   94.530102] PVR_K:(Error): EnableSGXClocks: pm_runtime_get_sync failed (16)
    [   94.575829] PVR_K:(Error): SysInitialise: Failed to Enable system clocks (175)
    [   94.623674] PM: bootloader does not support rtc-only!
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Login Service...
             Starting Telephony service...
             Starting Print notice about GPLv3 packages...
             Starting uim-sysfs.service...
    [   98.845296] NET: Registered protocol family 15
    [  OK  ] Started System Logging Service.
             Starting Permit User Sessions...
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Network Service...
    [  OK  ] Started Permit User Sessions.
    [  100.242409] Bluetooth: Core ver 2.21
    [  100.246149] NET: Registered protocol family 31
    [  100.392671] Bluetooth: HCI device and connection manager initialized
    [  100.486414] Bluetooth: HCI socket layer initialized
    [  100.557573] Bluetooth: L2CAP socket layer initialized
    [  100.612263] Bluetooth: SCO socket layer initialized
    [  OK  ] Started Network Service.
    [  101.622254] usbcore: registered new interface driver usbfs
    [  101.708827] Initializing XFRM netlink socket
    [  101.713490] usbcore: registered new interface driver hub
    [  101.783550] usbcore: registered new device driver usb
    [  102.051612] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [  102.057438] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [  102.256434] hub 1-0:1.0: USB hub found
    [  102.310378] hub 1-0:1.0: 1 port detected
    [  102.428235] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [  102.552061]  remoteproc0: powering up 4a334000.pru0
    [  102.604842] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [  102.648823]  remoteproc0: Booting fw image am335x-pru0-fw, size 75724
    [  102.696948] hub 2-0:1.0: USB hub found
    [  102.740302] ti-pruss 4a300000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
    [  102.759317] hub 2-0:1.0: 1 port detected
    [  102.912487]  remoteproc0: remote processor 4a334000.pru0 is now up
    [  102.975206] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x1e
    [  102.988382] virtio_rpmsg_bus virtio0: rpmsg host is online
    [  103.053034]  remoteproc1: powering up 4a338000.pru1
    [  103.121989]  remoteproc1: Booting fw image am335x-pru1-fw, size 75724
    [  103.219504] ti-pruss 4a300000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
    [  103.343116]  remoteproc1: remote processor 4a338000.pru1 is now up
    [  103.400147] virtio_rpmsg_bus virtio1: creating channel rpmsg-pru addr 0x1f
    [  103.413677] virtio_rpmsg_bus virtio1: rpmsg host is online
    [  103.762123] rpmsg_pru rpmsg0: new rpmsg_pru device: /dev/rpmsg_pru30
    [  103.833585] rpmsg_pru rpmsg1: new rpmsg_pru device: /dev/rpmsg_pru31
    [  103.969203] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [  106.837771] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
    [  106.930515] cdc_acm 2-1:1.2: ttyACM1: USB ACM device
    [  107.037755] cdc_acm 2-1:1.4: ttyACM2: USB ACM device
    [  107.147306] cdc_ether 2-1:1.10 usb0: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:00
    [  107.251732] cdc_acm 2-1:1.6: ttyACM3: USB ACM device
    [  107.292554] cdc_ether 2-1:1.12 usb1: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, de:ad:be:ef:00:01
    [  107.382335] cdc_acm 2-1:1.8: ttyACM4: USB ACM device
    [  107.390844] usbcore: registered new interface driver cdc_ether
    [  107.449254] usbcore: registered new interface driver cdc_acm
    [  107.505481] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [  108.482659] cdc_ether 2-1:1.10 usb0: CDC: unexpected notification 01!
    [  108.676665] cdc_ether 2-1:1.12 usb1: CDC: unexpected notification 01!
    [  108.742548] cdc_ether 2-1:1.12 usb1: kevent 12 may have been dropped
    [  108.748974] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            binutils
            bison-dev
            bison
            cpp-symlinks
            cpp
            dosfstools
            g++-symlinks
            g++
            gawk-dev
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gstreamer1.0-libav
            hidapi
            libcairo-perf-utils
            libgmp10
            libidn11
            libmpc3
            libmpfr4
            m4-dev
            m4
            make
            nettle
            swig-dev
            swig
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Telephony service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
             Starting rc.pvr.service...
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Network Name Resolution.
             Starting weston.service...
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting busybox-udhcpd.service...
             Starting thttpd.service...
    [  OK  ] Started busybox-udhcpd.service.
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting parse-ip.service...
             Starting thermal-zone-init.service...
    [  OK  ] Started parse-ip.service.
    [  OK  ] Started thermal-zone-init.service.
    
    
    

    DTS file ->

    /*
     * 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/net/ti-dp83867.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM335x EVM";
    	compatible = "ti,am335x-evm", "ti,am33xx";
    
    	cpus {
    		cpu@0 {
    			cpu0-supply = <&vdd1_reg>;
    		};
    	};
    
    	memory {
    		device_type = "memory";
    		reg = <0x80000000 0x10000000>; /* 256 MB */
    	};
    
    	vbat: fixedregulator@0 {
    		compatible = "regulator-fixed";
    		regulator-name = "vbat";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-boot-on;
    	};
    
    	lis3_reg: fixedregulator@1 {
    		compatible = "regulator-fixed";
    		regulator-name = "lis3_reg";
    		regulator-boot-on;
    	};
    
         
    	wlan_en_reg: fixedregulator@2 {
    		compatible = "regulator-fixed";
    		regulator-name = "wlan-en-regulator";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    
    		// WLAN_EN GPIO for this board - Bank1, pin16 
    		gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;
    
    		// WLAN card specific delay 
    		startup-delay-us = <70000>;
    		enable-active-high;
    	};
    	
    	
    
    //	wlan_en_reg: fixedregulator@2 {
    //		compatible = "regulator-fixed";
    //		regulator-name = "wlan-en-regulator";
    //		regulator-min-microvolt = <1800000>;
    //		regulator-max-microvolt = <1800000>;
    //		startup-delay-us = <70000>;
    
    		/* WLAN_EN GPIO for this board - Bank1, pin16 */
    //		gpio = <&gpio1 16 0>;
    //		enable-active-high;
    //	};
    
    
    
    };
    
    
    
    &am33xx_pinmux {
    	pinctrl-names = "default";
    	pinctrl-0 = <&clkout2_pin>;
    
    	i2c0_pins: pinmux_i2c0_pins {
    		pinctrl-single,pins = <
    			0x188 (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_sda.i2c0_sda */
    			0x18c (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
    		>;
    	};
    
    	i2c1_pins: pinmux_i2c1_pins {
    		pinctrl-single,pins = <
    			0x158 (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_d1.i2c1_sda */
    			0x15c (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_cs0.i2c1_scl */
    		>;
    	};
    
    	uart0_pins: pinmux_uart0_pins {
    		pinctrl-single,pins = <
    			0x170 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart0_rxd.uart0_rxd */
    			0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart0_txd.uart0_txd */
    		>;
    	};
    
    //	uart1_pins: pinmux_uart1_pins {
    //		pinctrl-single,pins = <
    //			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    //			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    //			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    //			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_txd.uart1_txd */
    //		>;
    //	};
    
    	clkout2_pin: pinmux_clkout2_pin {
    		pinctrl-single,pins = <
    			0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* xdma_event_intr1.clkout2 */
    		>;
    	};
    
    	nandflash_pins_s0: nandflash_pins_s0 {
    		pinctrl-single,pins = <
    			0x0 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad0.gpmc_ad0 */
    			0x4 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad1.gpmc_ad1 */
    			0x8 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad2.gpmc_ad2 */
    			0xc (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad3.gpmc_ad3 */
    			0x10 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad4.gpmc_ad4 */
    			0x14 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad5.gpmc_ad5 */
    			0x18 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad6.gpmc_ad6 */
    			0x1c (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad7.gpmc_ad7 */
    			0x70 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_wait0.gpmc_wait0 */
    			0x74 (PIN_INPUT_PULLUP | MUX_MODE7)	/* gpmc_wpn.gpio0_30 */
    			0x7c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_csn0.gpmc_csn0  */
    			0x90 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_advn_ale.gpmc_advn_ale */
    			0x94 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_oen_ren.gpmc_oen_ren */
    			0x98 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_wen.gpmc_wen */
    			0x9c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_be0n_cle.gpmc_be0n_cle */
    		>;
    	};
    
    	ecap0_pins: backlight_pins {
    		pinctrl-single,pins = <
    			0x164 0x0	/* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
    		>;
    	};
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			/* Slave 1 */
    			0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_tctl */
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl */
    			0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd3.rgmii1_td3 */
    			0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd2.rgmii1_td2 */
    			0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 */
    			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 */
    			0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rgmii1_tclk */
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rgmii1_rclk */
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd3.rgmii1_rd3 */
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd2.rgmii1_rd2 */
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 */
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 */
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			/* Slave 1 reset value */
    			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
    			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	mmc1_pins: pinmux_mmc1_pins {
    		pinctrl-single,pins = <
    			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    		>;
    	};
    
    //	mmc3_pins: pinmux_mmc3_pins {
    //		pinctrl-single,pins = <
    //			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */
    //			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */
    //			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */
    //			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */
    //			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */
    //			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */
    //		>;
    //	};
    
    //	wlan_pins: pinmux_wlan_pins {
    //		pinctrl-single,pins = <
    //			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    //			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    //			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    //		>;
    //	};
    
    	/* wl12xx/wl18xx card on mmc3 */
    	mmc3_pins_default: pinmux_mmc3_pins_default {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3 */
    			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ben1.mmc2_da */
    			0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	uart1_pins_default: pinmux_uart1_pins_default {
    	pinctrl-single,pins = <
    			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
    		>;
    	};
    
    	/* wl12xx/wl18xx card enable/irq GPIOs. */
    	wlan_pins_default: pinmux_wlan_pins_default {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* Bluetooth Enable mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    	wlan_pins_sleep: pinmux_wlan_pins_sleep {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    };
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins>;
    
    	status = "okay";
    };
    
    /* uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart1_pins>;
    
    	status = "okay";
    }; */
    
    
    &uart1 {
            pinctrl-names = "default";
            pinctrl-0 = <&uart1_pins_default>;
    
            status = "okay";
    };
    
    
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps: tps@2d {
    		reg = <0x2d>;
    	};
    };
    
    &usb {
    	status = "okay";
    };
    
    &usb_ctrl_mod {
    	status = "okay";
    };
    
    &usb0_phy {
    	status = "okay";
    };
    
    &usb1_phy {
    	status = "okay";
    };
    
    &usb0 {
    	status = "okay";
    };
    
    &usb1 {
    	status = "okay";
    	dr_mode = "host";
    };
    
    &cppi41dma  {
    	status = "okay";
    };
    
    &i2c1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c1_pins>;
    
    	status = "okay";
    	clock-frequency = <100000>;
    
    	lis331dlh: lis331dlh@18 {
    		compatible = "st,lis331dlh", "st,lis3lv02d";
    		reg = <0x18>;
    		Vdd-supply = <&lis3_reg>;
    		Vdd_IO-supply = <&lis3_reg>;
    
    		st,click-single-x;
    		st,click-single-y;
    		st,click-single-z;
    		st,click-thresh-x = <10>;
    		st,click-thresh-y = <10>;
    		st,click-thresh-z = <10>;
    		st,irq1-click;
    		st,irq2-click;
    		st,wakeup-x-lo;
    		st,wakeup-x-hi;
    		st,wakeup-y-lo;
    		st,wakeup-y-hi;
    		st,wakeup-z-lo;
    		st,wakeup-z-hi;
    		st,min-limit-x = <120>;
    		st,min-limit-y = <120>;
    		st,min-limit-z = <140>;
    		st,max-limit-x = <550>;
    		st,max-limit-y = <550>;
    		st,max-limit-z = <750>;
    	};
    
    	tsl2550: tsl2550@39 {
    		compatible = "taos,tsl2550";
    		reg = <0x39>;
    	};
    
    	tmp275: tmp275@48 {
    		compatible = "ti,tmp275";
    		reg = <0x48>;
    	};
    
    	tlv320aic3106: tlv320aic3106@1b {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x1b>;
    		status = "okay";
    
    		/* Regulators */
    		AVDD-supply = <&vaux2_reg>;
    		IOVDD-supply = <&vaux2_reg>;
    		DRVDD-supply = <&vaux2_reg>;
    		DVDD-supply = <&vbat>;
    	};
    };
    
    &lcdc {
    	status = "okay";
    
    	blue-and-red-wiring = "crossed";
    };
    
    &elm {
    	status = "okay";
    };
    
    &epwmss0 {
    	status = "okay";
    
    	ecap0: ecap@48300100 {
    		status = "okay";
    		pinctrl-names = "default";
    		pinctrl-0 = <&ecap0_pins>;
    	};
    };
    
    &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>, /* fifoevent */
    			     <1 IRQ_TYPE_NONE>;	/* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    		ti,nand-ecc-opt = "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,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-access-ns = <40>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000C0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001C0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001E0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00A00000 0x0F600000>;
    		};
    	};
    };
    
    #include "tps65910.dtsi"
    
    &tps {
    	vcc1-supply = <&vbat>;
    	vcc2-supply = <&vbat>;
    	vcc3-supply = <&vbat>;
    	vcc4-supply = <&vbat>;
    	vcc5-supply = <&vbat>;
    	vcc6-supply = <&vbat>;
    	vcc7-supply = <&vbat>;
    	vccio-supply = <&vbat>;
    
    	regulators {
    		vrtc_reg: regulator@0 {
    			regulator-always-on;
    		};
    
    		vio_reg: regulator@1 {
    			regulator-always-on;
    		};
    
    		vdd1_reg: regulator@2 {
    			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1351500>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd2_reg: regulator@3 {
    			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1150000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd3_reg: regulator@4 {
    			regulator-always-on;
    		};
    
    		vdig1_reg: regulator@5 {
    			regulator-always-on;
    		};
    
    		vdig2_reg: regulator@6 {
    			regulator-always-on;
    		};
    
    		vpll_reg: regulator@7 {
    			regulator-always-on;
    		};
    
    		vdac_reg: regulator@8 {
    			regulator-always-on;
    		};
    
    		vaux1_reg: regulator@9 {
    			regulator-always-on;
    		};
    
    		vaux2_reg: regulator@10 {
    			regulator-always-on;
    		};
    
    		vaux33_reg: regulator@11 {
    			regulator-always-on;
    		};
    
    		vmmc_reg: regulator@12 {
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <3300000>;
    			regulator-always-on;
    		};
    	};
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
    	ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
    	ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	ti,strap-mode = <DP83867_4LEVEL_STRAP_MODE1>;
    	ti,min-output-impedance;
    
    	status = "okay";
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &cpsw_emac1 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &tscadc {
    	status = "okay";
    	tsc {
    		ti,wires = <4>;
    		ti,x-plate-resistance = <200>;
    		ti,coordinate-readouts = <5>;
    		ti,wire-config = <0x00 0x11 0x22 0x33>;
    		ti,charge-delay = <0x400>;
    	};
    
    	adc {
    		ti,adc-channels = <4 5 6 7>;
    	};
    };
    
    &mmc1 {
    	status = "okay";
    	vmmc-supply = <&vmmc_reg>;
    	bus-width = <4>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins>;
    	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };
    
     
    //&mmc3 {
    	// these are on the crossbar and are outlined in the
    	//   xbar-event-map element 
    //	dmas = <&edma_xbar 12 0 1
    //		&edma_xbar 13 0 2>;
    //	dma-names = "tx", "rx";
    //	status = "okay";
    //	vmmc-supply = <&wlan_en_reg>;
    //	bus-width = <4>;
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&mmc3_pins &wlan_pins>;
    //	ti,non-removable;
    //	ti,needs-special-hs-handling;
    //	status = "okay";
    //};
    
    
    //&edma {
    
      //    ti,edma-xbar-event-map = <1 12
        //                            2 13>;
    //};
    
    &mmc3{
    	dmas = <&edma_xbar 12 0 1
    	        &edma_xbar 13 0 2>;
    	dma-names = "tx","rx";
    	status = "okay";
            vmmc-supply = <&wlan_en_reg>;
            bus-width = <4>;
    	pinctrl-names = "default", "sleep";
    	//pinctrl-names = "default";
    	pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;
    	pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>;
    	ti,non-removable;
    	ti,needs-special-hs-handling;
    	cap-power-off-card;
    	keep-power-in-suspend;
    
    	#address-cells = <1>;
    	#size-cells = <0>;
    	wlcore: wlcore@0 {
    		compatible = "ti,wl1835";
    		reg = <2>;
    		interrupt-parent = <&gpio3>;
    		interrupts = <17 IRQ_TYPE_EDGE_RISING>; 
    	};
    };
    
    //&edma {
    
    //	ti,edma-xbar-event-map = <1 12
    //				  2 13>;
    //};
    
    
    &wkup_m3_ipc {
    	ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };
    
    &rtc {
    	clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
    	clock-names = "ext-clk", "int-clk";
    };
    
    &sgx {
    	status = "okay";
    };
    

    Please tell me where i am going wrong.

    Regards,

    Sachin

  • Hello,

    My main concern is regarding SDIO interface, why I am not able to see something like this "[ 5.136021] mmc2: new high speed SDIO card at address 0001"

    I have not used any build scripts to support wl18xx drivers since latest sdks direct support.
    We are very sure with the pins that they are not conflicting one another.

    It is holding us since the long time please do help with this.

    Regards,
    Sachin
  • Hello Yordan,

    Can you tell me what all kernel configuration that i can make if I want to wakeup this SDIO interface.

    Regards
    Sachin
  • Hi,

    Can you try enabling mmc2 from u-boot?
    Enable the clocks from arch/arm/cpu/armv7/am33xx/clock_am33xx.c
    Also have a look at drivers/mmc/omap_hsmmc.c & add the appropriate CONFIG_* definitions in board/ti/am335x_evm.h

    Best Regards,
    Yordan
  • Hello Yordan,

    As per your instruction, I have enabled clock in clock_am33xx.c as given snippet below,

    u32 *const clk_modules_explicit_en[] = {
            &cmper->l3clkctrl,
            &cmper->l4lsclkctrl,
            &cmper->l4fwclkctrl,
            &cmwkup->wkl4wkclkctrl,
            &cmper->l3instrclkctrl,
            &cmper->l4hsclkctrl,
            &cmwkup->wkgpio0clkctrl,
            &cmwkup->wkctrlclkctrl,
            &cmper->timer2clkctrl,
            &cmper->gpmcclkctrl,
            &cmper->elmclkctrl,
            &cmper->mmc0clkctrl,
            &cmper->mmc1clkctrl,
            &cmper->mmc2clkctrl,
            &cmwkup->wkup_i2c0ctrl,
            &cmper->gpio1clkctrl,
            &cmper->gpio2clkctrl,
            &cmper->gpio3clkctrl,
            &cmper->i2c1clkctrl,
            &cmper->cpgmac0clkctrl,
            &cmper->spi0clkctrl,
            &cmrtc->rtcclkctrl,
            &cmper->usb0clkctrl,
            &cmper->emiffwclkctrl,
            &cmper->emifclkctrl,
            0
        };

    Since I am using mmc2/3 as SDIO ,what all I have to look in omap_hsmmc.c and what configs I have to look over. Can you tell me which configs i have to take care.


    Regards,

    Sachin

  • Hello Yordan,

    Can you just help me out by telling, will these changes makes the mmc3 on?

    in arch/arm/cpu/armv7/am33xx/clock_am33xx.c

    u32 *const clk_modules_explicit_en[] = {

           &cmper->l3clkctrl,

           &cmper->l4lsclkctrl,

           &cmper->l4fwclkctrl,

           &cmwkup->wkl4wkclkctrl,

           &cmper->l3instrclkctrl,

           &cmper->l4hsclkctrl,

           &cmwkup->wkgpio0clkctrl,

           &cmwkup->wkctrlclkctrl,

           &cmper->timer2clkctrl,

           &cmper->gpmcclkctrl,

           &cmper->elmclkctrl,

           &cmper->mmc0clkctrl,

           &cmper->mmc1clkctrl,

           &cmper->mmc2clkctrl,

           &cmwkup->wkup_i2c0ctrl,

           &cmper->gpio1clkctrl,

           &cmper->gpio2clkctrl,

           &cmper->gpio3clkctrl,

           &cmper->i2c1clkctrl,

           &cmper->cpgmac0clkctrl,

           &cmper->spi0clkctrl,

           &cmrtc->rtcclkctrl,

           &cmper->usb0clkctrl,

           &cmper->emiffwclkctrl,

           &cmper->emifclkctrl,

           0

       };

    in /include/configs/am335x_evm.h

    #ifndef __CONFIG_AM335X_EVM_H

    #define __CONFIG_AM335X_EVM_H

    #include <configs/ti_am335x_common.h>

    #define OMAP_HSMMC3_BASE 1

    #ifndef CONFIG_SPL_BUILD

    # define CONFIG_TIMESTAMP

    # define CONFIG_LZO

    #endif

    #define CONFIG_SYS_BOOTM_LEN (16 << 20)

    #define MACH_TYPE_TIAM335EVM 3589 /* Until the next sync */

    #define CONFIG_MACH_TYPE MACH_TYPE_TIAM335EVM

    After doing the above changes I checked whether the clock is coming but I am unable to get.

    Please can you tell me correct configuration for MMC2 to work for SDIO interfaced WLAN.

    Regards,

    Sachin

    #define CONFIG_BOARD_LATE_INIT

  • Hello Yordan,

    After I made those changes as you as u suggested, I am getting

    => md 0x44e000f8
    44e000f8: 00000002 00030000 00030000 00030000    ................
    44e00108: 00000000 00030000 00030000 00000000    ................

     But,When I probe on the board it is not showing up clock.

    But my doubt is before SDIO clock , WLAN_EN should be high. But in our case WLAN_EN is not going high.


    What might be wrong?

    Regards,

    Sachin

  • Hello,

    I have continued with your instruction, i took the register readings of both eval board and our custom board, I found the differences in SD_ARG, SD_CMD, SD_HCTL, SD_SYSCTL. Comparing to eval board, custom board stops at CMD1 where eval board stops at CMD52. Data time out is showing up in custom board. 1 bit data bus is selected insted of 4-bit and Nomal speed is selected insted of High speed mode.
    please tell me how can i configure all these changes. Below are the register readings ,

    Registers of MMC2 in Linux (AM335x Custom board)

    Read at address 0x47810208 (0xb6faa208): 0x00000000
    Read at address 0x4781020C (0xb6f9920c): 0x01020001
    Read at address 0x47810210 (0xb6f22210): 0x00000000
    Read at address 0x47810228 (0xb6fbe228): 0x00000B00
    Read at address 0x4781022C (0xb6f1922c): 0x000E0007

    Registers of MMC2 in Linux (AM335x Evaluation board)

    Read at address 0x47810208 (0xb6fae208): 0x83FFF800
    Read at address 0x4781020C (0xb6f4420c): 0x34020001
    Read at address 0x47810210 (0xb6ff9210): 0x00001000
    Read at address 0x47810228 (0xb6f13228): 0x00000B06
    Read at address 0x4781022C (0xb6fd622c): 0x000D0087

    Regards,
    Sachin