REL 1.0
Page 19 of 59
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15M Android User Manual
2.4
BSP Miscellaneous Settings and Configurations
2.4.1
I2C device on the kernel Image
This chapter describes how to set up the I2C device in the device tree. Here, the mag3110 sensor is taken as
reference and it is connected inI2C2 bus.
Add the pinctrl for the I2C2 bus as mentioned below.
i2c2 {
pinctrl_i2c2_1: i2c2-q7 {
fsl,pins = <
MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
>;
};
};
Add the mag3110 audio codec information in I2C2 bus devices as mentioned below.
&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2_1>;
status = "okay";
mag3110@0e {
compatible = "fsl,mag3110";
reg = <0x0e>;
position = <2>;
};
};
2.4.2
UART
This section describes how to set up the flow control for UART in the device tree. Here, the UART5 is taken as
reference.
To enable Hardware Flow Control, add " uart-has-rtscts " property to the uart node in device tree as
mentioned below.
&uart5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart5_4>;
fsl,uart-has-rtscts;
status = "okay";
};
2.4.3
Default Linux boot logo
To Enable Default Linux Boot logo, deselect “Standard 224-color iWave logo” in make menuconfig and compile again.
Device Drivers --->
Graphics support --->
[*] Bootup logo --->
[ ] Standard 224-color iWave logo