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/PROCESSOR-SDK-AM437X: MMC2 not detected

Part Number: PROCESSOR-SDK-AM437X
Other Parts Discussed in Thread: WL1835

Tool/software: Linux

Hi all,

I am working on latest rt-linux SDK from TI (ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09). I have custom board based on AM437x-gp-evm where  wifi-module  is connected on mmc2.

I have done the pin-muxing as "mmc3_pins_default " and phandle as &mmc3, according to ti wlink wl18xx integration (http://processors.wiki.ti.com/index.php/WL18xx_Platform_Integration_Guide )  all the changesare proper but i am not able to get the mmc2 device up.

I am getting unable to parse cd-gpios and wp-gpios of the node and  RX DMA channel request failed :

[    1.334203] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.334208] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.334213] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.334218] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
[    1.334225] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[    1.334229] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.334233] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.334237] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.334241] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.334245] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
[    1.334396] omap_hsmmc 47810000.mmc: RX DMA channel request failed

Here are the dts file and dmesg log of the board:

DTS File:

/*
 * Copyright (C) 2013 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.
 */

/* AM437x GP EVM */

/dts-v1/;

#include "am4372.dtsi"
#include <dt-bindings/pinctrl/am43xx.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/gpio/gpio.h>

/ {
	model = "TI AM437x GP EVM";
	compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43";

	aliases {
		display0 = &lcd0;
		serial1 = &uart1;
	};

	chosen {
		stdout-path = &uart0;
	};

	evm_v3_3d: fixedregulator-v3_3d {
		compatible = "regulator-fixed";
		regulator-name = "evm_v3_3d";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		enable-active-high;
	};

	vtt_fixed: fixedregulator-vtt {
		compatible = "regulator-fixed";
		regulator-name = "vtt_fixed";
		regulator-min-microvolt = <1500000>;
		regulator-max-microvolt = <1500000>;
		regulator-always-on;
		regulator-boot-on;
		enable-active-high;
		gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
	};

	wlan_en_reg: fixedregulator-mmcwl {
		compatible = "regulator-fixed";
		regulator-name = "wlan_en_reg";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
                regulator-always-on;
		gpio = <&gpio5 10 GPIO_ACTIVE_HIGH>;
		startup-delay-us = <70000>;
		enable-active-high;
	};

        kim {
               compatible = "kim";
               nshutdown_gpio = <166>; /* Bank5, pin6 */
               dev_name = "/dev/ttyS3";
               flow_cntrl = <1>;
               baud_rate = <3000000>;
       };

       btwilink {
               compatible = "btwilink";
        };


	lcd_bl: backlight {
		compatible = "pwm-backlight";
		pwms = <&ehrpwm1 0 50000 PWM_POLARITY_INVERTED>;
		brightness-levels = <0 51 53 56 62 75 101 152 255>;
		default-brightness-level = <8>;
	};

	lcd0: display {
		compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
		label = "lcd";

		backlight = <&lcd_bl>;

		panel-timing {
			clock-frequency = <33000000>;
			hactive = <800>;
			vactive = <480>;
			hfront-porch = <210>;
			hback-porch = <16>;
			hsync-len = <30>;
			vback-porch = <10>;
			vfront-porch = <22>;
			vsync-len = <13>;
			hsync-active = <0>;
			vsync-active = <0>;
			de-active = <1>;
			pixelclk-active = <1>;
		};

		port {
			lcd_in: endpoint {
				remote-endpoint = <&dpi_out>;
			};
		};
	};

	/* fixed 12MHz oscillator */
	refclk: oscillator {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <12000000>;
	};

	/* fixed 32k external oscillator clock */
	clk_32k_rtc: clk_32k_rtc {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <32768>;
	};

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&leds_pins_default>;
		pinctrl-1 = <&leds_pins_sleep>;

		led@0 {
			label = "am437x-gp-evm:red:heartbeat";
			gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;    /* Bank 4, pin 9 */
			linux,default-trigger = "none";
			default-state = "off";
		};

		led@1 {
			label = "am437x-gp-evm:green:mmc1";
			gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;   /* Bank 4, pin 12 */
			linux,default-trigger = "none";
			default-state = "off";
		};

		led@2 {
			label = "am437x-gp-evm:blue:cpu0";
			gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;   /* Bank 4, pin 13 */
			linux,default-trigger = "none";
			default-state = "off";
		};
	};

	sound0: sound0 {
		compatible = "simple-audio-card";
		simple-audio-card,name = "AM437x-GP-EVM";
		simple-audio-card,widgets =
			"Microphone", "Microphone Jack",
			"Headphone", "Headphone Jack",
			"Line", "Line In";
		simple-audio-card,routing =
			"Mono Out",             "MONO_LOUT",
			"LINE1L",		"Mic Bias";
		simple-audio-card,format = "dsp_b";
		simple-audio-card,bitclock-master = <&sound0_master>;
		simple-audio-card,frame-master = <&sound0_master>;
		simple-audio-card,bitclock-inversion;

		simple-audio-card,cpu {
			sound-dai = <&mcasp1>;
			system-clock-frequency = <12000000>;
		};

		sound0_master: simple-audio-card,codec {
			sound-dai = <&tlv320aic3106>;
			system-clock-frequency = <12000000>;
		};
	};

	audio_mstrclk: mclk_osc {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <12000000>;
	};

};

&am43xx_pinmux {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&clkout2_pin  &gpio_pins &ddr3_vtt_toggle_default &unused_pins &debugss_pins>;

	ddr3_vtt_toggle_default: ddr_vtt_toggle_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa68, DS0_PULL_UP_DOWN_EN | PIN_OUTPUT_PULLUP | DS0_FORCE_OFF_MODE | MUX_MODE7) /* .gpio3_23 */
		>;
	};

	gpio_pins: gpio_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x944, PIN_INPUT_PULLUP | MUX_MODE7)            /* (A16) rmii1_ref_clk.gpio0_29 */
			AM4372_IOPAD(0x9cc, PIN_OUTPUT_PULLUP | MUX_MODE6)         /* Backlight.(gpio4_7)*/
			AM4372_IOPAD(0xa54, PIN_OUTPUT_PULLDOWN | MUX_MODE7)         /* spi4_d0.gpio5_5 */
			AM4372_IOPAD(0xa78, PIN_OUTPUT_PULLDOWN | MUX_MODE7)         /* (H20) clkreq.gpio0_24 */
		>;
	};

	clkout2_pin: clkout_pin {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa74, PIN_OUTPUT_PULLUP | MUX_MODE3)	/* xdma_event_intr1.gpio5_6 CLKOUT2 */
		>;
	};

	leds_pins_default: led_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9d4, PIN_OUTPUT | MUX_MODE7)  /* (T22) spi0_d0.gpio0_3 */
			AM4372_IOPAD(0x9e0, PIN_OUTPUT | MUX_MODE7)  /* (AC25) cam1_field.gpio4_12 */
			AM4372_IOPAD(0x9e4, PIN_OUTPUT | MUX_MODE7)  /* (AB25) cam1_wen.gpio4_13 */
		>;
	};

        leds_pins_sleep: led_pins_sleep {
                pinctrl-single,pins = <
                        AM4372_IOPAD(0x9d4, PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (T22) spi0_d0.gpio0_3 */
                        AM4372_IOPAD(0x9e0, PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (AC25) cam1_field.gpio4_12 */
                        AM4372_IOPAD(0x9e4, PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (AB25) cam1_wen.gpio4_13 */
                >;
        };

	i2c0_pins: i2c0_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x988, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_sda.i2c0_sda */
			AM4372_IOPAD(0x98c, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_scl.i2c0_scl */
		>;
	};

	i2c1_pins: i2c1_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x910, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3)  /* (B13) mii1_rx_er.I2C1_SCL */
			AM4372_IOPAD(0x90c, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3)  /* (B14) mii1_crs.I2C1_SDA */
		>;
	};

	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
			AM4372_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
			AM4372_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
			AM4372_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
			AM4372_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
			AM4372_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
			AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
		>;
	};

	ehrpwm1_pins_default: ehrpwm1_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9dc, PIN_OUTPUT | MUX_MODE6 ) /* (AE21) cam1_pclk.ehrpwm1A */
		>;
	};

        ehrpwm1_pins_sleep: ehrpwm1_pins_sleep {
                pinctrl-single,pins = <
                        AM4372_IOPAD(0x9dc, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (AE21) cam1_pclk.ehrpwm1A */
                >;
        };

	pixcir_ts_pins: pixcir_ts_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa70, PIN_INPUT_PULLUP | MUX_MODE7)  /* gpio0_19 */
		>;
	};

	cpsw_default: cpsw_default {
		pinctrl-single,pins = <
			/* Slave 1 */
			AM4372_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_txen */
			AM4372_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rxctl */
			AM4372_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_txd3 */
			AM4372_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_txd2 */
			AM4372_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_txd1 */
			AM4372_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_txd0 */
			AM4372_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rmii1_tclk */
			AM4372_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rmii1_rclk */
			AM4372_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rxd3 */
			AM4372_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rxd2 */
			AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rxd1 */
			AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rxd0 */

			/* Slave 2 MII mode */
                       AM4372_IOPAD(0x878, PIN_INPUT | MUX_MODE1) /* (A3) gpmc_be1n.gmii2_col */
                       AM4372_IOPAD(0x870, PIN_INPUT | MUX_MODE1) /* (A2) gpmc_wait0.gmii2_crs */
                       AM4372_IOPAD(0x874, PIN_INPUT | MUX_MODE1) /* (B3) gpmc_wpn.gmii2_rxer */
                       AM4372_IOPAD(0x840, PIN_OUTPUT | MUX_MODE1) /* (C3) gpmc_a0.gmii2_txen */
                       AM4372_IOPAD(0x844, PIN_INPUT | MUX_MODE1) /* (C5) gpmc_a1.gmii2_rxdv */
                       AM4372_IOPAD(0x858, PIN_INPUT | MUX_MODE1) /* (E8) gpmc_a6.gmii2_txclk */
                       AM4372_IOPAD(0x85c, PIN_INPUT | MUX_MODE1) /* (F6) gpmc_a7.gmii2_rxclk */
                       AM4372_IOPAD(0x854, PIN_OUTPUT | MUX_MODE1) /* (E7) gpmc_a5.gmii2_txd0 */
                       AM4372_IOPAD(0x850, PIN_OUTPUT | MUX_MODE1) /* (D7) gpmc_a4.gmii2_txd1 */
                       AM4372_IOPAD(0x84c, PIN_OUTPUT | MUX_MODE1) /* (A4) gpmc_a3.gmii2_txd2 */
                       AM4372_IOPAD(0x848, PIN_OUTPUT | MUX_MODE1) /* (C6) gpmc_a2.gmii2_txd3 */
                       AM4372_IOPAD(0x86c, PIN_INPUT | MUX_MODE1)  /* (D8) gpmc_a11.gmii2_rxd0 */
                       AM4372_IOPAD(0x868, PIN_INPUT | MUX_MODE1) /* (G8) gpmc_a10.gmii2_rxd1 */
                       AM4372_IOPAD(0x864, PIN_INPUT | MUX_MODE1) /* (B4) gpmc_a9.gmii2_rxd2 */
                       AM4372_IOPAD(0x860, PIN_INPUT | MUX_MODE1 ) /* (F7) gpmc_a8.gmii2_rxd3 */
		>;
	};

	cpsw_sleep: cpsw_sleep {
		pinctrl-single,pins = <
			/* Slave 1 reset value */
			AM4372_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)

			/* Slave 2 MII mode */
                       AM4372_IOPAD(0x878, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (A3) gpmc_be1n.gmii2_col */
                       AM4372_IOPAD(0x870, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (A2) gpmc_wait0.gmii2_crs */
                       AM4372_IOPAD(0x874, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (B3) gpmc_wpn.gmii2_rxer */
                       AM4372_IOPAD(0x840, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (C3) gpmc_a0.gmii2_txen */
                       AM4372_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (C5) gpmc_a1.gmii2_rxdv */
                       AM4372_IOPAD(0x858, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (E8) gpmc_a6.gmii2_txclk */
                       AM4372_IOPAD(0x85c, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (F6) gpmc_a7.gmii2_rxclk */
                       AM4372_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (E7) gpmc_a5.gmii2_txd0 */
                       AM4372_IOPAD(0x850, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (D7) gpmc_a4.gmii2_txd1 */
                       AM4372_IOPAD(0x84c, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (A4) gpmc_a3.gmii2_txd2 */
                       AM4372_IOPAD(0x848, PIN_INPUT_PULLDOWN | MUX_MODE7) /* (C6) gpmc_a2.gmii2_txd3 */
                       AM4372_IOPAD(0x86c, PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* (D8) gpmc_a11.gmii2_rxd0 */
                       AM4372_IOPAD(0x868, PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* (G8) gpmc_a10.gmii2_rxd1 */
                       AM4372_IOPAD(0x864, PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* (B4) gpmc_a9.gmii2_rxd2 */
                       AM4372_IOPAD(0x860, PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* (F7) gpmc_a8.gmii2_rxd3 */
		>;
	};

	davinci_mdio_default: davinci_mdio_default {
		pinctrl-single,pins = <
			/* MDIO */
			AM4372_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
			AM4372_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
		>;
	};

	davinci_mdio_sleep: davinci_mdio_sleep {
		pinctrl-single,pins = <
			/* MDIO reset value */
			AM4372_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	davinci_mdio1_default: davinci_mdio1_default {
		pinctrl-single,pins = <
			/* MDIO1 */
			AM4372_IOPAD(0x88c, PIN_OUTPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE5 ) /* (A12) gpmc_clk.pr1_mdio_mdclk */
			AM4372_IOPAD(0x888, PIN_INPUT_PULLUP | MUX_MODE5 ) /* (B12) gpmc_csn3.pr1_mdio_data */
		>;
	};

	davinci_mdio1_sleep: davinci_mdio1_sleep {
		pinctrl-single,pins = <
			/* MDIO1 reset value */
			AM4372_IOPAD(0x88C, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x888, PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	dss_pins: dss_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x820, PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 8 -> DSS DATA 23 */
			AM4372_IOPAD(0x824, PIN_OUTPUT_PULLUP | MUX_MODE1)
			AM4372_IOPAD(0x828, PIN_OUTPUT_PULLUP | MUX_MODE1)
			AM4372_IOPAD(0x82c, PIN_OUTPUT_PULLUP | MUX_MODE1)
			AM4372_IOPAD(0x830, PIN_OUTPUT_PULLUP | MUX_MODE1)
			AM4372_IOPAD(0x834, PIN_OUTPUT_PULLUP | MUX_MODE1)
			AM4372_IOPAD(0x838, PIN_OUTPUT_PULLUP | MUX_MODE1)
			AM4372_IOPAD(0x83c, PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 15 -> DSS DATA 16 */
			AM4372_IOPAD(0x8a0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 0 */
			AM4372_IOPAD(0x8a4, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8a8, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8ac, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8b0, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8b4, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8b8, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8bc, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8c0, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8c4, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8c8, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8cc, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8d0, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8d4, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8d8, PIN_OUTPUT_PULLUP | MUX_MODE0)
			AM4372_IOPAD(0x8dc, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 15 */
			AM4372_IOPAD(0x8e0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS VSYNC */
			AM4372_IOPAD(0x8e4, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS HSYNC */
			AM4372_IOPAD(0x8e8, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS PCLK */
			AM4372_IOPAD(0x8ec, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS AC BIAS EN */

		>;
	};

	display_mux_pins: display_mux_pins {
		pinctrl-single,pins = <
			/* GPIO 5_8 to select LCD / HDMI */
			AM4372_IOPAD(0xa38, PIN_OUTPUT_PULLUP | MUX_MODE7)
		>;
	};

	vpfe0_pins_default: vpfe0_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9b0, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_hd mode 0*/
			AM4372_IOPAD(0x9b4, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_vd mode 0*/
			AM4372_IOPAD(0x9c0, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_pclk mode 0*/
			AM4372_IOPAD(0x9c4, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data8 mode 0*/
			AM4372_IOPAD(0x9c8, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data9 mode 0*/
			AM4372_IOPAD(0xa08, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data0 mode 0*/
			AM4372_IOPAD(0xa0c, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data1 mode 0*/
			AM4372_IOPAD(0xa10, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data2 mode 0*/
			AM4372_IOPAD(0xa14, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data3 mode 0*/
			AM4372_IOPAD(0xa18, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data4 mode 0*/
			AM4372_IOPAD(0xa1c, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data5 mode 0*/
			AM4372_IOPAD(0xa20, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data6 mode 0*/
			AM4372_IOPAD(0xa24, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data7 mode 0*/
		>;
	};

	vpfe0_pins_sleep: vpfe0_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9b0, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_hd mode 0*/
			AM4372_IOPAD(0x9b4, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_vd mode 0*/
			AM4372_IOPAD(0x9c0, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_pclk mode 0*/
			AM4372_IOPAD(0x9c4, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data8 mode 0*/
			AM4372_IOPAD(0x9c8, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data9 mode 0*/
			AM4372_IOPAD(0xa08, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data0 mode 0*/
			AM4372_IOPAD(0xa0c, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data1 mode 0*/
			AM4372_IOPAD(0xa10, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data2 mode 0*/
			AM4372_IOPAD(0xa14, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data3 mode 0*/
			AM4372_IOPAD(0xa18, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data4 mode 0*/
			AM4372_IOPAD(0xa1c, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data5 mode 0*/
			AM4372_IOPAD(0xa20, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data6 mode 0*/
			AM4372_IOPAD(0xa24, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data7 mode 0*/
		>;
	};

	vpfe1_pins_default: vpfe1_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9cc, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data9 mode 0*/
			AM4372_IOPAD(0x9d0, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data8 mode 0*/
			AM4372_IOPAD(0x9d4, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_hd mode 0*/
			AM4372_IOPAD(0x9d8, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_vd mode 0*/
			AM4372_IOPAD(0x9dC, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_pclk mode 0*/
			AM4372_IOPAD(0x9e8, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data0 mode 0*/
			AM4372_IOPAD(0x9ec, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data1 mode 0*/
			AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data2 mode 0*/
			AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data3 mode 0*/
			AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data4 mode 0*/
			AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data5 mode 0*/
			AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data6 mode 0*/
			AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data7 mode 0*/
		>;
	};

	vpfe1_pins_sleep: vpfe1_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9cc, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data9 mode 0*/
			AM4372_IOPAD(0x9d0, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data8 mode 0*/
			AM4372_IOPAD(0x9d4, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_hd mode 0*/
			AM4372_IOPAD(0x9d8, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_vd mode 0*/
			AM4372_IOPAD(0x9dc, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_pclk mode 0*/
			AM4372_IOPAD(0x9e8, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data0 mode 0*/
			AM4372_IOPAD(0x9ec, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data1 mode 0*/
			AM4372_IOPAD(0x9f0, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data2 mode 0*/
			AM4372_IOPAD(0x9f4, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data3 mode 0*/
			AM4372_IOPAD(0x9f8, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data4 mode 0*/
			AM4372_IOPAD(0x9fc, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data5 mode 0*/
			AM4372_IOPAD(0xa00, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data6 mode 0*/
			AM4372_IOPAD(0xa04, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data7 mode 0*/
		>;
	};

	mmc3_pins_default: pinmux_mmc3_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP | MUX_MODE3)      /* (AD21) cam1_data2.mmc2_clk */
			AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP | MUX_MODE3)      /* (AE22) cam1_data3.mmc2_cmd */
			AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP | MUX_MODE3)      /* (AD22) cam1_data4.mmc2_dat0 */
			AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP | MUX_MODE3)      /* (AE23) cam1_data5.mmc2_dat1 */
			AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP | MUX_MODE3)      /* (AD23) cam1_data6.mmc2_dat2 */
			AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP | MUX_MODE3)      /* (AE24) cam1_data7.mmc2_dat3 */
		>;
	};

	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9f0, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* .mmc2_clk */
			AM4372_IOPAD(0x9f4, PIN_INPUT | PULL_DISABLE | MUX_MODE7)	/* .mmc2_cmd */
			AM4372_IOPAD(0x9f8, PIN_INPUT | PULL_DISABLE | MUX_MODE7)	/* .mmc2_dat0 */
			AM4372_IOPAD(0x9fc, PIN_INPUT | PULL_DISABLE | MUX_MODE7)	/* .mmc2_dat1 */
			AM4372_IOPAD(0xa00, PIN_INPUT | PULL_DISABLE | MUX_MODE7)	/* .mmc2_dat2 */
			AM4372_IOPAD(0xa04, PIN_INPUT | PULL_DISABLE | MUX_MODE7)	/* .mmc2_dat3 */
		>;
	};

	wlan_pins_default: pinmux_wlan_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa40, PIN_OUTPUT_PULLUP | MUX_MODE7)		/* gpmc_a4.gpio1_20 WL_EN */
                        AM4372_IOPAD(0xa44, PIN_OUTPUT_PULLDOWN | MUX_MODE7)         /* gpio5_11.gpio5_11 WL_TXR_EN */
			AM4372_IOPAD(0xa58, PIN_OUTPUT_PULLDOWN | MUX_MODE7)		/* gpmc_a0.gpio1_16 BT_EN*/
	                AM4372_IOPAD(0xa50, PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7)   /* spi4_sclk.gpio5_4 WL_IRQ*/

		>;
	};

	wlan_pins_sleep: pinmux_wlan_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa40, PIN_OUTPUT_PULLDOWN | MUX_MODE7)		/* gpmc_a4.gpio1_20 WL_EN */
                        AM4372_IOPAD(0xa44, PIN_OUTPUT_PULLDOWN | MUX_MODE7)         /* gpio5_11.gpio5_11 WL_TXR_EN */
			AM4372_IOPAD(0xa58, PIN_OUTPUT_PULLUP | MUX_MODE7)		/* gpmc_a0.gpio1_16 BT_EN*/
                        AM4372_IOPAD(0xa50, PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7)   /* spi4_sclk.gpio5_4 WL_IRQ*/

		>;
	};

	uart3_pins: uart3_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa28, PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0)	/* (H25) uart3_rxd.uart3_rxd */
			AM4372_IOPAD(0xa2c, PIN_INPUT | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* (H24) uart3_txd */
			AM4372_IOPAD(0xa30, PIN_INPUT | MUX_MODE0)	/* uart3_ctsn.uart3_ctsn */
			AM4372_IOPAD(0xa34, PIN_INPUT | MUX_MODE0) /* uart3_rtsn.uart3_rtsn */
		>;
	};

	mcasp1_pins: mcasp1_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD( 0x9a0, PIN_INPUT_PULLDOWN | MUX_MODE3)  /* (L23) mcasp0_aclkr.mcasp1_aclkx */
			AM4372_IOPAD( 0x9a4, PIN_INPUT_PULLDOWN | MUX_MODE3)  /* (K23) mcasp0_fsr.mcasp1_fsx */
			AM4372_IOPAD( 0x9a8, PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* (M25) mcasp0_axr1.mcasp1_axr0 */
			AM4372_IOPAD( 0x9ac, PIN_INPUT_PULLDOWN | MUX_MODE3)  /* (L24) mcasp0_ahclkx.mcasp1_axr1 */
		>;
	};

	mcasp1_sleep_pins: mcasp1_sleep_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9a0, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x9a4, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x9a8, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0x9ac, PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	emmc_pins_default: emmc_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
			AM4372_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
			AM4372_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
			AM4372_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
			AM4372_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */
			AM4372_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */
			AM4372_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */
			AM4372_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */
			AM4372_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
			AM4372_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
		>;
	};

	emmc_pins_sleep: emmc_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x800, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.gpio1_0 */
			AM4372_IOPAD(0x804, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.gpio1_1 */
			AM4372_IOPAD(0x808, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.gpio1_2 */
			AM4372_IOPAD(0x80c, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.gpio1_3 */
			AM4372_IOPAD(0x810, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */
			AM4372_IOPAD(0x814, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */
			AM4372_IOPAD(0x818, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */
			AM4372_IOPAD(0x81c, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */
			AM4372_IOPAD(0x880, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.gpio1_30 */
			AM4372_IOPAD(0x884, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn2.gpio1_31 */
		>;
	};

	unused_pins: unused_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa3c, PIN_INPUT | PULL_DISABLE | MUX_MODE7)
			AM4372_IOPAD(0xa48, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xa60, PIN_INPUT | PULL_DISABLE | MUX_MODE7)
			AM4372_IOPAD(0xa68, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xa7c, PIN_INPUT | PULL_DISABLE)
			AM4372_IOPAD(0xac8, PIN_INPUT_PULLDOWN)
			AM4372_IOPAD(0xad4, PIN_INPUT_PULLDOWN)
			AM4372_IOPAD(0xad8, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xadc, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xae0, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xae4, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xae8, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xaec, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xaf0, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xaf4, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xaf8, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xafc, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xb00, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xb04, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xb08, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xb0c, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xb10, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xb14, PIN_INPUT_PULLDOWN | MUX_MODE7)
			AM4372_IOPAD(0xb18, PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	debugss_pins: pinmux_debugss_pins {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xa90, PIN_INPUT_PULLDOWN)
			AM4372_IOPAD(0xa94, PIN_INPUT_PULLDOWN)
			AM4372_IOPAD(0xa98, PIN_INPUT_PULLDOWN)
			AM4372_IOPAD(0xa9c, PIN_INPUT_PULLDOWN)
			AM4372_IOPAD(0xaa0, PIN_INPUT_PULLDOWN)
			AM4372_IOPAD(0xaa4, PIN_INPUT_PULLDOWN)
			AM4372_IOPAD(0xaa8, PIN_INPUT_PULLDOWN)
		>;
	};

	uart0_pins_default: uart0_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x970, PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_rxd.uart0_rxd */
			AM4372_IOPAD(0x974, PIN_INPUT | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_txd.uart0_txd */
		>;
	};

	uart0_pins_sleep: uart0_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x970, PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_rxd.uart0_rxd */
			AM4372_IOPAD(0x974, PIN_INPUT_PULLDOWN | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_txd.uart0_txd */
		>;
	};

	uart1_pins_default: uart1_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9e8, PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE1 ) /* (AB20) cam1_data0.uart1_rxd */
			AM4372_IOPAD(   0x9ec, PIN_INPUT | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE1 ) /* (AC21) cam1_data1.uart1_txd */
		>;
	};

	uart1_pins_sleep: uart1_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x9e8, PIN_INPUT_PULLUP | MUX_MODE7)    /* (AB20) cam1_data0.uart1_rxd */
			AM4372_IOPAD(0x9ec, PIN_INPUT_PULLUP | MUX_MODE7)    /* (AC21) cam1_data1.uart1_txd */
		>;
	};

	uart_pruss1_pins_default: uart_pruss1_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x980, PIN_INPUT | MUX_MODE5 ) /* (K21) uart1_rxd.pr1_uart0_rxd */
			AM4372_IOPAD(0x984, PIN_OUTPUT | MUX_MODE5 ) /* (L21) uart1_txd.pr1_uart0_txd */
		>;
	};

	uart_pruss1_pins_sleep: uart_pruss1_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x980, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K21) uart1_rxd.pr1_uart0_rxd */
			AM4372_IOPAD(0x984, PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L21) uart1_txd.pr1_uart0_txd */
		>;
	};

	rtc_pins_default: rtc_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xab4, PIN_INPUT | MUX_MODE0 )         /* (AE6) RTC_PWRONRSTn.RTC_PORz */
			AM4372_IOPAD(0xab8, PIN_OUTPUT | MUX_MODE0 )        /* (AE3) RTC_WAKEUP.RTC_WAKEUP */
			AM4372_IOPAD(0xabc, PIN_INPUT | MUX_MODE0 )         /* (AD6) RTC_PMIC_EN.RTC_PMIC_EN */
		>;
	};

	rtc_pins_sleep: rtc_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xab4, PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (AE6) RTC_PWRONRSTn.RTC_PORz */
			AM4372_IOPAD(0xab8, PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (AE3) RTC_WAKEUP.RTC_WAKEUP */
			AM4372_IOPAD(0xabc, PIN_INPUT_PULLDOWN | MUX_MODE7)  /* (AD6) RTC_PMIC_EN.RTC_PMIC_EN */
		>;
	};

	usb1_pins_default: usb1_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xac0, DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE0)
		>;
	};

	usb1_pins_sleep: usb1_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xac0, DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;	
	};

	usb2_pins_default: usb2_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xac4, DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE0)
		>;
	};

	usb2_pins_sleep: usb2_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0xac4, DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	spi0_pins_default: spi0_pins_default {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x950,  PIN_INPUT_PULLUP | MUX_MODE0 )  /* (P23) spi0_sclk.spi0_sclk */
			AM4372_IOPAD(0x954,  PIN_INPUT | MUX_MODE0 )         /* (T22) spi0_d0.spi0_d0 */
			AM4372_IOPAD(0x958,  PIN_OUTPUT | MUX_MODE0 )        /* (T21) spi0_d1.spi0_d1 */
			AM4372_IOPAD(0x95c,  PIN_OUTPUT | MUX_MODE0 )        /* (T20) spi0_cs0.spi0_cs0 */
		>;
	};

	spi0_pins_sleep: spi0_pins_sleep {
		pinctrl-single,pins = <
			AM4372_IOPAD(0x950, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)      /* (P23) spi0_sclk.spi0_sclk */
			AM4372_IOPAD(0x954, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)      /* (T22) spi0_d0.spi0_d0 */
			AM4372_IOPAD(0x958, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)      /* (T21) spi0_d1.spi0_d1 */
			AM4372_IOPAD(0x95c, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)      /* (T20) spi0_cs0.spi0_cs0 */
		>;
	};
};

&i2c0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c0_pins>;
	clock-frequency = <100000>;

	tps65218: tps65218@24 {
		reg = <0x24>;
		compatible = "ti,tps65218";
		interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */
		interrupt-controller;
		#interrupt-cells = <2>;

		dcdc1: regulator-dcdc1 {
			regulator-name = "vdd_core";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1144000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc2: regulator-dcdc2 {
			regulator-name = "vdd_mpu";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1378000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc3: regulator-dcdc3 {
			regulator-name = "vdcdc3";
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
			regulator-state-disk {
				regulator-off-in-suspend;
			};
		};

		dcdc5: regulator-dcdc5 {
			regulator-name = "v1_0bat";
			regulator-min-microvolt = <1000000>;
			regulator-max-microvolt = <1000000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
		};

		dcdc6: regulator-dcdc6 {
			regulator-name = "v1_8bat";
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
		};

		ldo1: regulator-ldo1 {
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
		};
	};

	ov2659@30 {
		compatible = "ovti,ov2659";
		reg = <0x30>;

		clocks = <&audio_mstrclk>;
		clock-names = "xvclk";

		port {
			ov2659_0: endpoint {
				remote-endpoint = <&vpfe1_ep>;
				link-frequencies = /bits/ 64 <70000000>;
			};
		};
	};
};

&i2c1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c1_pins>;
	pixcir_ts@5c {
		compatible = "pixcir,pixcir_tangoc";
		pinctrl-names = "default";
		pinctrl-0 = <&pixcir_ts_pins>;
		reg = <0x5c>;

		attb-gpio = <&gpio0 19 GPIO_ACTIVE_HIGH>;

		/*
		 * 0x270 represents the offset of padconf register of
		 * gpio0_19 from am43xx_pinmux base.
		 */
		interrupts-extended = <&gpio0 19 IRQ_TYPE_EDGE_FALLING>,
				      <&am43xx_pinmux 0x270>;
		interrupt-names = "tsc", "wakeup";

		touchscreen-size-x = <1024>;
		touchscreen-size-y = <600>;
		wakeup-source;
	};

	ov2659@30 {
		compatible = "ovti,ov2659";
		reg = <0x30>;

		clocks = <&audio_mstrclk>;
		clock-names = "xvclk";

		port {
			ov2659_1: endpoint {
				remote-endpoint = <&vpfe0_ep>;
				link-frequencies = /bits/ 64 <70000000>;
			};
		};
	};

	tlv320aic3106: tlv320aic3106@1b {
		#sound-dai-cells = <0>;
		compatible = "ti,tlv320aic3106";
		reg = <0x1b>;
		status = "okay";
		ai3x-micbias-vg = <0x1>;
		gpio = <&gpio2 3 GPIO_ACTIVE_LOW>;

		/* Regulators */
		IOVDD-supply = <&evm_v3_3d>; /* V3_3D -> <tps63031> EN: V1_8D -> VBAT */
		AVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */
		DRVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */
		DVDD-supply = <&ldo1>; /* V1_8D -> LDO1 */
	};
};

&tscadc {
	status = "okay";

	adc {
		ti,adc-channels = <0 1 2 3 4 5 6 7>;
	};
};

&epwmss1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&ehrpwm1_pins_default>;
	pinctrl-1 = <&ehrpwm1_pins_sleep>;

	ehrpwm1: pwm@48302200 {
		status = "okay";
	};
};

&gpio0 {
	status = "okay";
};

&gpio1 {
	status = "okay";
	p29 {
		/* PRU_UART Rs485 */
		gpio-hog;
		gpios = <29 GPIO_ACTIVE_HIGH>;
		output-high;
		line-name = "PRU_UART";
	};
};

&gpio2 {
	status = "okay";
};

&gpio3 {
	status = "okay";
};

&gpio4 {
	status = "okay";
	p7 {
		/*
		* High: LCD backlight ON.
		* low: LCD backlight OFF.
		*/
		gpio-hog;
		gpios = <7 GPIO_ACTIVE_HIGH>;
		output-high;
		line-name = "Backlight";
	};
};

&gpio5 {
	pinctrl-names = "default";
	pinctrl-0 = <&display_mux_pins>;
	status = "okay";
	ti,no-reset-on-init;

	p8 {
		/*
		 * SelLCDorHDMI selects between display and audio paths:
		 * Low: HDMI display with audio via HDMI
		 * High: LCD display with analog audio via aic3111 codec
		 */
		gpio-hog;
		gpios = <8 GPIO_ACTIVE_HIGH>;
		output-high;
		line-name = "SelLCDorHDMI";
	};

	p9 {
		/* PRU_UART Rs485 */
		gpio-hog;
		gpios = <9 GPIO_ACTIVE_HIGH>;
		output-high;
		line-name = "PRU1_UART";
	};
	p10 {
                gpio-hog;
                gpios = <10 GPIO_ACTIVE_HIGH>;
                output-high;
                line-name = "WL_EN";
	};
        p11 {
                gpio-hog;
                gpios = <10 GPIO_ACTIVE_HIGH>;
                output-low;
                line-name = "WL_TXR_EN";
        };

};

&mmc1 {
	status = "okay";
	vmmc-supply = <&evm_v3_3d>;
	bus-width = <4>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc1_pins>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};

/* eMMC sits on mmc2 */
&mmc2 {
	/*
	 * When enabling eMMC, disable GPMC/NAND and set
	 * SelEMMCorNAND to output-high
	 */
	status = "okay";
	vmmc-supply = <&evm_v3_3d>;
	bus-width = <8>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&emmc_pins_default>;
	pinctrl-1 = <&emmc_pins_sleep>;
	ti,non-removable;
};

&mmc3 {
	status = "okay";
	/* these are on the crossbar and are outlined in the
	   xbar-event-map element */
	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>;
	cap-power-off-card;
	keep-power-in-suspend;
	ti,non-removable;
	enable-sdio-wakeup;
	/*ti,needs-special-hs-handling;
	broken-cd;
	disable-wp;*/

	#address-cells = <1>;
	#size-cells = <0>;
	wlcore: wlcore@0 {
		compatible = "ti,wl1835";
		reg = <2>;
		interrupt-parent = <&gpio5>;
		interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
               /* pinctrl-names = "default","sleep";*/
	};
};

&uart3 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&uart3_pins>;
};

&usb2_phy1 {
	status = "okay";
};

&usb1 {
	dr_mode = "host";
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&usb1_pins_default>;
	pinctrl-1 = <&usb1_pins_sleep>;
};

&usb2_phy2 {
	status = "okay";
};

&usb2 {
	dr_mode = "host";
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&usb2_pins_default>;
	pinctrl-1 = <&usb2_pins_sleep>;
};

&mac {
	slaves = <2>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&cpsw_default>;
	pinctrl-1 = <&cpsw_sleep>;
	status = "okay";
	dual_emac;
	reset-gpio = <&gpio5 5 GPIO_ACTIVE_HIGH>;
};

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

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

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

&elm {
	status = "okay";
};

&uart0 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&uart0_pins_default>;
	pinctrl-1 = <&uart0_pins_sleep>;
};

&uart1 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&uart1_pins_default>;
	pinctrl-1 = <&uart1_pins_sleep>;
/*      rts-gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>;*/
	rts-gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;
	rs485-rts-active-high;
	rs485-rx-during-tx;
	rs485-rts-delay = <1 1>;
	linux,rs485-enabled-at-boot-time;
};

&pruss1 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&uart_pruss1_pins_default>;
	pinctrl-1 = <&uart_pruss1_pins_sleep>;
/*      rts-gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;*/
	rts-gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>;
};

&dss {
	status = "ok";

	pinctrl-names = "default";
	pinctrl-0 = <&dss_pins>;

	port {
		dpi_out: endpoint {
			remote-endpoint = <&lcd_in>;
			data-lines = <24>;
		};
	};
};

&vpfe0 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&vpfe0_pins_default>;
	pinctrl-1 = <&vpfe0_pins_sleep>;

	port {
		vpfe0_ep: endpoint {
			remote-endpoint = <&ov2659_1>;
			ti,am437x-vpfe-interface = <0>;
			bus-width = <8>;
			hsync-active = <0>;
			vsync-active = <0>;
		};
	};
};

&vpfe1 {
	status = "disabled";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&vpfe1_pins_default>;
	pinctrl-1 = <&vpfe1_pins_sleep>;

	port {
		vpfe1_ep: endpoint {
			remote-endpoint = <&ov2659_0>;
			ti,am437x-vpfe-interface = <0>;
			bus-width = <8>;
			hsync-active = <0>;
			vsync-active = <0>;
		};
	};
};

&spi0 {
	#address-cells = <1>;
	#size-cells = <0>;
	ti,spi-num-cs = <1>;
	ti,hwmods = "spi0";
	ti,pindir-d1-out-d0-in;
	dma-names = "tx0", "rx0", "tx1", "rx1";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&spi0_pins_default>;
	pinctrl-1 = <&spi0_pins_sleep>;
	status = "okay";

	w25x20@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "winbond,w25x20";
		spi-max-frequency = <48000000>;
		reg = <0>;

		partition@00000 {
			label = "BootLoader";
			reg = <0x0 0x40000>;
		};
	};
};

&mcasp1 {
	#sound-dai-cells = <0>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mcasp1_pins>;
	pinctrl-1 = <&mcasp1_sleep_pins>;

	status = "okay";

	op-mode = <0>; /* MCASP_IIS_MODE */
	tdm-slots = <2>;
	/* 4 serializers */
	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
		1 2 0 0
	>;
	tx-num-evt = <32>;
	rx-num-evt = <32>;
};

&rtc {
	clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
	clock-names = "ext-clk", "int-clk";
	status = "okay";
};

&cpu {
	cpu0-supply = <&dcdc2>;
};

&wkup_m3_ipc {
	ti,set-io-isolation;
	ti,scale-data-fw = "am43x-evm-scale-data.bin";
};

&clkout_32k_mux_ck {
	clock-default = <&clk_32768_ck>;
};

&pruss_soc_bus {
	status = "okay";

	pruss1: pruss@54400000 {
		status = "okay";

		pru1_0: pru@54434000 {
			status = "okay";
		};

		pru1_1: pru@54438000 {
			status = "okay";
		};
	};

	pruss0: pruss@54440000 {
		status = "okay";

		pru0_0: pru@54474000 {
			status = "okay";
		};

		pru0_1: pru@54478000 {
			status = "okay";
		};
	};
};

&sgx {
	status = "okay";
};

I have attached the dmesg log file.

root@am437x-evm:~# 
root@am437x-evm:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.59-rt23-g273202a0d3 (root@lap000255) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #66 PREEMPT RT Tu8
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: TI AM437x GP EVM
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    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 c0d51360, 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] AM437x ES1.2 (sgx 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=/dev/mmcblk0p2 rw
[    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: 976136K/1048576K available (8192K kernel code, 331K rwdata, 2644K rodata, 1024K init, 354K bss, 23288K reserved, 49152K)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0900000   (9184 kB)
                     .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
                     .data : 0xc0d00000 - 0xc0d52da0   ( 332 kB)
                      .bss : 0xc0d52da0 - 0xc0dab780   ( 355 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU kthread priority: 1.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[    0.000000] 1 number of clocks
[    0.000000] omap2_clk_enable_init_clocks function is called
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000023] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000028] OMAP clocksource: timer1 at 24000000 Hz
[    0.000146] sched_clock: 64 bits at 500MHz, resolution 2ns, wraps every 4398046511103ns
[    0.000155] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[    0.000170] Switching to timer-based delay loop, resolution 2ns
[    0.000539] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000541] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000951] Console: colour dummy device 80x30
[    0.001084] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001085] This ensures that you still see kernel messages. Please
[    0.001087] update your kernel commandline.
[    0.001109] Calibrating delay loop (skipped), value calculated using timer frequency.. 1000.00 BogoMIPS (lpj=5000000)
[    0.001114] pid_max: default: 32768 minimum: 301
[    0.001228] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001233] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002091] CPU: Testing write buffer coherency: ok
[    0.002403] Setting up static identity map for 0x80100000 - 0x80100060
[    0.003410] EFI services will not be available.
[    0.004201] devtmpfs: initialized
[    0.017233] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.017558] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.017583] futex hash table entries: 256 (order: 1, 8192 bytes)
[    0.021036] pinctrl core: initialized pinctrl subsystem
[    0.022246] NET: Registered protocol family 16
[    0.023697] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.093118] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
[    0.093427] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
[    0.094799] OMAP GPIO hardware version 0.1
[    0.095507] GPIO line 61 (PRU_UART) hogged as output/high
[    0.095531] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
[    0.095822] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
[    0.097494] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
[    0.097765] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
[    0.099549] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
[    0.099866] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
[    0.101796] GPIO line 135 (Backlight) hogged as output/high
[    0.101823] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
[    0.102114] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
[    0.103755] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/display_mux_pins,e
[    0.111744] No ATAGs?
[    0.111770] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.111780] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.126630] edma 49000000.edma: TI EDMA DMA engine driver
[    0.126989] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-v3_3d[0]'
[    0.130681] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferrine
[    0.130739] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins, deferrine
[    0.130865] media: Linux media interface: v0.10
[    0.130921] Linux video capture interface: v2.00
[    0.130962] pps_core: LinuxPPS API ver. 1 registered
[    0.130969] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.130990] PTP clock support registered
[    0.131029] EDAC MC: Ver: 3.0.0
[    0.131937] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.132287] Advanced Linux Sound Architecture Driver Initialized.
[    0.133859] clocksource: Switched to clocksource arm_global_timer
[    0.142817] NET: Registered protocol family 2
[    0.143545] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.143630] TCP bind hash table entries: 8192 (order: 5, 196608 bytes)
[    0.144193] TCP: Hash tables configured (established 8192 bind 8192)
[    0.144374] UDP hash table entries: 512 (order: 3, 32768 bytes)
[    0.144489] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[    0.144897] NET: Registered protocol family 1
[    0.145404] RPC: Registered named UNIX socket transport module.
[    0.145419] RPC: Registered udp transport module.
[    0.145425] RPC: Registered tcp transport module.
[    0.145431] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.145443] PCI: CLS 0 bytes, default 64
[    0.147892] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.153644] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.154605] NFS: Registering the id_resolver key type
[    0.154641] Key type id_resolver registered
[    0.154648] Key type id_legacy registered
[    0.154699] ntfs: driver 2.1.32 [Flags: R/O].
[    0.158491] bounce: pool size: 64 pages
[    0.158705] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.158717] io scheduler noop registered
[    0.158724] io scheduler deadline registered
[    0.158855] io scheduler cfq registered (default)
[    0.161938] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
[    0.165055] pwm-backlight backlight: GPIO lookup for consumer enable
[    0.165065] pwm-backlight backlight: using device tree for GPIO lookup
[    0.165075] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
[    0.165080] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
[    0.165085] pwm-backlight backlight: using lookup tables for GPIO lookup
[    0.165091] pwm-backlight backlight: lookup for GPIO enable failed
[    0.165108] backlight supply power not found, using dummy regulator
[    0.216800] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.219128] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[    0.219858] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    0.925761] console [ttyS0] enabled
[    0.929765] omap8250 48022000.serial: No clock speed specified: using default: 48000000
[    0.938434] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    0.947598] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
[    0.956226] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 32, base_baud = 3000000) is a 8250
[    0.966794] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    0.973605] [drm] Initialized
[    0.977939] 4832a000.dss supply vdda_video not found, using dummy regulator
[    0.985087] OMAP DSS rev 2.0
[    0.988149] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
[    0.997103] panel-dpi display: GPIO lookup for consumer enable
[    0.997111] panel-dpi display: using device tree for GPIO lookup
[    0.997120] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display[0]'
[    0.997125] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display[0]'
[    0.997130] panel-dpi display: using lookup tables for GPIO lookup
[    0.997136] panel-dpi display: lookup for GPIO enable failed
[    0.997141] panel-dpi display: GPIO lookup for consumer reset
[    0.997145] panel-dpi display: using device tree for GPIO lookup
[    0.997149] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/display[0]'
[    0.997153] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/display[0]'
[    0.997157] panel-dpi display: using lookup tables for GPIO lookup
[    0.997161] panel-dpi display: lookup for GPIO reset failed
[    0.997174] display supply vcc not found, using dummy regulator
[    1.016758] brd: module loaded
[    1.026352] loop: module loaded
[    1.031996] spi spi1.0: not using DMA for McSPI (-19)
[    1.037448] m25p80 spi1.0: w25x20 (256 Kbytes)
[    1.041933] 1 ofpart partitions found on MTD device spi1.0
[    1.047445] Creating 1 MTD partitions on "spi1.0":
[    1.052265] 0x000000000000-0x000000040000 : "BootLoader"
[    1.059690] libphy: Fixed MDIO Bus: probed
[    1.133929] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.140065] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
[    1.147750] libphy: 4a101000.mdio: probed
[    1.151796] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[    1.161499] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI TLK10X 10/100 Mbps PHY
[    1.171960] cpsw 4a100000.ethernet: Detected MACID = 50:65:83:de:9d:e3
[    1.178631] cpsw 4a100000.ethernet: device node lookup for pps timer failed
[    1.185656] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.193703] cpsw 4a100000.ethernet: cpsw: Detected MACID = 50:65:83:de:9d:e5
[    1.202643] mousedev: PS/2 mouse device common for all mice
[    1.208793] i2c /dev entries driver
[    1.214098] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    1.214106] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.214164] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp@44000000/mmc@48060000[0]' - status (0)
[    1.214230] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.218888] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    1.218893] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.218900] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@48060000[0]'
[    1.218906] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@48060000[0]'
[    1.218910] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    1.218917] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    1.274405] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
[    1.274415] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    1.274423] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.274429] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.274434] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    1.274440] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
[    1.274446] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
[    1.274450] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    1.274455] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.274459] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@481d8000[0]'
[    1.274463] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    1.274467] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
[    1.334271] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[    1.334280] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.334290] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.334295] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.334299] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.334306] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
[    1.334313] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[    1.334316] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.334321] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.334325] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
[    1.334329] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.334333] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
[    1.334486] omap_hsmmc 47810000.mmc: RX DMA channel request failed
[    1.341346] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@0[0]' - status (0)
[    1.341506] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
[    1.341647] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
[    1.348338] NET: Registered protocol family 26
[    1.356018] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.363073] NET: Registered protocol family 10
[    1.368939] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.375690] NET: Registered protocol family 17
[    1.380250] Bridge firewalling registered
[    1.382227] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.385025] mmc0: new high speed SDHC card at address aaaa
[    1.394132] mmcblk0: mmc0:aaaa SL08G 7.40 GiB 
[    1.395840]  mmcblk0: p1 p2
[    1.407423] 8021q: 802.1Q VLAN Support v1.8
[    1.411684] Key type dns_resolver registered
[    1.416196] omap_voltage_late_init: Voltage driver support not added
[    1.429800] omapdrm omapdrm.0: DMM not available, disable DMM support
[    1.436869] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.443520] [drm] No driver support for vblank timestamp query.
[    1.511847] Console: switching to colour frame buffer device 100x30
[    1.534877] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    1.542379] GPIO line 168 (SelLCDorHDMI) hogged as output/high
[    1.548265] GPIO line 169 (PRU1_UART) hogged as output/high
[    1.553953] GPIO line 170 (WL_EN) hogged as output/high
[    1.559213] requesting hog GPIO WL_TXR_EN (chip gpio, offset 10) failed, -16
[    1.566308] gpiochip_add_data: GPIOs 160..191 (gpio) failed to register
[    1.572959] omap_gpio 48322000.gpio: Could not register gpio chip -16
[    1.579495] omap_gpio: probe of 48322000.gpio failed with error -16
[    1.629722] ov2659 0-0030: GPIO lookup for consumer pwrdn
[    1.629732] ov2659 0-0030: using device tree for GPIO lookup
[    1.629743] of_get_named_gpiod_flags: can't parse 'pwrdn-gpios' property of node '/ocp@44000000/i2c@44e0b000/ov2659@30[0]'
[    1.629748] of_get_named_gpiod_flags: can't parse 'pwrdn-gpio' property of node '/ocp@44000000/i2c@44e0b000/ov2659@30[0]'
[    1.629753] ov2659 0-0030: using lookup tables for GPIO lookup
[    1.629759] ov2659 0-0030: lookup for GPIO pwrdn failed
[    1.632455] ov2659 0-0030: Sensor detection failed (3030, 0)
[    1.638261] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
[    1.645466] ov2659 1-0030: GPIO lookup for consumer pwrdn
[    1.645476] ov2659 1-0030: using device tree for GPIO lookup
[    1.645486] of_get_named_gpiod_flags: can't parse 'pwrdn-gpios' property of node '/ocp@44000000/i2c@4802a000/ov2659@30[0]'
[    1.645491] of_get_named_gpiod_flags: can't parse 'pwrdn-gpio' property of node '/ocp@44000000/i2c@4802a000/ov2659@30[0]'
[    1.645496] ov2659 1-0030: using lookup tables for GPIO lookup
[    1.645501] ov2659 1-0030: lookup for GPIO pwrdn failed
[    1.676550] ov2659 1-0030: Sensor detection failed (3030, 0)
[    1.682722] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp@44000000/i2c@4802a000/tlv320aic3106@1b[0]'
[    1.683167] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[    1.690282] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
[    1.690293] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
[    1.691361] asoc-simple-card sound0: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
[    1.710865] hctosys: unable to open rtc device (rtc0)
[    1.716662] ALSA device list:
[    1.719656]   #0: AM437x-GP-EVM
[    1.724990] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[    1.733910] random: fast init done
[    1.757214] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.765449] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    1.774500] devtmpfs: mounted
[    1.779328] Freeing unused kernel memory: 1024K
[    1.871654] mmc1: new high speed MMC card at address 0001
[    1.878906] mmcblk1: mmc1:0001 MMC04G 3.60 GiB 
[    1.885956] mmcblk1boot0: mmc1:0001 MMC04G partition 1 16.0 MiB
[    1.893348] mmcblk1boot1: mmc1:0001 MMC04G partition 2 16.0 MiB
[    1.904091]  mmcblk1: p1 p2 p3 p4
[    2.050744] systemd[1]: System time before build time, advancing clock.
[    2.079030] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
[    2.097854] systemd[1]: Detected architecture arm.
[    2.141667] systemd[1]: Set hostname to <am437x-evm>.
[    2.626427] systemd[1]: Reached target Remote File Systems.
[    2.654161] systemd[1]: Reached target Swap.
[    2.684418] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.724364] systemd[1]: Listening on Syslog Socket.
[    2.754283] systemd[1]: Listening on Journal Socket (/dev/log).
[    2.784340] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    2.824239] systemd[1]: Listening on udev Kernel Socket.
[    3.189723] cmemk: loading out-of-tree module taints kernel.
[    3.196902] CMEMK module: reference Linux version 4.9.59
[    3.203128] no physical memory specified
[    3.211430] cmemk initialized
[    3.224387] cryptodev: driver 1.8 loaded.
[    3.316844] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    4.229710] systemd-journald[148]: Received request to flush runtime journal from PID 1
[    5.900378] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    5.926760] remoteproc remoteproc0: wkup_m3 is available
[    6.034510] rtc rtc0: 44e3e000.rtc: dev (253:0)
[    6.034545] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    6.116415] remoteproc remoteproc0: powering up wkup_m3
[    6.198924] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224268
[    6.324852] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    6.324978] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[    6.551353] pixcir_ts 1-005c: GPIO lookup for consumer attb
[    6.551366] pixcir_ts 1-005c: using device tree for GPIO lookup
[    6.551379] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
[    6.551463] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]' - status (0)
[    6.551483] pixcir_ts 1-005c: GPIO lookup for consumer reset
[    6.551487] pixcir_ts 1-005c: using device tree for GPIO lookup
[    6.551494] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
[    6.551499] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
[    6.551503] pixcir_ts 1-005c: using lookup tables for GPIO lookup
[    6.551510] pixcir_ts 1-005c: lookup for GPIO reset failed
[    6.551515] pixcir_ts 1-005c: GPIO lookup for consumer wake
[    6.551519] pixcir_ts 1-005c: using device tree for GPIO lookup
[    6.551524] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
[    6.551528] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
[    6.551532] pixcir_ts 1-005c: using lookup tables for GPIO lookup
[    6.551536] pixcir_ts 1-005c: lookup for GPIO wake failed
[    6.551541] pixcir_ts 1-005c: GPIO lookup for consumer enable
[    6.551545] pixcir_ts 1-005c: using device tree for GPIO lookup
[    6.551550] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
[    6.551554] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
[    6.551558] pixcir_ts 1-005c: using lookup tables for GPIO lookup
[    6.551562] pixcir_ts 1-005c: lookup for GPIO enable failed
[    6.566891] input: pixcir_tangoc as /devices/platform/44000000.ocp/4802a000.i2c/i2c-1/1-005c/input/input0
[    7.609183] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
[    7.822094] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
[    7.870881] omap-aes 53501000.aes: will run requests pump with realtime priority
[    8.060915] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
[    8.111553] omap-des 53701000.des: will run requests pump with realtime priority
[    8.305109] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
[   10.137722] net eth1: initializing cpsw version 1.15 (0)
[   10.208865] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[   10.208871] cpsw 4a100000.ethernet: ALE Table size 1024
[   10.304438] TI TLK10X 10/100 Mbps PHY 4a101000.mdio:01: attached PHY driver [TI TLK10X 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:01,)
[   10.325542] cpts ptp bc clkid 0
[   10.328905] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   10.328914] 8021q: adding VLAN 0 to HW filter on device eth1
[   10.441594] net eth0: initializing cpsw version 1.15 (0)
[   10.536576] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:0)
[   10.572492] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.572501] 8021q: adding VLAN 0 to HW filter on device eth0
[   14.396698] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   14.449228] EXT4-fs (mmcblk1p3): mounting ext3 file system using the ext4 subsystem
[   14.543274] EXT4-fs (mmcblk1p3): recovery complete
[   14.543291] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
[   14.811227] NET: Registered protocol family 15
[   14.961074] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   15.125609] FAT-fs (mmcblk1p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   15.984362] EXT4-fs (mmcblk1p2): mounting ext3 file system using the ext4 subsystem
[   16.147811] EXT4-fs (mmcblk1p2): recovery complete
[   16.152656] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[   17.027016] Initializing XFRM netlink socket
[   18.335138] random: crng init done
[   22.498032] ti-pruss 54400000.pruss: creating PRU cores and other child platform devices
[   22.572565] irq: no irq domain found for /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/intc@54420000 !
[   22.726043] irq: no irq domain found for /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/intc@54420000 !
[   22.840995] ti-pruss 54440000.pruss: creating PRU cores and other child platform devices
[   22.943013] irq: no irq domain found for /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/intc@54460000 !
[   22.968361] usbcore: registered new interface driver usbfs
[   22.969722] usbcore: registered new interface driver hub
[   22.974586] usbcore: registered new device driver usb
[   23.010277] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   23.010324] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[   23.014781] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
[   23.027849] xhci-hcd xhci-hcd.3.auto: irq 258, io mem 0x48390000
[   23.030136] hub 1-0:1.0: USB hub found
[   23.030192] hub 1-0:1.0: 1 port detected
[   23.039402] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   23.039425] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
[   23.045170] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   23.050479] hub 2-0:1.0: USB hub found
[   23.050553] hub 2-0:1.0: 1 port detected
[   23.056576] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[   23.056610] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3
[   23.057638] xhci-hcd xhci-hcd.4.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
[   23.064078] xhci-hcd xhci-hcd.4.auto: irq 259, io mem 0x483d0000
[   23.071004] hub 3-0:1.0: USB hub found
[   23.071087] hub 3-0:1.0: 1 port detected
[   23.075733] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[   23.075755] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4
[   23.079226] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   23.083327] hub 4-0:1.0: USB hub found
[   23.087695] hub 4-0:1.0: 1 port detected
[   24.102560] irq: no irq domain found for /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/intc@54460000 !
[   24.257488] remoteproc remoteproc1: 54434000.pru0 is available
[   24.263438] pru-rproc 54434000.pru0: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/pru@54434000 probed successfully
[   24.364938] remoteproc remoteproc2: 54438000.pru1 is available
[   24.370920] pru-rproc 54438000.pru1: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/pru@54438000 probed successfully
[   24.443249] remoteproc remoteproc3: 54474000.pru0 is available
[   24.458932] pru-rproc 54474000.pru0: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/pru@54474000 probed successfully
[   24.515047] remoteproc remoteproc4: 54478000.pru1 is available
[   24.521032] pru-rproc 54478000.pru1: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/pru@54478000 probed successfully
[   25.028367] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
root@am437x-evm:~# 

Console boot log :

U-Boot SPL 2017.01-00458-gd10e262-dirty (Feb 26 2018 - 14:01:27)
Trying to boot from MMC1
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2017.01-00458-gd10e262-dirty (Feb 26 2018 - 14:01:27 +0530)

CPU  : AM437X-GP rev 1.2
Model: TI AM437x GP EVM
DRAM:  1 GiB
PMIC:  TPS65218
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1, OMAP SD/MMC: 2
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

Net:   Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
** Bad device specification 0x82000000 uEnv **
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3977744 bytes read in 804 ms (4.7 MiB/s)
55686 bytes read in 34 ms (1.6 MiB/s)
Booting from mmc0 ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffef000, end 8ffff985 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.59-rt23-g273202a0d3 (root@lap000255) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #66 PREEMPT RT Tu8
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: TI AM437x GP EVM
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    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] AM437x ES1.2 (sgx 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/mmcblk0p2 rw
[    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: 976136K/1048576K available (8192K kernel code, 331K rwdata, 2644K rodata, 1024K init, 354K bss, 23288K 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 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0d52da0   ( 332 kB)
[    0.000000]        .bss : 0xc0d52da0 - 0xc0dab780   ( 355 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU kthread priority: 1.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[    0.000000] 1 number of clocks
[    0.000000] omap2_clk_enable_init_clocks function is called
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000023] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000029] OMAP clocksource: timer1 at 24000000 Hz
[    0.000149] sched_clock: 64 bits at 500MHz, resolution 2ns, wraps every 4398046511103ns
[    0.000158] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[    0.000174] Switching to timer-based delay loop, resolution 2ns
[    0.000545] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000548] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000955] Console: colour dummy device 80x30
[    0.001089] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001091] This ensures that you still see kernel messages. Please
[    0.001092] update your kernel commandline.
[    0.001114] Calibrating delay loop (skipped), value calculated using timer frequency.. 1000.00 BogoMIPS (lpj=5000000)
[    0.001119] pid_max: default: 32768 minimum: 301
[    0.001236] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001241] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002104] CPU: Testing write buffer coherency: ok
[    0.002414] Setting up static identity map for 0x80100000 - 0x80100060
[    0.003423] EFI services will not be available.
[    0.004207] devtmpfs: initialized
[    0.017224] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.017539] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.017565] futex hash table entries: 256 (order: 1, 8192 bytes)
[    0.021001] pinctrl core: initialized pinctrl subsystem
[    0.022203] NET: Registered protocol family 16
[    0.023647] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.094623] OMAP GPIO hardware version 0.1
[    0.095330] GPIO line 61 (PRU_UART) hogged as output/high
[    0.101614] GPIO line 135 (Backlight) hogged as output/high
[    0.103576] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/display_mux_pins,e
[    0.111649] No ATAGs?
[    0.111675] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.111686] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.126520] edma 49000000.edma: TI EDMA DMA engine driver
[    0.130585] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferrine
[    0.130641] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins, deferrine
[    0.130773] media: Linux media interface: v0.10
[    0.130832] Linux video capture interface: v2.00
[    0.130872] pps_core: LinuxPPS API ver. 1 registered
[    0.130880] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.130902] PTP clock support registered
[    0.130941] EDAC MC: Ver: 3.0.0
[    0.131846] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.132192] Advanced Linux Sound Architecture Driver Initialized.
[    0.133764] clocksource: Switched to clocksource arm_global_timer
[    0.142739] NET: Registered protocol family 2
[    0.143460] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.143546] TCP bind hash table entries: 8192 (order: 5, 196608 bytes)
[    0.144110] TCP: Hash tables configured (established 8192 bind 8192)
[    0.144298] UDP hash table entries: 512 (order: 3, 32768 bytes)
[    0.144419] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[    0.144826] NET: Registered protocol family 1
[    0.145332] RPC: Registered named UNIX socket transport module.
[    0.145346] RPC: Registered udp transport module.
[    0.145351] RPC: Registered tcp transport module.
[    0.145357] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.147800] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.153539] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.154516] NFS: Registering the id_resolver key type
[    0.154552] Key type id_resolver registered
[    0.154560] Key type id_legacy registered
[    0.154614] ntfs: driver 2.1.32 [Flags: R/O].
[    0.158396] bounce: pool size: 64 pages
[    0.158607] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.158621] io scheduler noop registered
[    0.158628] io scheduler deadline registered
[    0.158759] io scheduler cfq registered (default)
[    0.161833] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
[    0.165008] backlight supply power not found, using dummy regulator
[    0.216696] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.219029] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[    0.219746] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    0.925669] console [ttyS0] enabled
[    0.929671] omap8250 48022000.serial: No clock speed specified: using default: 48000000
[    0.938345] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    0.947512] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
[    0.956150] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 32, base_baud = 3000000) is a 8250
[    0.966697] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    0.973512] [drm] Initialized
[    0.977839] 4832a000.dss supply vdda_video not found, using dummy regulator
[    0.984988] OMAP DSS rev 2.0
[    0.988045] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
[    0.997070] display supply vcc not found, using dummy regulator
[    1.016616] brd: module loaded
[    1.026202] loop: module loaded
[    1.031840] spi spi1.0: not using DMA for McSPI (-19)
[    1.037268] m25p80 spi1.0: w25x20 (256 Kbytes)
[    1.041752] 1 ofpart partitions found on MTD device spi1.0
[    1.047263] Creating 1 MTD partitions on "spi1.0":
[    1.052082] 0x000000000000-0x000000040000 : "BootLoader"
[    1.059520] libphy: Fixed MDIO Bus: probed
[    1.133835] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.139971] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
[    1.147682] libphy: 4a101000.mdio: probed
[    1.151727] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[    1.161428] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI TLK10X 10/100 Mbps PHY
[    1.171900] cpsw 4a100000.ethernet: Detected MACID = 50:65:83:de:9d:e3
[    1.178601] cpsw 4a100000.ethernet: device node lookup for pps timer failed
[    1.185628] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.193681] cpsw 4a100000.ethernet: cpsw: Detected MACID = 50:65:83:de:9d:e5
[    1.202599] mousedev: PS/2 mouse device common for all mice
[    1.208753] i2c /dev entries driver
[    1.214187] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.334384] omap_hsmmc 47810000.mmc: RX DMA channel request failed
[    1.348232] NET: Registered protocol family 26
[    1.355914] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.362973] NET: Registered protocol family 10
[    1.368849] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.375652] NET: Registered protocol family 17
[    1.380206] Bridge firewalling registered
[    1.382408] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.385224] mmc0: new high speed SDHC card at address aaaa
[    1.394038] mmcblk0: mmc0:aaaa SL08G 7.40 GiB 
[    1.395743]  mmcblk0: p1 p2
[    1.407408] 8021q: 802.1Q VLAN Support v1.8
[    1.411664] Key type dns_resolver registered
[    1.416177] omap_voltage_late_init: Voltage driver support not added
[    1.429980] omapdrm omapdrm.0: DMM not available, disable DMM support
[    1.437145] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.443847] [drm] No driver support for vblank timestamp query.
[    1.512059] Console: switching to colour frame buffer device 100x30
[    1.535131] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    1.542628] GPIO line 168 (SelLCDorHDMI) hogged as output/high
[    1.548513] GPIO line 169 (PRU1_UART) hogged as output/high
[    1.554151] GPIO line 170 (WL_EN) hogged as output/high
[    1.559407] requesting hog GPIO WL_TXR_EN (chip gpio, offset 10) failed, -16
[    1.566500] gpiochip_add_data: GPIOs 160..191 (gpio) failed to register
[    1.573150] omap_gpio 48322000.gpio: Could not register gpio chip -16
[    1.579689] omap_gpio: probe of 48322000.gpio failed with error -16
[    1.632390] ov2659 0-0030: Sensor detection failed (3030, 0)
[    1.638194] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
[    1.676456] ov2659 1-0030: Sensor detection failed (3030, 0)
[    1.683085] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[    1.691255] asoc-simple-card sound0: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
[    1.710813] hctosys: unable to open rtc device (rtc0)
[    1.716596] ALSA device list:
[    1.719588]   #0: AM437x-GP-EVM
[    1.724942] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[    1.733876] random: fast init done
[    1.871716] mmc1: new high speed MMC card at address 0001
[    1.880013] mmcblk1: mmc1:0001 MMC04G 3.60 GiB 
[    1.886801] mmcblk1boot0: mmc1:0001 MMC04G partition 1 16.0 MiB
[    1.895139] mmcblk1boot1: mmc1:0001 MMC04G partition 2 16.0 MiB
[    1.906576]  mmcblk1: p1 p2 p3 p4
[    5.387314] EXT4-fs (mmcblk0p2): recovery complete
[    5.393929] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    5.402124] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    5.411665] devtmpfs: mounted
[    5.416511] Freeing unused kernel memory: 1024K
[    5.647353] systemd[1]: System time before build time, advancing clock.
[    5.676142] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
[    5.694829] systemd[1]: Detected architecture arm.

Welcome to Arago 2017.10!

[    5.735080] systemd[1]: Set hostname to <am437x-evm>.
[    6.205267] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    6.244365] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    6.274297] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    6.314195] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    6.344018] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    6.374144] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    6.404317] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on Process Core Dump Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Reached target Swap.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Created slice System Slice.
         Starting Create list of required st... nodes for the current kernel...
         Starting Setup Virtual Console...
         Starting Load Kernel Modules...
[    6.760007] cmemk: loading out-of-tree module taints kernel.
[    6.768337] CMEMK module: reference Linux version 4.9.59
         [    6.779828] no physical memory specified
Mounting Temporary Directory...[    6.788831] cmemk initialized

[    6.814263] cryptodev: driver 1.8 loaded.
         Starting Remount Root and Kernel File Systems...
[    6.861034] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
         Starting Journal Service...
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting POSIX Message Queue File System...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on udev Control Socket.
         Starting alignment.service...
[  OK  ] Reached target Paths.
         Mounting Debug File System...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Journal Service.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Setup Virtual Console.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started alignment.service.
         Starting udev Coldplug all Devices...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[    7.834673] systemd-journald[142]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
         Mounting /media/ram...
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[    9.474990] remoteproc remoteproc0: wkup_m3 is available
[  OK  ] Found device /dev/ttyS0.
[    9.558215] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[  OK  ] Started udev Coldplug all Devices.
[    9.633352] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[    9.752362] remoteproc remoteproc0: powering up wkup_m3
[  OK  ] Listening on D-Bus System Message Bus Socket.
[    9.852519] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224268
[  OK  ] Listening on dropbear.socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[    9.954799] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    9.954927] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[   10.077469] input: pixcir_tangoc as /devices/platform/44000000.ocp/4802a000.i2c/i2c-1/1-005c/input/input0
[  OK  ] Reached target Timers.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Login Service...
[  OK  ] Started D-Bus System Message Bus.
[   10.889277] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
[   11.043011] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
[   11.078866] omap-aes 53501000.aes: will run requests pump with realtime priority
[   11.205056] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
[   11.253943] omap-des 53701000.des: will run requests pump with realtime priority
         Starting Network Service...
[   11.359782] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
         Starting Avahi mDNS/DNS-SD Stack...
         Starting uim-sysfs.service...
         Starting Save/Restore Sound Card State...
         Starting Telephony service...
[  OK  ] Started System Logging Service.
         Starting Print notice about GPLv3 packages...
[   12.287941] net eth1: initializing cpsw version 1.15 (0)
[   12.293299] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[  OK  ] Started Kernel Logging Service.
[   12.514928] cpsw 4a100000.ethernet: ALE Table size 1024
[  OK  ] Started Network Service.
[  OK  ] Started Save/Restore Sound Card State.
[   12.674404] TI TLK10X 10/100 Mbps PHY 4a101000.mdio:01: attached PHY driver [TI TLK10X 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:01,)
[   12.868347] cpts ptp bc clkid 0
[   12.982176] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   13.038139] 8021q: adding VLAN 0 to HW filter on device eth1
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Telephony service.
[  OK  ] Started Login Service.
[  OK  ] Reached target Network.
[   13.347549] net eth0: initializing cpsw version 1.15 (0)
         Starting Lightning Fast Webserver With Light System Requirements...
[   13.546514] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:0)
         Starting Simple Network Management Protocol (SNMP) Daemon....
[   13.762753] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   13.768643] 8021q: adding VLAN 0 to HW filter on device eth0
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
         Starting Enable and configure wl18xx bluetooth stack...
         Starting Permit User Sessions...
         Starting Network Name Resolution...
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started Permit User Sessions.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight...htness of backlight:backlight...
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
         Starting Synchronize System and HW clocks...
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[  OK  ] Started Synchronize System and HW clocks.
[  OK  ] Reached target Sound Card.
[   17.089689] EXT4-fs (mmcblk1p3): mounting ext3 file system using the ext4 subsystem
[   17.099020] EXT4-fs (mmcblk1p2): mounting ext3 file system using the ext4 subsystem
[   17.186996] EXT4-fs (mmcblk1p2): recovery complete
[   17.187013] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[   17.405684] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   17.408742] NET: Registered protocol family 15
[   17.427738] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   17.434970] FAT-fs (mmcblk1p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   18.142482] EXT4-fs (mmcblk1p3): recovery complete
[   18.147763] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Started Enable and configure wl18xx bluetooth stack.
[  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
[   19.918987] Initializing XFRM netlink socket

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org am437x-evm ttyS0

Arago 2017.10 am437x-evm ttyS0

am437x-evm login: [   22.276876] random: crng init done
[   26.397945] ti-pruss 54400000.pruss: creating PRU cores and other child platform devices
[   26.503029] irq: no irq domain found for /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/intc@54420000 !
[   26.573469] irq: no irq domain found for /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/intc@54420000 !
[   26.738139] ti-pruss 54440000.pruss: creating PRU cores and other child platform devices
[   26.822315] irq: no irq domain found for /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/intc@54460000 !
[   26.846497] usbcore: registered new interface driver usbfs
[   26.864029] usbcore: registered new interface driver hub
[   26.864676] usbcore: registered new device driver usb
[   26.889518] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   26.889561] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[   26.892789] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
[   26.904068] xhci-hcd xhci-hcd.3.auto: irq 258, io mem 0x48390000
[   26.912057] hub 1-0:1.0: USB hub found
[   26.913872] hub 1-0:1.0: 1 port detected
[   26.915924] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   26.915946] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
[   26.921362] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   26.931355] hub 2-0:1.0: USB hub found
[   26.934045] hub 2-0:1.0: 1 port detected
[   26.939996] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[   26.940033] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3
[   26.940624] xhci-hcd xhci-hcd.4.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
[   26.969780] xhci-hcd xhci-hcd.4.auto: irq 259, io mem 0x483d0000
[   26.971526] hub 3-0:1.0: USB hub found
[   26.971995] hub 3-0:1.0: 1 port detected
[   26.973410] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[   26.973433] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4
[   26.974356] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   26.976415] hub 4-0:1.0: USB hub found
[   26.976477] hub 4-0:1.0: 1 port detected
[   28.015103] irq: no irq domain found for /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/intc@54460000 !
[   28.213705] remoteproc remoteproc1: 54434000.pru0 is available
[   28.222252] pru-rproc 54434000.pru0: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/pru@54434000 probed successfully
***************************************************************
**************************************************************[   28.332221] remoteproc remoteproc2: 54438000.pru1 is available
*
NOTICE: This file system contains the following GPLv3 packages:
        autoconf
        binutils
        cifs-utils
        cpp-symlinks
        cpp
        dosfstools
        g++-symlinks
        g++
        gawk-dev
        gawk
        gcc-symlinks
        gcc
        gdb
        gdbserver
        glmark2
        gstreamer1.0-libav
        hidapi
        libcairo-perf-utils
        libgmp10
        libidn11
        libmpc3
        libmpfr4
        libreadline-dev
        libreadline6
        m4-dev
        m4
        make
        nettle
        [   28.383494] pru-rproc 54438000.pru1: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/pru@54438000 probed successy
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[   28.442819] remoteproc remoteproc3: 54474000.pru0 is available
 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 [   28.468685] pru-rproc 54474000.pru0: PRU rproc node /ocp@44000000/pruss_soc_bus@5442y
should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
*******[   28.516405] remoteproc remoteproc4: 54478000.pru1 is available
********************************************************
******[   28.544082] pru-rproc 54478000.pru1: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/pru@54478000 probed successfuy
*********************************************************
[   28.993459] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org am437x-evm ttyS0

Arago 2017.10 am437x-evm ttyS0

am437x-evm login: root

^[[38;143Rroot@am437x-evm:~# ;143R
-sh: syntax error near unexpected token `;'
root@am437x-evm:~# 

Any help why mmc2 is not getting detected?? What i am missing??

   

  • If you check the am437x-gp-evm.dts file you would see that mmc3 dma channels are on the cross bar and need to be mapped.
    I don't see this on your .dts above and this is probably why dma channel allocation is failing for you.

    &mmc3 {
    status = "okay";
    /* these are on the crossbar and are outlined in the
    xbar-event-map element */
    dmas = <&edma_xbar 30 0 1>,
    <&edma_xbar 31 0 2>;
    dma-names = "tx", "rx";
    vmmc-supply = <&vmmcwl_fixed>;
    bus-width = <4>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mmc3_pins_default>;
    pinctrl-1 = <&mmc3_pins_sleep>;
    cap-power-off-card;
    keep-power-in-suspend;
    ti,non-removable;
    #address-cells = <1>;
    #size-cells = <0>;
    wlcore: wlcore@0 {
    compatible = "ti,wl1835";
    reg = <2>;
    interrupt-parent = <&gpio1>;
    interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
    };
    };

    BR,
    Eyal
  • Hi Eyal,

    I already tried that, but still the same errors. The SDIO interface is not getting initiallised. The updated mmc3 node looks like:

    &mmc3 {

           status = "okay";

           /* these are on the crossbar and are outlined in the

              xbar-event-map element */

           dmas = <&edma 32

                   &edma 33>;

           dma-names = "tx", "rx";

           vmmc-supply = <&vmmcwl_fixed>;

           bus-width = <4>;

           pinctrl-names = "default", "sleep";

           pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;

           pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>;

           broken-cd;

           disable-wp;

           cap-power-off-card;

           keep-power-in-suspend;

           ti,non-removable;

           #address-cells = <1>;

           #size-cells = <0>;

           wlcore: wlcore@0 {

                   compatible = "ti,wl1835";

                   reg = <2>;

                   interrupt-parent = <&gpio5>;

                   interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;

           };

    };

    &edma {

           ti,edma-xbar-event-map = /bits/ 16 <1 32

                                                                                       2 33>;

    };

           vmmcwl_fixed: fixedregulator-mmcwl {

                   compatible = "regulator-fixed";

                   regulator-name = "vmmcwl_fixed";

                   regulator-min-microvolt = <1800000>;

                   regulator-max-microvolt = <1800000>;

                   regulator-always-on;

                   enable-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>; /* (Wlan_TXR_EN)*/

                   gpio = <&gpio5 10 GPIO_ACTIVE_HIGH>;   /*(WL_EN)*/

                   startup-delay-us = <70000>;

                   enable-active-high;

           };

    NOTE: The same configuration is working with kernel 4.1 provided in linux-sdk 02.00.00.07.

    After this changes I am getting these errors:

    [    1.333856] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@47810000[0]'

    [    1.333862] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@47810000[0]'

    [    1.333867] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup

    [    1.333872] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed        

    [    1.333879] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp                                            

    [    1.333883] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup                                      

    [    1.333887] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@47810000[0]'

    [    1.333892] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@47810000[0]'

    [    1.333895] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup

    [    1.333900] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed        

    [    1.334089] OF: /ocp@44000000/mmc@47810000: could not get #dma-cells for /ocp@44000000/l4_wkup@44c00000/prcm@1f0000/clocks/gfx_fclk_clksel_ck@423c

    [    1.350321] omap_hsmmc 47810000.mmc: RX DMA channel request failed                                          

    [    1.381817] mmc0: host does not support reading read-only switch, assuming write-enable

    Still SDIO interface is not initialized. 

    warm regards,

    Vimal

  • Hi,

    I think you should change the dma settings as they are for the am437x-gp-evm for this 4.9.x kernel.

    Meaning:

    &mmc3 {

    status = "okay";

    /* these are on the crossbar and are outlined in the

    xbar-event-map element */

    dmas = <&edma_xbar 30 0 1>,

    <&edma_xbar 31 0 2>;

    dma-names = "tx", "rx";

    ...

    ...

    What you have seems like an older method for setting xbar dma channels that has been updated.

    BR,

    Eyal

  • Hi Eyal,

    Actually I did that before. With these changes also i am getting the same error:

    [ 1.350321] omap_hsmmc 47810000.mmc: RX DMA channel request failed

    Meanwhile I probed the WLAN_EN lines, It is not "HIGH", The voltage level is around 1.8, which is neither high nor low.
    I am also facing similar problem with another gpio also. It seems like pin-muxing configuration from dts is not working properly, something is resetting the values.

    I am not able to find out why this is happening, gpio is not also responding to sysfs changes.

    for example: I exported the gpio2_3 and tried to toggle the value but its not responding to the values written:

    root@am437x-evm:~# echo 67 > /sys/class/gpio/export
    root@am437x-evm:~# echo out > /sys/class/gpio/gpio67/direction
    root@am437x-evm:~#
    root@am437x-evm:~# echo 1 > /sys/class/gpio/gpio67/value
    root@am437x-evm:~# cat /sys/class/gpio/gpio67/value
    1
    root@am437x-evm:~# echo 0 > /sys/class/gpio/gpio67/value
    root@am437x-evm:~# cat /sys/class/gpio/gpio67/value
    0
    root@am437x-evm:~#

    The values are changing but its not affecting the gpio voltage level. The gpio is always HIGH.

    Any idea why this is happening, Why dts configuration for mux-mode is not working properly?
  • Hi Vimal,

    I suggest to concentrate first on this error. as this is fatal.

    [ 1.350321] omap_hsmmc 47810000.mmc: RX DMA channel request failed

    Nee to make sure that this channel is not assigned already for another peripheral that is enabled in your .dts file.
    As this is a crossbar mapping perhaps something new was added and you need to pick another channel number?

    BR,
    Eyal
  • Can you try with channels 32 and 33 instead of 30 and 31?:

    dmas = <&edma_xbar 32 0 1>,
    <&edma_xbar 33 0 2>;

    BR,
    Eyal
  • Hi Eyal,

    Thanks for looking into this, with the change you have suggested and some pin-muxing mode change now i am getting the mmc2 registered as SDIO device.

    Now wifi is also working.