Hi everyone,
I'm working with TI SDK Linux 07.03.00.005 on ARM MPU AM4378 General Purpose EVM. I want to connect WLAN chip to MPU through MMC2 interface. After several failed attempts I decided to do some tests that MMC2 interface is working correctly. I simply connect SD card to EVM board to check card detection process. Unfortunately, after few days I'm standing still without progress.
For first I used Camera1 headers on EVM to connect SD card, so I reconfigured pinmux in *.dts file.
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ */ /* 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 = "CMs Controller"; compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; aliases { display0 = &lcd0; }; 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>; }; vmmcwl_fixed: fixedregulator-mmcwl { compatible = "regulator-fixed"; regulator-name = "vmmcwl_fixed"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; gpio = <&gpio1 20 GPIO_ACTIVE_HIGH>; enable-active-high; }; lcd_bl: backlight { compatible = "pwm-backlight"; pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>; brightness-levels = <0 51 53 56 62 75 101 152 255>; default-brightness-level = <8>; }; matrix_keypad: matrix_keypad0 { compatible = "gpio-matrix-keypad"; debounce-delay-ms = <5>; col-scan-delay-us = <2>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&matrix_keypad_default>; pinctrl-1 = <&matrix_keypad_sleep>; wakeup-source; row-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH /* Bank0, pin3 */ &gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */ &gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */ col-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */ &gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */ linux,keymap = <0x00000201 /* P1 */ 0x00010202 /* P2 */ 0x01000067 /* UP */ 0x0101006a /* RIGHT */ 0x02000069 /* LEFT */ 0x0201006c>; /* DOWN */ }; lcd0: display { compatible = "osddisplays,osd070t1718-19ts", "panel-dpi"; label = "lcd"; backlight = <&lcd_bl>; 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>; }; sound0: sound0 { compatible = "simple-audio-card"; simple-audio-card,name = "AM437x-GP-EVM"; simple-audio-card,widgets = "Headphone", "Headphone Jack", "Line", "Line In"; simple-audio-card,routing = "Headphone Jack", "HPLOUT", "Headphone Jack", "HPROUT", "LINE1L", "Line In", "LINE1R", "Line In"; 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>; }; }; beeper: beeper { compatible = "gpio-beeper"; pinctrl-names = "default"; pinctrl-0 = <&beeper_pins_default>; pinctrl-1 = <&beeper_pins_sleep>; gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>; }; /* */ wfx_pwrseq: wfx_pwrseq { compatible = "mmc-pwrseq-simple"; pinctrl-names = "default"; pinctrl-0 = <&wfx_reset>; reset-gpios = <&gpio4 8 GPIO_ACTIVE_LOW>; }; }; &am43xx_pinmux { pinctrl-names = "default"; pinctrl-0 = <&ddr3_vtt_toggle_default &unused_pins &debugss_pins>; ddr3_vtt_toggle_default: ddr_vtt_toggle_default { pinctrl-single,pins = < 0x25C (DS0_PULL_UP_DOWN_EN | PIN_OUTPUT_PULLUP | DS0_FORCE_OFF_MODE | MUX_MODE7) /* spi0_cs0.gpio5_7 */ >; }; 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(0x95c, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */ AM4372_IOPAD(0x958, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */ >; }; mmc1_pins: pinmux_mmc1_pins { pinctrl-single,pins = < AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ >; }; ecap0_pins: backlight_pins { pinctrl-single,pins = < AM4372_IOPAD(0x964, MUX_MODE0) /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */ >; }; pixcir_ts_pins: pixcir_ts_pins { pinctrl-single,pins = < AM4372_IOPAD(0xa64, PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */ >; }; 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 */ >; }; 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) >; }; 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) >; }; nand_flash_x8: nand_flash_x8 { pinctrl-single,pins = < AM4372_IOPAD(0x800, PIN_INPUT | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */ AM4372_IOPAD(0x804, PIN_INPUT | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */ AM4372_IOPAD(0x808, PIN_INPUT | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */ AM4372_IOPAD(0x80c, PIN_INPUT | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */ AM4372_IOPAD(0x810, PIN_INPUT | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */ AM4372_IOPAD(0x814, PIN_INPUT | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */ AM4372_IOPAD(0x818, PIN_INPUT | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */ AM4372_IOPAD(0x81c, PIN_INPUT | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */ AM4372_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */ AM4372_IOPAD(0x874, PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpmc_wpn */ AM4372_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */ AM4372_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */ AM4372_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */ AM4372_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */ AM4372_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */ >; }; 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) >; }; dcan0_default: dcan0_default_pins { pinctrl-single,pins = < AM4372_IOPAD(0x978, PIN_OUTPUT | MUX_MODE2) /* uart1_ctsn.d_can0_tx */ AM4372_IOPAD(0x97c, PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_rtsn.d_can0_rx */ >; }; dcan0_sleep: dcan0_sleep_pins { pinctrl-single,pins = < AM4372_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_ctsn.gpio0_12 */ AM4372_IOPAD(0x97c, PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_rtsn.gpio0_13 */ >; }; dcan1_default: dcan1_default_pins { pinctrl-single,pins = < AM4372_IOPAD(0x980, PIN_OUTPUT | MUX_MODE2) /* uart1_rxd.d_can1_tx */ AM4372_IOPAD(0x984, PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_txd.d_can1_rx */ >; }; dcan1_sleep: dcan1_sleep_pins { pinctrl-single,pins = < AM4372_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_rxd.gpio0_14 */ AM4372_IOPAD(0x984, PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_txd.gpio0_15 */ >; }; 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*/ >; }; /* MMC2 pinmux configuration for WFM200S module */ wfx_pins_default: pinmux_mmc3_pins_default { pinctrl-single,pins = < AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data2 mode 3*/ AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data3 mode 3*/ AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data4 mode 3*/ AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data5 mode 3*/ AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data6 mode 3*/ AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data7 mode 3*/ >; }; /* WFM200S Reset pin */ wfx_reset: pinmux_wfx_reset { pinctrl-single,pins = < AM4372_IOPAD(0x9d0, PIN_OUTPUT_PULLUP | MUX_MODE7) /* cam1_data8 mode 7*/ >; }; /* WFM200S WakeUp pin */ wfx_wakeup: pinmux_wfx_wakeup { pinctrl-single,pins = < AM4372_IOPAD(0x9cc, PIN_OUTPUT | MUX_MODE7) /* cam1_data9 mode 7*/ >; }; uart3_pins: uart3_pins { pinctrl-single,pins = < AM4372_IOPAD(0xa28, PIN_INPUT | MUX_MODE0) /* uart3_rxd.uart3_rxd */ AM4372_IOPAD(0xa2c, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_txd.uart3_txd */ AM4372_IOPAD(0xa30, PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_ctsn.uart3_ctsn */ AM4372_IOPAD(0xa34, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_rtsn.uart3_rtsn */ >; }; mcasp1_pins: mcasp1_pins { pinctrl-single,pins = < AM4372_IOPAD(0x908, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */ AM4372_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */ AM4372_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */ AM4372_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */ >; }; mcasp1_sleep_pins: mcasp1_sleep_pins { pinctrl-single,pins = < AM4372_IOPAD(0x908, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7) >; }; gpio0_pins: gpio0_pins { pinctrl-single,pins = < AM4372_IOPAD(0xa6c, PIN_OUTPUT | MUX_MODE9) /* spi2_cs0.gpio0_23 SEL_eMMCorNANDn */ >; }; 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 */ >; }; beeper_pins_default: beeper_pins_default { pinctrl-single,pins = < AM4372_IOPAD(0x9e0, PIN_OUTPUT_PULLUP | MUX_MODE7) /* cam1_field.gpio4_12 */ >; }; beeper_pins_sleep: beeper_pins_sleep { pinctrl-single,pins = < AM4372_IOPAD(0x9e0, PIN_INPUT_PULLDOWN | MUX_MODE7) /* cam1_field.gpio4_12 */ >; }; unused_pins: unused_pins { pinctrl-single,pins = < AM4372_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x858, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x950, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x990, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x994, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x998, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x99c, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x9a0, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0xa3c, PIN_INPUT | PULL_DISABLE | MUX_MODE7) AM4372_IOPAD(0xa40, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0xa44, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0xa48, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0xa4c, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0xa50, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0xa54, PIN_INPUT | PULL_DISABLE | MUX_MODE7) AM4372_IOPAD(0xa58, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0xa60, PIN_INPUT | PULL_DISABLE | MUX_MODE7) AM4372_IOPAD(0xa68, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0xa70, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0xa78, 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(0x968, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0) /* uart0_ctsn.uart0_ctsn */ AM4372_IOPAD(0x96C, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0) /* uart0_rtsn.uart0_rtsn */ 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(0x968, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* uart0_ctsn.uart0_ctsn */ AM4372_IOPAD(0x96C, DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* uart0_rtsn.uart0_rtsn */ 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 */ >; }; matrix_keypad_default: matrix_keypad_default { pinctrl-single,pins = < AM4372_IOPAD(0x9a4, PIN_OUTPUT | MUX_MODE7) AM4372_IOPAD(0x9a8, PIN_OUTPUT | MUX_MODE7) AM4372_IOPAD(0x9ac, PIN_INPUT | PULL_DISABLE | MUX_MODE9) AM4372_IOPAD(0x954, PIN_INPUT_PULLDOWN | MUX_MODE0) >; }; matrix_keypad_sleep: matrix_keypad_sleep { pinctrl-single,pins = < AM4372_IOPAD(0x9a4, PULL_UP | MUX_MODE7) AM4372_IOPAD(0x9a8, PULL_UP | MUX_MODE7) AM4372_IOPAD(0x9ac, PIN_INPUT | PULL_DISABLE | MUX_MODE9) AM4372_IOPAD(0x954, PIN_INPUT_PULLDOWN | MUX_MODE0) >; }; }; &uart0 { status = "okay"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart0_pins_default>; pinctrl-1 = <&uart0_pins_sleep>; }; &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_LEVEL_HIGH>; /* 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; }; }; }; &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 = <&gpio3 22 GPIO_ACTIVE_HIGH>; /* * 0x264 represents the offset of padconf register of * gpio3_22 from am43xx_pinmux base. */ interrupts-extended = <&gpio3 22 IRQ_TYPE_EDGE_FALLING>, <&am43xx_pinmux 0x264>; interrupt-names = "tsc", "wakeup"; touchscreen-size-x = <1024>; touchscreen-size-y = <600>; wakeup-source; }; ov2659@30 { compatible = "ovti,ov2659"; reg = <0x30>; clocks = <&refclk 0>; 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"; /* 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 */ }; }; &epwmss0 { status = "okay"; }; &tscadc { status = "okay"; adc { ti,adc-channels = <0 1 2 3 4 5 6 7>; }; }; &ecap0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&ecap0_pins>; }; &gpio0 { pinctrl-names = "default"; pinctrl-0 = <&gpio0_pins>; status = "okay"; p23 { gpio-hog; gpios = <23 GPIO_ACTIVE_HIGH>; /* SelEMMCorNAND selects between eMMC and NAND: * Low: NAND * High: eMMC * When changing this line make sure the newly * selected device node is enabled and the previously * selected device node is disabled. */ output-low; line-name = "SelEMMCorNAND"; }; }; &gpio1 { status = "okay"; }; &gpio3 { status = "okay"; }; &gpio4 { status = "okay"; }; &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"; }; }; /* MMC1 is for SDcard */ &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 = "disabled"; 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 */ dmas = <&edma_xbar 30 0 1>, <&edma_xbar 31 0 2>; dma-names = "tx", "rx"; mmc-pwrseq = <&wfx_pwrseq>; vmmc-supply = <&evm_v3_3d>; bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&wfx_pins_default>; //cap-power-off-card; //keep-power-in-suspend; //ti,non-removable; #address-cells = <1>; #size-cells = <0>; broken-cd; no-1-8-v; mmc@1 { compatible = "silabs,wf200"; reg = <1>; pinctrl-names = "default"; pinctrl-0 = <&wfx_wakeup>; wakeup-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; }; }; &uart3 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart3_pins>; }; &usb2_phy1 { status = "okay"; }; &usb1 { dr_mode = "otg"; status = "okay"; }; &usb2_phy2 { status = "okay"; }; &usb2 { dr_mode = "host"; status = "okay"; }; &mac { slaves = <1>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; status = "okay"; }; &davinci_mdio { pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; ethphy0: ethernet-phy@0 { reg = <0>; }; }; &cpsw_emac0 { phy-handle = <ðphy0>; phy-mode = "rgmii"; }; &elm { status = "okay"; }; &gpmc { /* * When enabling GPMC, disable eMMC and set * SelEMMCorNAND to output-low */ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&nand_flash_x8>; ranges = <0 0 0x08000000 0x01000000>; /* CS0 space. Min partition = 16MB */ nand@0,0 { compatible = "ti,omap2-nand"; reg = <0 0 4>; /* device IO registers */ interrupt-parent = <&gpmc>; interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ <1 IRQ_TYPE_NONE>; /* termcount */ rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ ti,nand-xfer-type = "prefetch-dma"; ti,nand-ecc-opt = "bch16"; ti,elm-id = <&elm>; nand-bus-width = <8>; gpmc,device-width = <1>; gpmc,sync-clk-ps = <0>; gpmc,cs-on-ns = <0>; gpmc,cs-rd-off-ns = <40>; gpmc,cs-wr-off-ns = <40>; gpmc,adv-on-ns = <0>; gpmc,adv-rd-off-ns = <25>; gpmc,adv-wr-off-ns = <25>; gpmc,we-on-ns = <0>; gpmc,we-off-ns = <20>; gpmc,oe-on-ns = <3>; gpmc,oe-off-ns = <30>; gpmc,access-ns = <30>; gpmc,rd-cycle-ns = <40>; gpmc,wr-cycle-ns = <40>; gpmc,bus-turnaround-ns = <0>; gpmc,cycle2cycle-delay-ns = <0>; gpmc,clk-activation-ns = <0>; gpmc,wr-access-ns = <40>; gpmc,wr-data-mux-bus-ns = <0>; /* MTD partition table */ /* All SPL-* partitions are sized to minimal length * which can be independently programmable. For * NAND flash this is equal to size of erase-block */ #address-cells = <1>; #size-cells = <1>; partition@0 { label = "NAND.SPL"; reg = <0x00000000 0x00040000>; }; partition@1 { label = "NAND.SPL.backup1"; reg = <0x00040000 0x00040000>; }; partition@2 { label = "NAND.SPL.backup2"; reg = <0x00080000 0x00040000>; }; partition@3 { label = "NAND.SPL.backup3"; reg = <0x000c0000 0x00040000>; }; partition@4 { label = "NAND.u-boot-spl-os"; reg = <0x00100000 0x00080000>; }; partition@5 { label = "NAND.u-boot"; reg = <0x00180000 0x00100000>; }; partition@6 { label = "NAND.u-boot-env"; reg = <0x00280000 0x00040000>; }; partition@7 { label = "NAND.u-boot-env.backup1"; reg = <0x002c0000 0x00040000>; }; partition@8 { label = "NAND.kernel"; reg = <0x00300000 0x00700000>; }; partition@9 { label = "NAND.file-system"; reg = <0x00a00000 0x1f600000>; }; }; }; &dss { status = "ok"; pinctrl-names = "default"; pinctrl-0 = <&dss_pins>; port { dpi_out: endpoint { remote-endpoint = <&lcd_in>; data-lines = <24>; }; }; }; &dcan0 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&dcan0_default>; pinctrl-1 = <&dcan0_sleep>; status = "okay"; }; &dcan1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&dcan1_default>; pinctrl-1 = <&dcan1_sleep>; status = "okay"; }; &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>; }; }; }; &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 */ 0 0 1 2 >; 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"; }; &pruss_tm { status = "okay"; };
The pinmux of MMC2 peripheral is configured here ( I checked AM437x datasheet to obtain mux mode and reference manual for padconf offset for each pin ):
wfx_pins_default: pinmux_mmc3_pins_default { pinctrl-single,pins = < AM4372_IOPAD(0x9f0, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data2 mode 3*/ AM4372_IOPAD(0x9f4, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data3 mode 3*/ AM4372_IOPAD(0x9f8, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data4 mode 3*/ AM4372_IOPAD(0x9fc, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data5 mode 3*/ AM4372_IOPAD(0xa00, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data6 mode 3*/ AM4372_IOPAD(0xa04, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data7 mode 3*/ >; };
MMC2_CLK - AD21 - MODE3 - cam1_data2 MMC2_CMD - AE22 - MODE3 - cam1_data3 MMC2_DAT0 - AD22 - MODE3 - cam1_data4 MMC2_DAT1 - AE23 - MODE3 - cam1_data5 MMC2_DAT2 - AD23 - MODE3 - cam1_data6 MMC2_DAT3 - AE24 - MODE3 - cam1_data7 RESET - AD24 - MODE7 - cam1_data8 WUP - AC24 - MODE7 - cam1_data9
I checked connection between SD card and EVM headers several times - and it still is OK. In addition after probing pins mmc2_clk and mmc2_dat on oscilloscope, I can see clock signal with 400kHz frequency and state changes on dat pin. But all attempts to probe SD card was failed.
dmesg shows no useful informations:
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.106-g023faefa70 (plszgor3@plszgor3-vm) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #3 PREEMPT Mon Sep 6 11:41:24 CEST 2021 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: CMs Controller [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0xfcc00000 [ 0.000000] On node 0 totalpages: 524287 [ 0.000000] Normal zone: 1728 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 196608 pages, LIFO batch:63 [ 0.000000] HighMem zone: 327679 pages, LIFO batch:63 [ 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, mobility grouping on. Total pages: 522559 [ 0.000000] Kernel command line: console=ttyO0,115200n8 video=HDMI-A-1:800x600 root=/dev/nfs nfsroot=10.0.0.1:/home/plszgor3/ti-processor-sdk-linux-am437x-evm-07.03.00.005/targetNFS,nolock,v3,tcp,rsize=4096,wsize=4096 rw ip=dhcp [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 2012156K/2097148K available (10240K kernel code, 663K rwdata, 3492K rodata, 1024K init, 264K bss, 35840K reserved, 49152K cma-reserved, 1261564K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] OMAP L2C310: ROM does not support power control setting [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000 [ 0.000000] random: get_random_bytes called from start_kernel+0x318/0x4e0 with crng_init=0 [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000039] OMAP clocksource: timer1 at 24000000 Hz [ 0.000488] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000498] OMAP clocksource: 32k_counter at 32768 Hz [ 0.001057] Console: colour dummy device 80x30 [ 0.001090] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.001095] This ensures that you still see kernel messages. Please [ 0.001099] update your kernel commandline. [ 0.001144] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896) [ 0.060187] pid_max: default: 32768 minimum: 301 [ 0.060389] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.060411] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.061289] CPU: Testing write buffer coherency: ok [ 0.061348] CPU0: Spectre v2: using BPIALL workaround [ 0.062217] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.062363] rcu: Hierarchical SRCU implementation. [ 0.062470] EFI services will not be available. [ 0.063131] devtmpfs: initialized [ 0.074730] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.075118] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.075141] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.078276] pinctrl core: initialized pinctrl subsystem [ 0.079043] DMI not present or invalid. [ 0.079501] NET: Registered protocol family 16 [ 0.081226] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.103220] cpuidle: using governor ladder [ 0.103253] cpuidle: using governor menu [ 0.122514] No ATAGs? [ 0.122534] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.122549] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.137970] debugfs: Directory '49000000.edma' with parent 'dmaengine' already present! [ 0.137999] edma 49000000.edma: TI EDMA DMA engine driver [ 0.138746] reg-fixed-voltage fixedregulator-v3_3d: GPIO lookup for consumer (null) [ 0.138756] reg-fixed-voltage fixedregulator-v3_3d: using device tree for GPIO lookup [ 0.138774] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-v3_3d[0]' [ 0.138785] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-v3_3d[0]' [ 0.138794] reg-fixed-voltage fixedregulator-v3_3d: using lookup tables for GPIO lookup [ 0.138800] reg-fixed-voltage fixedregulator-v3_3d: No GPIO consumer (null) found [ 0.139063] reg-fixed-voltage fixedregulator-vtt: GPIO lookup for consumer (null) [ 0.139071] reg-fixed-voltage fixedregulator-vtt: using device tree for GPIO lookup [ 0.139085] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-vtt[0]' [ 0.139107] reg-fixed-voltage fixedregulator-vtt: No GPIO consumer (null) found [ 0.139178] reg-fixed-voltage fixedregulator-mmcwl: GPIO lookup for consumer (null) [ 0.139184] reg-fixed-voltage fixedregulator-mmcwl: using device tree for GPIO lookup [ 0.139197] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-mmcwl[0]' [ 0.139214] reg-fixed-voltage fixedregulator-mmcwl: No GPIO consumer (null) found [ 0.140120] iommu: Default domain type: Translated [ 0.142725] SCSI subsystem initialized [ 0.143236] mc: Linux media interface: v0.10 [ 0.143284] videodev: Linux video capture interface: v2.00 [ 0.143389] pps_core: LinuxPPS API ver. 1 registered [ 0.143397] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.143415] PTP clock support registered [ 0.143445] EDAC MC: Ver: 3.0.0 [ 0.144573] Advanced Linux Sound Architecture Driver Initialized. [ 0.145720] clocksource: Switched to clocksource timer1 [ 0.559526] thermal_sys: Registered thermal governor 'fair_share' [ 0.559533] thermal_sys: Registered thermal governor 'bang_bang' [ 0.559547] thermal_sys: Registered thermal governor 'step_wise' [ 0.559552] thermal_sys: Registered thermal governor 'user_space' [ 0.559557] thermal_sys: Registered thermal governor 'power_allocator' [ 0.560232] NET: Registered protocol family 2 [ 0.560939] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.560969] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.561030] TCP bind hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.561102] TCP: Hash tables configured (established 8192 bind 8192) [ 0.561276] UDP hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.561301] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.561456] NET: Registered protocol family 1 [ 0.562029] RPC: Registered named UNIX socket transport module. [ 0.562040] RPC: Registered udp transport module. [ 0.562044] RPC: Registered tcp transport module. [ 0.562049] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.562062] PCI: CLS 0 bytes, default 64 [ 0.563934] Initialise system trusted keyrings [ 0.564239] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 0.568809] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.569556] NFS: Registering the id_resolver key type [ 0.569593] Key type id_resolver registered [ 0.569599] Key type id_legacy registered [ 0.569645] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.570333] Key type asymmetric registered [ 0.570345] Asymmetric key parser 'x509' registered [ 0.570393] bounce: pool size: 64 pages [ 0.570442] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 0.570452] io scheduler mq-deadline registered [ 0.570458] io scheduler kyber registered [ 0.597216] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0) [ 0.597307] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31) [ 0.597349] OMAP GPIO hardware version 0.1 [ 0.599605] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.616135] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1) [ 0.616217] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63) [ 0.621742] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2) [ 0.621837] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95) [ 0.622143] ti-sysc 48322000.target-module: dts flag should be at module level for ti,no-reset-on-init [ 0.633039] pinctrl-single 44e10800.pinmux: 199 pins, size 796 [ 0.637271] pwm-backlight backlight: GPIO lookup for consumer enable [ 0.637282] pwm-backlight backlight: using device tree for GPIO lookup [ 0.637303] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]' [ 0.637315] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]' [ 0.637325] pwm-backlight backlight: using lookup tables for GPIO lookup [ 0.637331] pwm-backlight backlight: No GPIO consumer enable found [ 0.637350] pwm-backlight backlight: backlight supply power not found, using dummy regulator [ 0.680077] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.683624] omap8250 44e09000.serial: No clock speed specified: using default: 48000000 [ 0.684415] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 67, base_baud = 3000000) is a 8250 [ 1.380764] printk: console [ttyS0] enabled [ 1.385793] omap8250 481a6000.serial: No clock speed specified: using default: 48000000 [ 1.394579] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 81, base_baud = 3000000) is a 8250 [ 1.406157] omap_rng 48310000.rng: Random Number Generator ver. 20 [ 1.413716] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator [ 1.423220] random: fast init done [ 1.426888] random: crng init done [ 1.436565] panel-simple display: display supply power not found, using dummy regulator [ 1.444707] panel-simple display: GPIO lookup for consumer enable [ 1.444714] panel-simple display: using device tree for GPIO lookup [ 1.444738] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display[0]' [ 1.444749] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display[0]' [ 1.444760] panel-simple display: using lookup tables for GPIO lookup [ 1.444766] panel-simple display: No GPIO consumer enable found [ 1.457651] brd: module loaded [ 1.470189] loop: module loaded [ 1.479051] mdio_bus fixed-0: GPIO lookup for consumer reset [ 1.479062] mdio_bus fixed-0: using lookup tables for GPIO lookup [ 1.479069] mdio_bus fixed-0: No GPIO consumer reset found [ 1.479089] libphy: Fixed MDIO Bus: probed [ 1.486881] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset [ 1.486892] mdio_bus 4a101000.mdio: using device tree for GPIO lookup [ 1.486913] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000[0]' [ 1.486927] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000[0]' [ 1.486937] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup [ 1.486943] mdio_bus 4a101000.mdio: No GPIO consumer reset found [ 1.545775] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 1.553477] libphy: 4a101000.mdio: probed [ 1.558348] mdio_bus 4a101000.mdio:00: GPIO lookup for consumer reset [ 1.558356] mdio_bus 4a101000.mdio:00: using device tree for GPIO lookup [ 1.558378] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000/ethernet-phy@0[0]' [ 1.558391] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000/ethernet-phy@0[0]' [ 1.558400] mdio_bus 4a101000.mdio:00: using lookup tables for GPIO lookup [ 1.558406] mdio_bus 4a101000.mdio:00: No GPIO consumer reset found [ 1.559189] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY [ 1.569118] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4 [ 1.575503] cpsw 4a100000.ethernet: ALE Table size 1024 [ 1.580905] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies) [ 1.588208] cpsw 4a100000.ethernet: Detected MACID = 68:9e:19:b8:52:d4 [ 1.596655] i2c /dev entries driver [ 1.602769] cpuidle: enable-method property 'ti,am4372' found operations [ 1.610149] pwrseq_simple wfx_pwrseq: GPIO lookup for consumer reset [ 1.610159] pwrseq_simple wfx_pwrseq: using device tree for GPIO lookup [ 1.610194] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/wfx_pwrseq[0]' - status (0) [ 1.610264] gpio gpiochip2: Persistence not supported for GPIO 8 [ 1.610794] sdhci: Secure Digital Host Controller Interface driver [ 1.617099] sdhci: Copyright(c) Pierre Ossman [ 1.622737] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 1.622745] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.622765] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]' [ 1.622778] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]' [ 1.622787] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 1.622793] omap_hsmmc 48060000.mmc: No GPIO consumer cd found [ 1.622800] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 1.622804] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.622816] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]' [ 1.622827] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@60000/mmc@0[0]' [ 1.622833] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 1.622838] omap_hsmmc 48060000.mmc: No GPIO consumer wp found [ 1.649066] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd [ 1.649076] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup [ 1.649097] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]' [ 1.649109] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]' [ 1.649118] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup [ 1.649124] omap_hsmmc 47810000.mmc: No GPIO consumer cd found [ 1.649130] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp [ 1.649134] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup [ 1.649145] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]' [ 1.649156] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/target-module@47810000/mmc@0[0]' [ 1.649162] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup [ 1.649167] omap_hsmmc 47810000.mmc: No GPIO consumer wp found [ 1.649195] omap_hsmmc 47810000.mmc: allocated mmc-pwrseq [ 1.678521] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.686138] ledtrig-cpu: registered to indicate activity on CPUs [ 1.696075] davinci-mcasp 4803c000.mcasp: IRQ common not found [ 1.702925] drop_monitor: Initializing network drop monitor service [ 1.710220] NET: Registered protocol family 10 [ 1.716060] Segment Routing with IPv6 [ 1.719902] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.726695] NET: Registered protocol family 17 [ 1.731678] Key type dns_resolver registered [ 1.736262] omap_voltage_late_init: Voltage driver support not added [ 1.742677] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.751409] Loading compiled-in X.509 certificates [ 1.763138] mmc0: new high speed SDHC card at address aaaa [ 1.776816] mmcblk0: mmc0:aaaa SS08G 7.40 GiB [ 1.783365] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 1.790181] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 1.796536] mmcblk0: p1 p2 [ 1.799577] gpiochip_find_base: found new base at 510 [ 1.799965] gpio gpiochip3: (omap-gpmc): added GPIO chardev (254:3) [ 1.800045] gpiochip_setup_dev: registered GPIOs 510 to 511 on device: gpiochip3 (omap-gpmc) [ 1.800986] omap2-nand 8000000.nand: GPIO lookup for consumer rb [ 1.800996] omap2-nand 8000000.nand: using device tree for GPIO lookup [ 1.801032] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp@44000000/gpmc@50000000/nand@0,0[0]' - status (0) [ 1.801208] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc [ 1.808428] nand: Micron MT29F4G08ABAEAWP [ 1.812465] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224 [ 1.820397] Using OMAP_ECC_BCH16_CODE_HW ECC scheme [ 1.825414] 10 fixed-partitions partitions found on MTD device omap2-nand.0 [ 1.832470] Creating 10 MTD partitions on "omap2-nand.0": [ 1.837927] 0x000000000000-0x000000040000 : "NAND.SPL" [ 1.844435] 0x000000040000-0x000000080000 : "NAND.SPL.backup1" [ 1.851583] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2" [ 1.858684] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3" [ 1.865784] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os" [ 1.873100] 0x000000180000-0x000000280000 : "NAND.u-boot" [ 1.879875] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env" [ 1.886974] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1" [ 1.894646] 0x000000300000-0x000000a00000 : "NAND.kernel" [ 1.902165] 0x000000a00000-0x000020000000 : "NAND.file-system" [ 1.921823] mmc1: error -110 whilst initialising SD card [ 1.978575] reg-fixed-voltage fixedregulator-vtt: GPIO lookup for consumer (null) [ 1.978586] reg-fixed-voltage fixedregulator-vtt: using device tree for GPIO lookup [ 1.978605] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-vtt[0]' [ 1.978632] reg-fixed-voltage fixedregulator-vtt: No GPIO consumer (null) found [ 1.979231] reg-fixed-voltage fixedregulator-mmcwl: GPIO lookup for consumer (null) [ 1.979240] reg-fixed-voltage fixedregulator-mmcwl: using device tree for GPIO lookup [ 1.979256] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-mmcwl[0]' [ 1.979282] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0) [ 1.979348] gpio gpiochip0: Persistence not supported for GPIO 20 [ 1.980015] gpio gpiochip4: Persistence not supported for GPIO 23 [ 1.980028] GPIO line 119 (SelEMMCorNAND) hogged as output/low [ 1.986213] gpio gpiochip4: (gpio-96-127): added GPIO chardev (254:4) [ 1.986304] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip4 (gpio-96-127) [ 2.030865] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz [ 2.038254] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz [ 2.044287] gpio gpiochip5: Persistence not supported for GPIO 8 [ 2.044298] GPIO line 136 (SelLCDorHDMI) hogged as output/high [ 2.050455] gpio gpiochip5: (gpio-128-159): added GPIO chardev (254:5) [ 2.050540] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip5 (gpio-128-159) [ 2.053700] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator [ 2.063205] DSS: OMAP DSS rev 2.0 [ 2.067625] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops) [ 2.075915] omapdrm omapdrm.0: DMM not available, disable DMM support [ 2.082685] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.089370] [drm] No driver support for vblank timestamp query. [ 2.158003] Console: switching to colour frame buffer device 100x30 [ 2.181090] omapdrm omapdrm.0: fb0: omapdrmdrmfb frame buffer device [ 2.188227] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0 [ 2.196930] reg-fixed-voltage fixedregulator-vtt: GPIO lookup for consumer (null) [ 2.196941] reg-fixed-voltage fixedregulator-vtt: using device tree for GPIO lookup [ 2.196962] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator-vtt[0]' [ 2.196993] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0) [ 2.197013] gpio gpiochip5: Persistence not supported for GPIO 7 [ 2.198115] hctosys: unable to open rtc device (rtc0) [ 2.204671] cpsw 4a100000.ethernet: initializing cpsw version 1.15 (0) [ 2.312239] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL) [ 3.182443] mmc1: error -110 whilst initialising SD card [ 4.462541] mmc1: error -110 whilst initialising SD card [ 5.742453] mmc1: error -110 whilst initialising SD card [ 6.486983] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 6.495851] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 6.525940] Sending DHCP requests ., OK [ 6.569765] IP-Config: Got DHCP answer from 10.0.0.1, my address is 10.0.0.22 [ 6.577050] IP-Config: Complete: [ 6.580318] device=eth0, hwaddr=68:9e:19:b8:52:d4, ipaddr=10.0.0.22, mask=255.0.0.0, gw=10.0.0.1 [ 6.589948] host=10.0.0.22, domain=example.org, nis-domain=(none) [ 6.596716] bootserver=10.0.0.1, rootserver=10.0.0.1, rootpath= [ 6.596728] nameserver0=10.0.0.1 [ 6.608224] ALSA device list: [ 6.611216] No soundcards found. [ 6.627270] VFS: Mounted root (nfs filesystem) on device 0:18. [ 6.633917] devtmpfs: mounted [ 6.639282] Freeing unused kernel memory: 1024K [ 6.646022] Run /sbin/init as init process [ 7.001574] systemd[1]: System time before build time, advancing clock. [ 7.024237] mmc1: error -110 whilst initialising SD card [ 7.044165] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid) [ 7.066673] systemd[1]: Detected architecture arm. [ 8.302512] mmc1: error -110 whilst initialising SD card [ 9.582580] mmc1: error -110 whilst initialising SD card [ 10.862444] mmc1: error -110 whilst initialising SD card [ 11.208487] systemd[1]: Set hostname to <am437x-evm>. [ 12.142969] mmc1: error -110 whilst initialising SD card [ 12.358618] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock \xe2\x86\x92 /run/docker.sock; please update the unit file accordingly. [ 12.692325] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 12.705137] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) [ 12.719606] systemd[1]: Created slice system-getty.slice. [ 12.759373] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 12.802168] systemd[1]: Created slice User and Session Slice. [ 12.836559] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 12.876966] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 12.917052] systemd[1]: Reached target Paths. [ 12.946222] systemd[1]: Reached target Remote File Systems. [ 12.986365] systemd[1]: Reached target Slices. [ 13.017145] systemd[1]: Reached target Swap. [ 13.062517] systemd[1]: Listening on Process Core Dump Socket. [ 13.096592] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 13.203070] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 13.214207] systemd[1]: Listening on Journal Socket (/dev/log). [ 13.258026] systemd[1]: Listening on Journal Socket. [ 13.300381] systemd[1]: Listening on Network Service Netlink Socket. [ 13.348155] systemd[1]: Listening on udev Control Socket. [ 13.386912] systemd[1]: Listening on udev Kernel Socket. [ 13.427715] systemd[1]: Condition check resulted in Huge Pages File System being skipped. [ 13.436393] mmc1: error -110 whilst initialising SD card [ 13.451820] systemd[1]: Mounting POSIX Message Queue File System... [ 13.502546] systemd[1]: Mounting Kernel Debug File System... [ 13.558366] systemd[1]: Mounting Temporary Directory (/tmp)... [ 13.592386] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 13.644353] systemd[1]: Starting Start psplash boot splash screen... [ 13.687086] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 13.718052] systemd[1]: Starting Journal Service... [ 13.783847] systemd[1]: Starting Load Kernel Modules... [ 13.832727] systemd[1]: Starting Remount Root and Kernel File Systems... [ 13.892635] systemd[1]: Starting udev Coldplug all Devices... [ 13.952355] systemd[1]: Started Start psplash boot splash screen. [ 13.977423] cryptodev: loading out-of-tree module taints kernel. [ 14.037856] systemd[1]: Mounted POSIX Message Queue File System. [ 14.057142] systemd[1]: Mounted Kernel Debug File System. [ 14.072526] cryptodev: driver 1.10 loaded. [ 14.097084] systemd[1]: Mounted Temporary Directory (/tmp). [ 14.119942] systemd[1]: Started Create list of static device nodes for the current kernel. [ 14.181608] systemd[1]: Started Load Kernel Modules. [ 14.229110] systemd[1]: Condition check resulted in FUSE Control File System being skipped. [ 14.269386] systemd[1]: Mounting Kernel Configuration File System... [ 14.312445] systemd[1]: Started Start psplash-systemd progress communication helper. [ 14.372887] systemd[1]: Starting Apply Kernel Variables... [ 14.436650] systemd[1]: Started Remount Root and Kernel File Systems. [ 14.452962] systemd[1]: Mounted Kernel Configuration File System. [ 14.490960] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. [ 14.513070] systemd[1]: Condition check resulted in Create System Users being skipped. [ 14.552630] systemd[1]: Starting Create Static Device Nodes in /dev... [ 14.616048] systemd[1]: Started Apply Kernel Variables. [ 14.712487] mmc1: error -110 whilst initialising SD card [ 14.735063] systemd[1]: Started Journal Service. [ 14.900708] systemd-journald[83]: Received client request to flush runtime journal. [ 15.982848] mmc1: error -110 whilst initialising SD card [ 17.266151] mmc1: error -110 whilst initialising SD card [ 17.802444] pvrsrvkm: disagrees about version of symbol module_layout [ 18.311501] pvrsrvkm: disagrees about version of symbol module_layout [ 18.341834] remoteproc remoteproc0: wkup_m3 is available [ 18.543279] mmc1: error -110 whilst initialising SD card [ 18.973204] pvrsrvkm: disagrees about version of symbol module_layout [ 19.830998] mmc1: error -110 whilst initialising SD card [ 21.102784] mmc1: error -110 whilst initialising SD card [ 21.813884] omap_rtc 44e3e000.rtc: already running [ 21.905576] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/tlv320aic3106@1b[0]' [ 21.905597] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/tlv320aic3106@1b[0]' [ 22.107117] omap_rtc 44e3e000.rtc: char device (252:0) [ 22.107146] omap_rtc 44e3e000.rtc: registered as rtc0 [ 22.382778] mmc1: error -110 whilst initialising SD card [ 22.741054] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 22.754545] pixcir_ts 1-005c: GPIO lookup for consumer attb [ 22.754558] pixcir_ts 1-005c: using device tree for GPIO lookup [ 22.775887] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/pixcir_ts@5c[0]' [ 22.775931] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/pixcir_ts@5c[0]' - status (0) [ 22.776012] gpio gpiochip1: Persistence not supported for GPIO 22 [ 22.776028] pixcir_ts 1-005c: GPIO lookup for consumer reset [ 22.776033] pixcir_ts 1-005c: using device tree for GPIO lookup [ 22.776049] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/pixcir_ts@5c[0]' [ 22.776061] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/pixcir_ts@5c[0]' [ 22.776070] pixcir_ts 1-005c: using lookup tables for GPIO lookup [ 22.776076] pixcir_ts 1-005c: No GPIO consumer reset found [ 22.776080] pixcir_ts 1-005c: GPIO lookup for consumer wake [ 22.776084] pixcir_ts 1-005c: using device tree for GPIO lookup [ 22.776096] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/pixcir_ts@5c[0]' [ 22.776108] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/pixcir_ts@5c[0]' [ 22.776114] pixcir_ts 1-005c: using lookup tables for GPIO lookup [ 22.776119] pixcir_ts 1-005c: No GPIO consumer wake found [ 22.776123] pixcir_ts 1-005c: GPIO lookup for consumer enable [ 22.776127] pixcir_ts 1-005c: using device tree for GPIO lookup [ 22.776139] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/pixcir_ts@5c[0]' [ 22.776150] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/pixcir_ts@5c[0]' [ 22.776155] pixcir_ts 1-005c: using lookup tables for GPIO lookup [ 22.776159] pixcir_ts 1-005c: No GPIO consumer enable found [ 22.811429] remoteproc remoteproc0: powering up wkup_m3 [ 22.854650] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 243196 [ 22.867674] input: pixcir_tangoc as /devices/platform/44000000.ocp/48000000.interconnect/48000000.interconnect:segment@0/4802a000.target-module/4802a000.i2c/i2c-1/1-005c/input/input0 [ 22.885068] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 22.891692] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192 [ 22.910035] link-frequencies 0 value 70000000 [ 22.914487] ov2659 1-0030: GPIO lookup for consumer powerdown [ 22.914494] ov2659 1-0030: using device tree for GPIO lookup [ 22.914520] of_get_named_gpiod_flags: can't parse 'powerdown-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/ov2659@30[0]' [ 22.914534] of_get_named_gpiod_flags: can't parse 'powerdown-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/ov2659@30[0]' [ 22.914544] ov2659 1-0030: using lookup tables for GPIO lookup [ 22.914550] ov2659 1-0030: No GPIO consumer powerdown found [ 22.914555] ov2659 1-0030: GPIO lookup for consumer reset [ 22.914559] ov2659 1-0030: using device tree for GPIO lookup [ 22.914571] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/ov2659@30[0]' [ 22.914583] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i2c@0/ov2659@30[0]' [ 22.914589] ov2659 1-0030: using lookup tables for GPIO lookup [ 22.914594] ov2659 1-0030: No GPIO consumer reset found [ 22.989897] ov2659 1-0030: Found OV2656 sensor [ 23.169847] ov2659 1-0030: ov2659 1-0030 sensor driver registered !! [ 23.662764] mmc1: error -110 whilst initialising SD card [ 24.794433] CAN device driver interface [ 24.943392] mmc1: error -110 whilst initialising SD card [ 25.163570] c_can_platform 481cc000.can: c_can_platform device registered (regs=1067f355, irq=83) [ 25.403532] c_can_platform 481d0000.can: c_can_platform device registered (regs=52ba0666, irq=84) [ 26.222691] mmc1: error -110 whilst initialising SD card [ 26.647799] pvrsrvkm: disagrees about version of symbol module_layout [ 27.502819] mmc1: error -110 whilst initialising SD card [ 27.621173] omap-sham 53100000.sham: hw accel on OMAP rev 0.0 [ 27.772261] omap-des 53701000.des: OMAP DES hw accel rev: 0.33 [ 27.796298] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1 [ 27.902192] omap-aes 53501000.aes: will run requests pump with realtime priority [ 27.924116] omap-des 53701000.des: will run requests pump with realtime priority [ 28.783056] mmc1: error -110 whilst initialising SD card [ 30.062824] mmc1: error -110 whilst initialising SD card [ 30.840586] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[0]' - status (0) [ 30.840611] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[1]' - status (0) [ 30.840624] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[2]' - status (0) [ 30.840637] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[0]' - status (0) [ 30.840650] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[1]' - status (0) [ 30.841131] input: matrix_keypad0 as /devices/platform/matrix_keypad0/input/input1 [ 31.163708] PM: bootloader does not support rtc-only! [ 31.348341] mmc1: error -110 whilst initialising SD card [ 31.417932] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]' [ 31.417953] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]' [ 31.521961] asoc-simple-card sound0: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok [ 31.698013] asoc-simple-card sound0: ASoC: no DMI vendor name! [ 32.622798] mmc1: error -110 whilst initialising SD card [ 33.902730] mmc1: error -110 whilst initialising SD card [ 35.182611] mmc1: error -110 whilst initialising SD card [ 36.463895] mmc1: error -110 whilst initialising SD card [ 36.635883] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem [ 36.723914] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 36.965880] vmmcwl_fixed: disabling [ 37.742695] mmc1: error -110 whilst initialising SD card [ 39.022809] mmc1: error -110 whilst initialising SD card [ 39.203545] dwc3 48390000.usb: Failed to get clk 'ref': -2 [ 39.540372] OF: graph: no port node found in /ocp@44000000/interconnect@48000000/segment@300000/target-module@a8000/ocp2scp@0/phy@8000 [ 39.640233] remoteproc remoteproc1: 54434000.pru is available [ 39.809062] pru-rproc 54434000.pru: PRU rproc node /ocp@44000000/target-module@54400000/pruss@0/pru@34000 probed successfully [ 40.068349] dwc3 483d0000.usb: Failed to get clk 'ref': -2 [ 40.120205] remoteproc remoteproc2: 54438000.pru is available [ 40.215951] pru-rproc 54438000.pru: PRU rproc node /ocp@44000000/target-module@54400000/pruss@0/pru@38000 probed successfully [ 40.308086] mmc1: error -110 whilst initialising SD card [ 40.552329] remoteproc remoteproc3: 54474000.pru is available [ 40.719084] pru-rproc 54474000.pru: PRU rproc node /ocp@44000000/target-module@54400000/pruss@40000/pru@74000 probed successfully [ 40.921097] remoteproc remoteproc4: 54478000.pru is available [ 41.077814] pru-rproc 54478000.pru: PRU rproc node /ocp@44000000/target-module@54400000/pruss@40000/pru@78000 probed successfully [ 41.315386] usbcore: registered new interface driver usbfs [ 41.543884] usbcore: registered new interface driver hub [ 41.584440] mmc1: error -110 whilst initialising SD card [ 41.714461] usbcore: registered new device driver usb [ 42.441648] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [ 42.507128] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 1 [ 42.566952] xhci-hcd xhci-hcd.5.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010 [ 42.609225] xhci-hcd xhci-hcd.5.auto: irq 104, io mem 0x483d0000 [ 42.662851] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 42.711299] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 42.745483] usb usb1: Product: xHCI Host Controller [ 42.770640] usb usb1: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd [ 42.799090] usb usb1: SerialNumber: xhci-hcd.5.auto [ 42.835052] hub 1-0:1.0: USB hub found [ 42.857553] hub 1-0:1.0: 1 port detected [ 42.863465] mmc1: error -110 whilst initialising SD card [ 42.906237] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [ 42.911781] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 2 [ 42.980054] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed [ 43.014491] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 43.059354] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04 [ 43.081515] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 43.119964] usb usb2: Product: xHCI Host Controller [ 43.150922] usb usb2: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd [ 43.192820] usb usb2: SerialNumber: xhci-hcd.5.auto [ 43.235428] hub 2-0:1.0: USB hub found [ 43.248991] hub 2-0:1.0: 1 port detected [ 44.141746] mmc1: error -110 whilst initialising SD card [ 45.431770] mmc1: error -110 whilst initialising SD card [ 46.703733] mmc1: error -110 whilst initialising SD card [ 47.981198] mmc1: error -110 whilst initialising SD card [ 48.174380] overlayfs: filesystem on '/var/lib/docker/check-overlayfs-support592528676/upper' not supported as upperdir [ 48.267516] overlayfs: filesystem on '/var/lib/docker/check-overlayfs-support072372787/upper' not supported as upperdir [ 48.477948] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 48.498047] Bridge firewalling registered [ 49.262961] mmc1: error -110 whilst initialising SD card [ 49.888552] Initializing XFRM netlink socket [ 50.542873] mmc1: error -110 whilst initialising SD card [ 51.822642] mmc1: error -110 whilst initialising SD card [ 53.102924] mmc1: error -110 whilst initialising SD card
I enabled trace support in kernel to see whats going on:
echo 1 > /sys/kernel/debug/tracing/events/mmc/mmc_request_done/enable cat /sys/kernel/debug/tracing/trace_pipe <idle>-0 [000] d.h1 1944.751692: mmc_request_done: mmc1: end struct mmc_request[d34cbcde]: cmd_opcode=52 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered0 <idle>-0 [000] d.h1 1944.752125: mmc_request_done: mmc1: end struct mmc_request[d34cbcde]: cmd_opcode=52 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered0 <idle>-0 [000] d.h1 1944.753673: mmc_request_done: mmc1: end struct mmc_request[c3ab1609]: cmd_opcode=0 cmd_err=0 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 d0 <idle>-0 [000] d.h1 1944.756677: mmc_request_done: mmc1: end struct mmc_request[c3ab1609]: cmd_opcode=8 cmd_err=0 cmd_resp=0x1aa 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=00 <idle>-0 [000] d.h1 1944.757102: mmc_request_done: mmc1: end struct mmc_request[c6684edd]: cmd_opcode=5 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1944.757522: mmc_request_done: mmc1: end struct mmc_request[c6684edd]: cmd_opcode=5 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=2 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1944.757939: mmc_request_done: mmc1: end struct mmc_request[c6684edd]: cmd_opcode=5 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=1 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1944.758356: mmc_request_done: mmc1: end struct mmc_request[c6684edd]: cmd_opcode=5 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1944.758728: mmc_request_done: mmc1: end struct mmc_request[0ab9d253]: cmd_opcode=55 cmd_err=0 cmd_resp=0x400120 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfer0 <idle>-0 [000] d.h1 1944.759068: mmc_request_done: mmc1: end struct mmc_request[d34cbcde]: cmd_opcode=41 cmd_err=0 [ 1948.783016] mmc1: error -110 whilst initialising SD card cmd_resp=0xff8000 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 data_err=0 tag=0 can_retune=0 doing_retune=0 retune_now=0 need_retune=0 hold_retune=1 retune_period=0 <idle>-0 [000] d.h1 1944.760538: mmc_request_done: mmc1: end struct mmc_request[8fbaba62]: cmd_opcode=0 cmd_err=0 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 d0 <idle>-0 [000] d.h1 1944.763485: mmc_request_done: mmc1: end struct mmc_request[8fbaba62]: cmd_opcode=8 cmd_err=0 cmd_resp=0x1aa 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=00 <idle>-0 [000] d.h1 1944.763848: mmc_request_done: mmc1: end struct mmc_request[673f9c98]: cmd_opcode=55 cmd_err=0 cmd_resp=0x120 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1944.764208: mmc_request_done: mmc1: end struct mmc_request[1d16da7e]: cmd_opcode=41 cmd_err=0 cmd_resp=0xff8000 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfer0 <idle>-0 [000] d.h1 1944.776166: mmc_request_done: mmc1: end struct mmc_request[673f9c98]: cmd_opcode=55 cmd_err=0 cmd_resp=0x120 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1944.776528: mmc_request_done: mmc1: end struct mmc_request[1d16da7e]: cmd_opcode=41 cmd_err=0 cmd_resp=0xc0ff8000 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xf0 <idle>-0 [000] d.h1 1944.777110: mmc_request_done: mmc1: end struct mmc_request[6122a8bb]: cmd_opcode=2 cmd_err=0 cmd_resp=0x744a6055 0x53445531 0x202802dd 0x1e0138e5 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sb0 <idle>-0 [000] d.h1 1944.777486: mmc_request_done: mmc1: end struct mmc_request[7fa23674]: cmd_opcode=3 cmd_err=0 cmd_resp=0x59b40520 0x0 0x0 0x0 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfe0 <idle>-0 [000] d.h1 1944.778068: mmc_request_done: mmc1: end struct mmc_request[687b2258]: cmd_opcode=9 cmd_err=0 cmd_resp=0x400e0032 0x5b590000 0x3c1d7f80 0xa400063 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc0 <idle>-0 [000] d.h1 1944.778432: mmc_request_done: mmc1: end struct mmc_request[7fa23674]: cmd_opcode=7 cmd_err=0 cmd_resp=0x700 0x0 0x0 0x0 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=00 <idle>-0 [000] d.h1 1944.778792: mmc_request_done: mmc1: end struct mmc_request[5a137741]: cmd_opcode=55 cmd_err=0 cmd_resp=0x920 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1944.942946: mmc_request_done: mmc1: end struct mmc_request[43c58b1b]: cmd_opcode=51 cmd_err=0 cmd_resp=0x920 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1944.948880: mmc_request_done: mmc1: end struct mmc_request[f93e23d9]: cmd_opcode=1 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1946.031693: mmc_request_done: mmc1: end struct mmc_request[d34cbcde]: cmd_opcode=52 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered0 <idle>-0 [000] d.h1 1946.032126: mmc_request_done: mmc1: end struct mmc_request[d34cbcde]: cmd_opcode=52 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered0 <idle>-0 [000] d.h1 1946.033675: mmc_request_done: mmc1: end struct mmc_request[c3ab1609]: cmd_opcode=0 cmd_err=0 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 d0 <idle>-0 [000] d.h1 1946.036675: mmc_request_done: mmc1: end struct mmc_request[c3ab1609]: cmd_opcode=8 cmd_err=0 cmd_resp=0x1aa 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=00 <idle>-0 [000] d.h1 1946.037099: mmc_request_done: mmc1: end struct mmc_request[c6684edd]: cmd_opcode=5 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1946.037519: mmc_request_done: mmc1: end struct mmc_request[c6684edd]: cmd_opcode=5 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=2 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1946.037931: mmc_request_done: mmc1: end struct mmc_request[c6684edd]: cmd_opcode=5 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=1 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1946.038341: mmc_request_done: mmc1: end struct mmc_request[c6684edd]: cmd_opcode=5 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1946.038704: mmc_request_done: mmc1: end struct mmc_request[0ab9d253]: cmd_opcode=55 cmd_err=0 cmd_resp=0x400120 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfer0 <idle>-0 [000] d.h1 1946.039040: mmc_request_done: mmc1: end struct mmc_request[d34cbcde]: cmd_opcode=41 cmd_err=0 cmd_resp=0xff8000 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfer0 <idle>-0 [000] d.h1 1946.040510: mmc_request_done: mmc1: end struct mmc_request[8fbaba62]: cmd_opcode=0 cmd_err=0 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 d0 <idle>-0 [000] d.h1 1946.043457: mmc_request_done: mmc1: end struct mmc_request[8fbaba62]: cmd_opcode=8 cmd_err=0 cmd_resp=0x1aa 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=00 <idle>-0 [000] d.h1 1946.043825: mmc_request_done: mmc1: end struct mmc_request[673f9c98]: cmd_opcode=55 cmd_err=0 cmd_resp=0x120 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1946.044195: mmc_request_done: mmc1: end struct mmc_request[1d16da7e]: cmd_opcode=41 cmd_err=0 cmd_resp=0xff8000 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfer0 <idle>-0 [000] d.h1 1946.056794: mmc_request_done: mmc1: end struct mmc_request[673f9c98]: cmd_opcode=55 cmd_err=0 cmd_resp=0x120 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1946.057167: mmc_request_done: mmc1: end struct mmc_request[1d16da7e]: cmd_opcode=41 cmd_err=0 cmd_resp=0xc0ff8000 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xf0 <idle>-0 [000] d.h1 1946.057754: mmc_request_done: mmc1: end struct mmc_request[6122a8bb]: cmd_opcode=2 cmd_err=0 cmd_resp=0x744a6055 0x53445531 0x202802dd 0x1e0138e5 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sb0 <idle>-0 [000] d.h1 1946.058130: mmc_request_done: mmc1: end struct mmc_request[7fa23674]: cmd_opcode=3 cmd_err=0 cmd_resp=0x59b40520 0x0 0x0 0x0 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfe0 <idle>-0 [000] d.h1 1946.058712: mmc_request_done: mmc1: end struct mmc_request[687b2258]: cmd_opcode=9 cmd_err=0 cmd_resp=0x400e0032 0x5b590000 0x3c1d7f80 0xa400063 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc0 <idle>-0 [000] d.h1 1946.059075: mmc_request_done: mmc1: end struct mmc_request[7fa23674]: cmd_opcode=7 cmd_err=0 cmd_resp=0x700 0x0 0x0 0x0 cmd_retries=3 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=00 <idle>-0 [000] d.h1 1946.059437: mmc_request_done: mmc1: end struct mmc_request[5a137741]: cmd_opcode=55 cmd_err=0 cmd_resp=0x920 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop <idle>-0 [000] d.h1 1946.223589: mmc_request_done: mmc1: end struct mmc_request[43c58b1b]: cmd_opcode=51 cmd_err=0 cmd_resp=0x920 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1946.229484: mmc_request_done: mmc1: end struct mmc_request[f93e23d9]: cmd_opcode=1 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered=0 <idle>-0 [000] d.h1 1947.311679: mmc_request_done: mmc1: end struct mmc_request[d34cbcde]: cmd_opcode=52 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered0 <idle>-0 [000] d.h1 1947.312114: mmc_request_done: mmc1: end struct mmc_request[d34cbcde]: cmd_opcode=52 cmd_err=-110 cmd_resp=0x0 0x0 0x0 0x0 cmd_retries=0 stop_opcode=0 stop_err=0 stop_resp=0x0 0x0 0x0 0x0 stop_retries=0 sbc_opcode=0 sbc_err=0 sbc_resp=0x0 0x0 0x0 0x0 sbc_retries=0 bytes_xfered0
I checked many SD cards, on MMC0 interface it's always detected correctly - and I never see CMD1 on traces. Same SD card connected to MMC2 - gives error and CMD1 can be seen on traces.
I haven't any idea how to solve this problem. Can anyone help me to fix these errors?