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.

How to enable i2c3 in AM335X-LINUX-PSP-04.06.00.03

Hi,

I want to enable i2c3 under AM335X-LINUX-PSP-04.06.00.03 linux kernel for my beaglebone Rev. A3 board. Unfortunately I could not get i2c3 successfully registered and finally I found i2c3 module was not initialised inside am33xx_hwmod_init().

Could someone give some guides/links for procedures on how to enable i2c3 in AM335X-LINUX-PSP-04.06.00.03?

---------------------------------------------------------------------------------------------

static __initdata struct omap_hwmod *am33xx_hwmods[] = {
    /* l3 class */
    &am33xx_l3_instr_hwmod,
    &am33xx_l3_main_hwmod,
    /* l3s class */
    &am33xx_l3slow_hwmod,
    /* l4hs class */
    &am33xx_l4_hs_hwmod,
    /* l4fw class */
    &am33xx_l4fw_hwmod,
    /* l4ls class */
    &am33xx_l4ls_hwmod,
    /* l4per class */
    &am33xx_l4per_hwmod,
    /* l4wkup class */
    &am33xx_l4wkup_hwmod,

    /* clkdiv32k class */
    &am33xx_clkdiv32k_hwmod,
    /* mpu class */
    &am33xx_mpu_hwmod,
    /* adc_tsc class */
    &am33xx_adc_tsc_hwmod,
    /* aes class */
    &am33xx_aes0_hwmod,
    /* cefuse class */
    &am33xx_cefuse_hwmod,
    /* control class */
    &am33xx_control_hwmod,
    /* dcan class */
    &am33xx_dcan0_hwmod,
    &am33xx_dcan1_hwmod,
    /* debugss class */
    &am33xx_debugss_hwmod,
    /* elm class */
    &am33xx_elm_hwmod,
    /* emif_fw class */
    &am33xx_emif_fw_hwmod,
    /* epwmss class */
    &am33xx_epwmss0_hwmod,
    &am33xx_epwmss1_hwmod,
    &am33xx_epwmss2_hwmod,
    /* gpio class */
    &am33xx_gpio0_hwmod,
    &am33xx_gpio1_hwmod,
    &am33xx_gpio2_hwmod,
    &am33xx_gpio3_hwmod,
    /* gpmc class */
    &am33xx_gpmc_hwmod,
    /* i2c class */
    &am33xx_i2c1_hwmod,
    &am33xx_i2c2_hwmod,
    /* icss class */
    &am33xx_icss_hwmod,
    /* ieee5000 class */
    &am33xx_ieee5000_hwmod,
    /* mcasp class */
    &am33xx_mcasp0_hwmod,
    /* mmc class */
    &am33xx_mmc0_hwmod,
    &am33xx_mmc1_hwmod,
    &am33xx_mmc2_hwmod,
    /* ocmcram class */
    &am33xx_ocmcram_hwmod,
    /* ocpwp class */
    &am33xx_ocpwp_hwmod,
    /* sha0 class */
    &am33xx_sha0_hwmod,
    /* smartreflex class */
    &am33xx_smartreflex0_hwmod,
    &am33xx_smartreflex1_hwmod,
    /* spi class */
    &am33xx_spi0_hwmod,
    &am33xx_spi1_hwmod,
    /* spinlock class */
    &am33xx_spinlock_hwmod,
    /* uart class */
    &am33xx_uart1_hwmod,
    &am33xx_uart2_hwmod,
    &am33xx_uart3_hwmod,
    &am33xx_uart4_hwmod,
    &am33xx_uart5_hwmod,
    &am33xx_uart6_hwmod,
    /* timer class */
    &am33xx_timer0_hwmod,
    &am33xx_timer1_hwmod,
    &am33xx_timer2_hwmod,
    &am33xx_timer3_hwmod,
    &am33xx_timer4_hwmod,
    &am33xx_timer5_hwmod,
    &am33xx_timer6_hwmod,
    &am33xx_timer7_hwmod,
    /* wkup_m3 class */
    &am33xx_wkup_m3_hwmod,
    /* wd_timer class */
    &am33xx_wd_timer1_hwmod,
    /* usbss hwmod */
    &am33xx_usbss_hwmod,
    /* cpgmac0 class */
    &am33xx_cpgmac0_hwmod,
    /* tptc class */
    &am33xx_tptc0_hwmod,
    &am33xx_tptc1_hwmod,
    &am33xx_tptc2_hwmod,
    /* tpcc class */
    &am33xx_tpcc_hwmod,
    /* LCDC class */
    &am33xx_lcdc_hwmod,
    /* gfx/sgx */
    &am33xx_gfx_hwmod,
    /* pruss/icss */
    &am33xx_pruss_hwmod,
    /* rtc */
    &am33xx_rtc_hwmod,
    NULL,
};