REL 1.0
Page 24 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
2.4.2
I2C device
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 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.5
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