提交 cff94887 编写于 作者: L Linus Walleij 提交者: Andy Gross

ARM: dts: add core I2C devices to the APQ8060 Dragonboard

The APQ8060 Dragonboard has an Atmel AT24c128 EEPROM and a
Wolfson Micro WM8903 codec connected to its GSBI8 I2C bus.
Add entries for these to the device tree. The interrupt line
from the WM8903 chip is not routed anywhere on this design
so it can not be used.
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Acked-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: NAndy Gross <andy.gross@linaro.org>
上级 55942072
...@@ -180,6 +180,19 @@ ...@@ -180,6 +180,19 @@
}; };
}; };
dragon_gsbi8_i2c_pins: gsbi8_i2c {
mux {
pins = "gpio64", "gpio65";
function = "gsbi8";
};
pinconf {
pins = "gpio64", "gpio65";
drive-strength = <16>;
/* These have external pull-up 2.2kOhm to 1.8V */
bias-disable;
};
};
dragon_gsbi12_i2c_pins: gsbi12_i2c { dragon_gsbi12_i2c_pins: gsbi12_i2c {
mux { mux {
pins = "gpio115", "gpio116"; pins = "gpio115", "gpio116";
...@@ -448,6 +461,42 @@ ...@@ -448,6 +461,42 @@
}; };
}; };
gsbi@19800000 {
status = "ok";
qcom,mode = <GSBI_PROT_I2C>;
i2c@19880000 {
status = "ok";
pinctrl-names = "default";
pinctrl-0 = <&dragon_gsbi8_i2c_pins>;
eeprom@52 {
/* A 16KiB Platform ID EEPROM on the CPU carrier board */
compatible = "atmel,24c128";
reg = <0x52>;
vcc-supply = <&pm8058_s3>;
pagesize = <64>;
};
wm8903: wm8903@1a {
/* This Woolfson Micro device has an unrouted interrupt line */
compatible = "wlf,wm8903";
reg = <0x1a>;
AVDD-supply = <&pm8058_l16>;
CPVDD-supply = <&pm8058_l16>;
DBVDD-supply = <&pm8058_s3>;
DCVDD-supply = <&pm8058_l0>;
gpio-controller;
#gpio-cells = <2>;
micdet-cfg = <0>;
micdet-delay = <100>;
gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
};
};
};
gsbi@19c00000 { gsbi@19c00000 {
status = "ok"; status = "ok";
qcom,mode = <GSBI_PROT_I2C_UART>; qcom,mode = <GSBI_PROT_I2C_UART>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册