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.

KIM is not loaded in Jacinto6 Android EVM Platfrom with wilink1837

Other Parts Discussed in Thread: WL1837

Hi

I am trying to enable the bt wilink in Android Jacinto6 EVM Platform with wilink 1837.

I have modified the dra7-evm-common.dtsi file for uart3. Please find my modification as below.

&uart3 {
    pinctrl-names = "default";
    pinctrl-0 = <&spi2_pins_default>;
    status = "okay";
    fsl,uart-has-rtscts;

    /* bluetooth - TI WL1837 */
    kim {
        compatible = "kim";
        /*
         * FIXME: The following is complete CRAP since
         * the vendor driver doesn't follow the gpio
         * binding. Passing in a magic Linux gpio number
         * here until we fix the vendor driver.
         */
        /* BT_EN: GPIO_5-4_BT_EN */
        nshutdown_gpio = <164>;
        dev_name = "/dev/hci_tty";
        flow_cntrl = <1>;
        baud_rate = <115200>;
    };

    btwilink {
        compatible = "btwilink";
    };


    spi2_pins_default: spi2_pins_default {
        pinctrl-single,pins = <
            0x3C0 (PIN_INPUT_PULLUP  | MUX_MODE1) /* spi2_sclk.uart3_rxd */
            0x3C4 (PIN_OUTPUT | MUX_MODE1) /* spi2_d1.uart3_txd */
            0x3C8 (PIN_INPUT_PULLUP  | MUX_MODE1) /* spi2_d0.uart3_ctsn */
            0x3CC (PIN_OUTPUT | MUX_MODE1) /* spi2_cs0.uart3_rtsn */

        >;
    };

    spi2_iodelay_ds_uart3_conf: spi2_iodelay_ds_uart3_conf {
        pinctrl-single,pins = <
            0x8A0 (A_DELAY(561) | G_DELAY(0))    /* CFG_UART3_RXD_IN */
            0x8A4 (A_DELAY(0) | G_DELAY(0))        /* CFG_UART3_RXD_OEN */
            0x8A8 (A_DELAY(0) | G_DELAY(0))        /* CFG_UART3_RXD_OUT */
            0x8AC (A_DELAY(588) | G_DELAY(0))    /* CFG_UART3_TXD_IN */
            0x8B0 (A_DELAY(0) | G_DELAY(0))        /* CFG_UART3_TXD_OEN */
            0x8B4 (A_DELAY(0) | G_DELAY(0))        /* CFG_UART3_TXD_OUT */
        >;
    };
};

But after this modification kim is not getting loaded.

st_drv.ko module is inserted successfully

Any idea here to proceed further?

Best Regards,

Shareen Taj A