mirror of https://gitee.com/openkylin/linux.git
ARM: dts: db600c: add i2c support
This patch adds nodes required to enable 4 i2c buses on the board which are connected to various sensors and eeprom. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
2f29160fce
commit
d8aef8720c
|
@ -9,6 +9,10 @@ / {
|
||||||
aliases {
|
aliases {
|
||||||
serial0 = &gsbi7_serial;
|
serial0 = &gsbi7_serial;
|
||||||
serial1 = &gsbi1_serial;
|
serial1 = &gsbi1_serial;
|
||||||
|
i2c0 = &gsbi2_i2c;
|
||||||
|
i2c1 = &gsbi3_i2c;
|
||||||
|
i2c2 = &gsbi4_i2c;
|
||||||
|
i2c3 = &gsbi7_i2c;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
|
@ -141,6 +145,42 @@ serial@12450000 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gsbi@12480000 {
|
||||||
|
status = "okay";
|
||||||
|
qcom,mode = <GSBI_PROT_I2C>;
|
||||||
|
i2c@124a0000 {
|
||||||
|
/* On Low speed expansion and Sensors */
|
||||||
|
label = "LS-I2C0";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gsbi@16200000 {
|
||||||
|
status = "okay";
|
||||||
|
qcom,mode = <GSBI_PROT_I2C>;
|
||||||
|
i2c@16280000 {
|
||||||
|
/* On Low speed expansion */
|
||||||
|
status = "okay";
|
||||||
|
label = "LS-I2C1";
|
||||||
|
clock-frequency = <200000>;
|
||||||
|
eeprom@52 {
|
||||||
|
compatible = "atmel,24c128";
|
||||||
|
reg = <0x52>;
|
||||||
|
pagesize = <64>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gsbi@16300000 {
|
||||||
|
status = "okay";
|
||||||
|
qcom,mode = <GSBI_PROT_I2C>;
|
||||||
|
i2c@16380000 {
|
||||||
|
/* On High speed expansion */
|
||||||
|
label = "HS-CAM-I2C3";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
/* DEBUG UART */
|
/* DEBUG UART */
|
||||||
gsbi@16600000 {
|
gsbi@16600000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@ -151,6 +191,12 @@ serial@16640000 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&gsbi7_uart_2pins>;
|
pinctrl-0 = <&gsbi7_uart_2pins>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i2c@16680000 {
|
||||||
|
/* On High speed expansion */
|
||||||
|
status = "okay";
|
||||||
|
label = "HS-CAM-I2C2";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
|
Loading…
Reference in New Issue