mirror of https://gitee.com/openkylin/linux.git
ARM: nomadik: push accelerometer down to boards
The two Nomadik variants have the accelerometer mounted on different I2C lines. Push the definition down to the top-level board DTS files to get things right. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
98badfd31c
commit
4f2f1f76dc
|
@ -83,6 +83,11 @@ ethernet@300 {
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c0 {
|
i2c0 {
|
||||||
|
lis3lv02dl@1d {
|
||||||
|
/* Accelerometer */
|
||||||
|
compatible = "st,lis3lv02dl-accel";
|
||||||
|
reg = <0x1d>;
|
||||||
|
};
|
||||||
stmpe0: stmpe2401@43 {
|
stmpe0: stmpe2401@43 {
|
||||||
compatible = "st,stmpe2401";
|
compatible = "st,stmpe2401";
|
||||||
reg = <0x43>;
|
reg = <0x43>;
|
||||||
|
|
|
@ -105,6 +105,14 @@ ethernet@300 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i2c1 {
|
||||||
|
lis3lv02dl@1d {
|
||||||
|
/* Accelerometer */
|
||||||
|
compatible = "st,lis3lv02dl-accel";
|
||||||
|
reg = <0x1d>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
/* GPIO I2C connected to the USB portions of the STw4811 only */
|
/* GPIO I2C connected to the USB portions of the STw4811 only */
|
||||||
gpio-i2c {
|
gpio-i2c {
|
||||||
compatible = "i2c-gpio";
|
compatible = "i2c-gpio";
|
||||||
|
|
|
@ -720,11 +720,6 @@ stw5095@1a {
|
||||||
compatible = "st,stw5095";
|
compatible = "st,stw5095";
|
||||||
reg = <0x1a>;
|
reg = <0x1a>;
|
||||||
};
|
};
|
||||||
lis3lv02dl@1d {
|
|
||||||
/* Accelerometer */
|
|
||||||
compatible = "st,lis3lv02dl-accel";
|
|
||||||
reg = <0x1d>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
amba {
|
amba {
|
||||||
|
|
Loading…
Reference in New Issue