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.

AM335X: Could not find pctldev for node error

Other Parts Discussed in Thread: TPS65217, AM3352

Dear TI e2e community

Am seeing the below messages in my kernel booting logs & didn't find any clues why am getting this messgagescould you please let me know why I'm seeing this messages & hope this could cause harm in future I hope, & could you please let me know the appropriate changes that needs to be done in order to resolve this messages

[    0.176822] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe
[    0.176846] platform 4802a000.i2c: Driver omap_i2c requests probe deferral

[    1.356671] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[    1.364638] ------------[ cut here ]------------
[    1.369560] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_device.c:888 omap_device_get_by_hwmod_name+0x94/0xb4()
[    1.380690] omap_device_get_by_hwmod_name: no omap_device for i2c1
[    1.387162] Modules linked in:
[    1.390376] CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.10-ti2013.12.01 #1
[    1.397668] Backtrace:
[    1.400258] [<c0017880>] (dump_backtrace+0x0/0x10c) from [<c0017a1c>] (show_stack+0x18/0x1c)
[    1.409097]  r6:c002f564 r5:00000009 r4:dd083e28 r3:00000000
[    1.415066] [<c0017a04>] (show_stack+0x0/0x1c) from [<c0539ea4>] (dump_stack+0x20/0x28)
[    1.423474] [<c0539e84>] (dump_stack+0x0/0x28) from [<c0046ca0>] (warn_slowpath_common+0x70/0x90)
[    1.432784] [<c0046c30>] (warn_slowpath_common+0x0/0x90) from [<c0046d64>] (warn_slowpath_fmt+0x38/0x40)
[    1.442730]  r8:c070a3fc r7:c0707410 r6:c0c22d94 r5:c07e6424 r4:c06643c0
[    1.449784] [<c0046d2c>] (warn_slowpath_fmt+0x0/0x40) from [<c002f564>] (omap_device_get_by_hwmod_name+0x94/0xb4)
[    1.460544]  r3:c0544cbc r2:c06609e0
[    1.464303] [<c002f4d0>] (omap_device_get_by_hwmod_name+0x0/0xb4) from [<c0716ec4>] (am33xx_pm_init+0x204/0x45c)
[    1.474971]  r4:00000000
[    1.477635] [<c0716cc0>] (am33xx_pm_init+0x0/0x45c) from [<c070fc00>] (am33xx_init_late+0x18/0x20)
[    1.487028]  r8:c070a3fc r7:c0707410 r6:c07e5340 r5:00000007 r4:c07592c4
[    1.494080] [<c070fbe8>] (am33xx_init_late+0x0/0x20) from [<c070a420>] (init_machine_late+0x24/0x30)
[    1.503664] [<c070a3fc>] (init_machine_late+0x0/0x30) from [<c00089ec>] (do_one_initcall+0xf4/0x154)
[    1.513259] [<c00088f8>] (do_one_initcall+0x0/0x154) from [<c0707b94>] (kernel_init_freeable+0xf0/0x1bc)
[    1.523208] [<c0707aa4>] (kernel_init_freeable+0x0/0x1bc) from [<c0534bc8>] (kernel_init+0x10/0xec)
[    1.532713] [<c0534bb8>] (kernel_init+0x0/0xec) from [<c00146f8>] (ret_from_fork+0x14/0x3c)
[    1.541470]  r4:00000000 r3:00000000
[    1.545239] ---[ end trace 2b64d1de1a8b9b28 ]---
[    1.550084] Error fetching I2C sleep/wake sequence

Kindly do the needful in resolving the above messages, as am trying to resolve this messages from many days but was unable to succeed

Many Thanks in advance

  • Hi,

    Could you post the processor you use and the Linux version please?

  • This is my dts file am using ti sdk 7 beaglebone black the below is the dts file & I have swapped I2C0 to I2C1 in beaglebone black

    /*
    * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License version 2 as
    * published by the Free Software Foundation.
    */

    / {
    model = "TI AM335x BeagleBone";
    compatible = "ti,am335x-bone", "ti,am33xx";

    cpus {
    cpu@0 {
    cpu0-supply = <&dcdc2_reg>;
    };
    };

    memory {
    device_type = "memory";
    reg = <0x80000000 0x10000000>; /* 256 MB */
    };

    am33xx_pinmux: pinmux@44e10800 {
    pinctrl-names = "default";
    pinctrl-0 = <&clkout2_pin>;

    user_leds_default: user_leds_default {
    pinctrl-single,pins = <
    0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
    0x58 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_a6.gpio1_22 */
    0x5c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */
    0x60 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_a8.gpio1_24 */


    /*ADDED BY SRINI*/
    #if 1
    0xa0 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data0.gpio2_6 D0/Away_LED */
    0xa4 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data1.gpio2_7 D1/Error_LED */
    0xa8 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data2.gpio2_8 D2/H/F_LED */
    0xac (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data3.gpio2_9 D3/Alarm_LED */
    0xb0 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data4.gpio2_10 D4/RGB1_Cnt0 */
    0xb4 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data5.gpio2_11 D5/RGB1_Cnt1 */
    0xb8 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data6.gpio2_12 D6/RGB1_Cnt2 */
    0xbc (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data7.gpio2_13 D7/RGB2_Cnt1 */

    #endif



    >;
    };

    user_leds_sleep: user_leds_sleep {
    pinctrl-single,pins = <
    0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
    0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */
    0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */
    0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a8.gpio1_24 */
    >;
    };
    #if 0 // NOT USED IN CUSTOM BOARD
    i2c0_pins: pinmux_i2c0_pins {
    pinctrl-single,pins = <
    0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
    0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
    >;
    };
    #endif
    /*ADDED BY SRINI*/
    i2c1_pins: pinmux_i2c1_pins {
    pinctrl-single,pins = <
    0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_d1.i2c1_sda */
    0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_cs0.i2c1_scl */
    >;
    };


    uart0_pins: pinmux_uart0_pins {
    pinctrl-single,pins = <
    0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
    0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
    >;
    };

    /*ADDED BY SRINI*/
    uart1_pins: pinmux_uart1_pins {
    pinctrl-single,pins = <
    0x180 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rxd.uart1_rxd */
    0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
    >;
    };
    #if 0 // NOT USED IN CUSTOM BOARD
    uart2_pins: pinmux_uart2_pins {
    pinctrl-single,pins = <
    0x150 (PIN_INPUT_PULLUP | MUX_MODE1) /* spi0_sclk.uart2_rxd */
    0x154 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* spi0_d0.uart2_txd */
    >;
    };

    uart3_pins: pinmux_uart3_pins {
    pinctrl-single,pins = <
    0x160 (PIN_INPUT_PULLUP | MUX_MODE1) /* spi0_cs1.uart3_rxd */
    0x164 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* ecap0_in_pwm0_out.uart3_txd */
    >;
    };
    #endif
    uart4_pins: pinmux_uart4_pins {
    pinctrl-single,pins = <
    0x70 (PIN_INPUT_PULLUP | MUX_MODE6) /* gpmc_wait0.uart4_rxd */
    0x74 (PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* gpmc_wpn.uart4_txd */
    >;
    };

    uart5_pins: pinmux_uart5_pins {
    pinctrl-single,pins = <
    0xC4 (PIN_INPUT_PULLUP | MUX_MODE4) /* lcd_data9.uart5_rxd */
    0xC0 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* lcd_data8.uart5_txd */
    >;
    };
    #if 1 // ADDED BY SRINI FOR AUDIO CODEC CONFIGURATION
    mcasp0_pins: mcasp0_pins {
    pinctrl-single,pins = <
    0x1ac (PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcasp0_ahclkx - MCLK */
    0x190 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcasp0_aclkx - BCK */
    0x194 (PIN_INPUT_PULLDOWN| MUX_MODE0) /* mcasp0_fsx - WS */
    0x198 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_axr0 - DATAO */
    0x1a8 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcasp0_axr1 - DATAI */

    >;
    };

    mcasp0_sleep_pins: mcasp0_sleep_pins {
    pinctrl-single,pins = <
    0x1ac (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x190 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x194 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x198 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x1a8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };
    #endif
    #if 1 // ADDED BY SRINI FOR PWM CAPTURE IN CUSTOM BOARD
    ecap1_pins_default: backlight1_pins {
    pinctrl-single,pins = <
    0x18c 0x3 /* ecap1_in_pwm1_out.i2c0_scl MODE3 */
    >;
    };

    ecap1_pins_sleep: ecap1_pins_sleep {
    pinctrl-single,pins = <
    0x18c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* ecap1_in_pwm1_out.i2c0_scl MODE3 */
    >;
    };


    ecap2_pins_default: backlight2_pins {
    pinctrl-single,pins = <
    0x188 0x3 /* ecap2_in_pwm2_out.i2c0_scl MODE3 */
    >;
    };

    ecap2_pins_sleep: ecap2_pins_sleep {
    pinctrl-single,pins = <
    0x188 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* ecap2_in_pwm2_out.i2c0_sda MODE3 */
    >;
    };

    #endif
    clkout2_pin: pinmux_clkout2_pin {
    pinctrl-single,pins = <
    0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */
    >;
    };

    cpsw_default: cpsw_default {
    pinctrl-single,pins = <
    /* Slave 1 */
    0x110 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxerr.mii1_rxerr */
    0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txen.mii1_txen */
    0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxdv.mii1_rxdv */
    0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd3.mii1_txd3 */
    0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd2.mii1_txd2 */
    0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd1.mii1_txd1 */
    0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd0.mii1_txd0 */
    0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_txclk.mii1_txclk */
    0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxclk.mii1_rxclk */
    0x134 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd3.mii1_rxd3 */
    0x138 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd2.mii1_rxd2 */
    0x13c (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd1.mii1_rxd1 */
    0x140 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd0.mii1_rxd0 */
    >;
    };

    cpsw_sleep: cpsw_sleep {
    pinctrl-single,pins = <
    /* Slave 1 reset value */
    0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };

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

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

    mmc1_pins_default: pinmux_mmc1_pins {
    pinctrl-single,pins = <
    0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
    0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
    0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
    0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
    0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
    0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
    0x1A0 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_aclkr.gpio3_18 */
    0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    >;
    };

    mmc1_pins_sleep: pinmux_mmc1_pins_sleep {
    pinctrl-single,pins = <
    0x0F0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x0F4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x0F8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x0FC (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x160 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };

    emmc_pins: pinmux_emmc_pins {
    pinctrl-single,pins = <
    0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
    0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
    0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
    0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
    0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
    0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
    0x10 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */
    0x14 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */
    0x18 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */
    0x1c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */
    >;
    };
    };

    ocp {
    uart0: serial@44e09000 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart0_pins>;

    status = "okay";
    };

    /*ADDED BY SRINI*/
    uart1: serial@48022000 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart1_pins>;

    status = "okay";
    };
    #if 0 // NOT USED IN CUSTOM BOARD
    uart2: serial@48024000 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart2_pins>;

    status = "okay";
    };

    uart3: serial@481a6000 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart3_pins>;

    status = "okay";
    };
    #endif
    uart4: serial@481a8000 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart4_pins>;

    status = "okay";
    };


    uart5: serial@481aa000 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart5_pins>;

    status = "okay";
    };


    musb: usb@47400000 {
    status = "okay";

    control@44e10000 {
    status = "okay";
    };

    usb-phy@47401300 {
    status = "okay";
    };

    usb-phy@47401b00 {
    status = "okay";
    };

    usb@47401000 {
    status = "okay";
    };

    usb@47401800 {
    status = "okay";
    dr_mode = "host";
    };

    dma-controller@07402000 {
    status = "okay";
    };
    };
    #if 1
    epwmss1: epwmss@48302000 {
    status = "okay";

    ecap1: ecap@48302100 {
    status = "okay";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&ecap1_pins_default>;
    pinctrl-1 = <&ecap1_pins_sleep>;
    };
    };

    epwmss2: epwmss@48304000 {
    status = "okay";

    ecap2: ecap@48304100 {
    status = "okay";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&ecap2_pins_default>;
    pinctrl-1 = <&ecap2_pins_sleep>;
    };
    };
    #endif
    i2c1: i2c@4802a000 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c1_pins>;
    status = "okay";
    clock-frequency = <400000>;
    #if 1
    /* Set OPP50 (0.95V) for VDD core */
    sleep-sequence = /bits/ 8 <
    0x02 0x24 0x0b 0x6d /* Password unlock 1 */
    0x02 0x24 0x10 0x02 /* Set DCDC3 to 0.95V */
    0x02 0x24 0x0b 0x6d /* Password unlock 2 */
    0x02 0x24 0x10 0x02 /* Set DCDC3 to 0.95V */
    0x02 0x24 0x0b 0x6c /* Password unlock 1 */
    0x02 0x24 0x11 0x86 /* Apply DCDC changes */
    0x02 0x24 0x0b 0x6c /* Password unlock 2 */
    0x02 0x24 0x11 0x86 /* Apply DCDC changes */
    >;

    /* Set OPP100 (1.10V) for VDD core */
    wake-sequence = /bits/ 8 <
    0x02 0x24 0x0b 0x6d /* Password unlock 1 */
    0x02 0x24 0x10 0x08 /* Set DCDC3 to 1.1V */
    0x02 0x24 0x0b 0x6d /* Password unlock 2 */
    0x02 0x24 0x10 0x08 /* Set DCDC3 to 1.1V */
    0x02 0x24 0x0b 0x6c /* Password unlock 1 */
    0x02 0x24 0x11 0x86 /* Apply DCDC changes */
    0x02 0x24 0x0b 0x6c /* Password unlock 2 */
    0x02 0x24 0x11 0x86 /* Apply DCDC changes */
    >;

    tps: tps@24 {
    reg = <0x24>;
    };

    #endif

    #if 1 // EEPROM USED IN CUSTOM BOARD
    eeprom: 24c64@50 {
    compatible = "at,24c64";
    pagesize = <32>;
    reg = <0x50>;
    };
    #endif
    };
    };

    uda134x: uda134x {
    compatible = "ti,uda134x";
    };

    sound {
    compatible = "ti,uda134x-audio-codec";
    ti,model = "AM335x-EVM";
    ti,audio-codecaudio-codec = <&uda134x>;
    ti,mcasp-controller = <&mcasp0>;
    ti,codec-clock-rate = <12000000>;
    ti,audio-routing =
    "ADC", "VINL1",
    "ADC", "VINR1",
    "VOUTL", "DAC",
    "VOUTR", "DAC";
    };


    leds {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&user_leds_default>;
    pinctrl-1 = <&user_leds_sleep>;

    compatible = "gpio-leds";

    led@2 {
    label = "beaglebone:green:heartbeat";
    gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "heartbeat";
    default-state = "off";
    };

    led@3 {
    label = "beaglebone:green:mmc0";
    gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "mmc0";
    default-state = "off";
    };

    led@4 {
    label = "beaglebone:green:usr2";
    gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "cpu0";
    default-state = "off";
    };

    led@5 {
    label = "beaglebone:green:usr3";
    gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "mmc1";
    default-state = "off";
    };
    };

    vmmcsd_fixed: fixedregulator@0 {
    compatible = "regulator-fixed";
    regulator-name = "vmmcsd_fixed";
    regulator-min-microvolt = <3300000>;
    regulator-max-microvolt = <3300000>;
    };
    #if 1
    backlight {
    compatible = "pwm-backlight";
    /* pwms = <&ecap1 0 50000 0>; */
    pwms = <&ecap2 0 50000 0>;
    brightness-levels = <0 51 53 56 62 75 101 152 255>;
    default-brightness-level = <8>;
    };

    backlight {
    compatible = "pwm-backlight";
    pwms = <&ecap1 0 50000 0>;
    /* pwms = <&ecap2 0 50000 0>; */
    brightness-levels = <0 51 53 56 62 75 101 152 255>;
    default-brightness-level = <8>;
    };
    #endif

    };

    &mcasp0 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mcasp0_pins>;
    pinctrl-1 = <&mcasp0_sleep_pins>;

    status = "okay";

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

    /include/ "tps65217.dtsi"

    &tps {
    regulators {
    dcdc1_reg: regulator@0 {
    regulator-always-on;
    };

    dcdc2_reg: regulator@1 {
    /* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
    regulator-name = "vdd_mpu";
    regulator-min-microvolt = <925000>;
    regulator-max-microvolt = <1378000>;
    regulator-boot-on;
    regulator-always-on;
    };

    dcdc3_reg: regulator@2 {
    /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    regulator-name = "vdd_core";
    regulator-min-microvolt = <925000>;
    regulator-max-microvolt = <1150000>;
    regulator-boot-on;
    regulator-always-on;
    };

    ldo1_reg: regulator@3 {
    regulator-always-on;
    };

    ldo2_reg: regulator@4 {
    regulator-always-on;
    };

    ldo3_reg: regulator@5 {
    regulator-always-on;
    };

    ldo4_reg: regulator@6 {
    regulator-always-on;
    };
    };
    };

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

    &mac {
    slaves = <1>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default>;
    pinctrl-1 = <&cpsw_sleep>;
    };

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

    &mmc1 {
    status = "okay";
    bus-width = <0x4>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mmc1_pins_default>;
    pinctrl-1 = <&mmc1_pins_sleep>;
    cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
    cd-inverted;
    };
  • Hi,
    I didn't see the closest } on the i2c1: i2c@4802a000 {. You break this bracket with #if 1 and #endif<br /> BR
    Ivan
  • Thanks Ivan for your quick replies

    I tried removing all #if 's & #endif's in the above dts file but still am seeing the above two messages,

    Could you please let me know if anything other than this needs to be done in resolving the above errors as early as possible as I have a release tomorrow
  • Hi Srini

    Did you ever resolve your i2c probe issue? I'm booting kernel 4.0 on am3352 and have the same error:

    [ 0.222687] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [ 0.222713] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral

    My DTS for i2c:

    i2c0_pins: pinmux_i2c0_pins {
    pinctrl-single,pins = <
    0x18c ( PIN_INPUT | MUX_MODE0 ) /* (C16) I2C0_SCL.I2C0_SCL */
    0x188 ( PIN_INPUT | MUX_MODE0 ) /* (C17) I2C0_SDA.I2C0_SDA */
    >;
    };

    i2c1_pins: pinmux_i2c1_pins {
    pinctrl-single,pins = <
    0x110 ( PIN_INPUT | MUX_MODE3 ) /* (J15) gmii1_rxer.I2C1_SCL */
    0x10c ( PIN_INPUT | MUX_MODE3 ) /* (H17) gmii1_crs.I2C1_SDA */
    >;
    };

    i2c2_pins: pinmux_i2c2_pins {
    pinctrl-single,pins = <
    0x17c ( PIN_INPUT | MUX_MODE3 ) /* (D17) uart1_rtsn.I2C2_SCL */
    0x178 ( PIN_INPUT | MUX_MODE3 ) /* (D18) uart1_ctsn.I2C2_SDA */
    >;
    };

    &i2c0 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c0_pins>;

    status = "okay";
    clock-frequency = <400000>;

    };
    &i2c1 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c1_pins>;

    status = "okay";
    clock-frequency = <100000>;

    };
    &i2c2 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c2_pins>;

    status = "okay";
    clock-frequency = <100000>;

    };

  • Hi Bruce,

    Still the issue hasn't resolved , awaiting for TI engineers inputs to resolve the issue

    Thanks,

    Srini

  • Well I guess after 6 months it's safe to conclude nobody is interested :( 

    Our errors are different in terms of bus instance  ( i2c0 and i2c1 ) 

    [    0.176822] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe
    [    0.176846] platform 4802a000.i2c: Driver omap_i2c requests probe deferral

    [ 0.222687] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [ 0.222713] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral

    And the wording "node" suggests this is a problem parsing the dtb. When I get a chance I'll try and strip back my dts files and includes down to bare minimum and then try just add i2c ... unless you've already tried that?

    When I look at some of the 1.5Ghz quad cores available now I wonder if am335x is worth any further efforts?

  • Just some explanation of what might have happened here.

    Jinri's board has the TPS connected to I2C1, Bruce's is connected to I2C0.

    The CPU device has a dependency cpu -> cpu0-supply -> vdd1_reg -> tps -> i2cX -> pinmux_i2cX.

    The CPU's pinmuxing "device" isn't ready while the CPU device itself is being setup.

    This message isn't critical. The "probe deferral" message is indicating that the device probe should be repeated later anyway.

    The pinmux for the I2C bus the TPS is connected to is probably already setup by the bootloader, so "pinmux_i2cX" could be removed from the DT as a workaround.

  • I have the same problem :

    map_gpio 44e07000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_default, deferring probe

    map-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpmc0_pins_default, deferring probe

    just want to know whether this problem is solved. any suggestion ?  thanks!

  • No the problem was not sloved, I left as it is , as it did not affect my fucntionality