Hi lian,
I am working on wilink8 (wl1835mod), and trying to configure bluetooth.
For that i do pin muxing and platform data initialization in dts file, bluetooth are connecting on uart5.. below are the my changes.
platform data:----
kim {
compatible = "kim";
nshutdown_gpio = <103>; /*gpio4_io07 */
dev_name = "/dev/ttymxc4"; /* at uart5 */
flow_control = <1>;
baud_rate = <3000000>;
};
btwilink {
compatible = "btwilink";
};
uart initialization :-
&uart5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart5_1>;
status = "okay";
};
pin muxing:-
uart5 {
pinctrl_uart5_1: uart5grp-1 {
fsl,pins = <
MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
MX6QDL_PAD_KEY_ROW4__UART5_CTS_B 0x1b0b1
MX6QDL_PAD_KEY_COL4__UART5_RTS_B 0x1b0b1
MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b1 /* bt enable pin */
>;
};
};
------------------------------------------------------------
bt enable pin is connected on gpio4_io07.
i also did changes in linux menuconfig and select the required config options.
But i am not geting kim node, after kernel boot.
when i am runnning uim, i am getting "uim:unable to open /sys/devices/platform/kim/install(No such file or directory).
Please give me some suggestion, and please verify that all the configuration are correct?
Alks