diff options
author | kiran.padwal@smartplayin.com <kiran.padwal@smartplayin.com> | 2014-09-17 06:30:25 -0400 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2014-09-17 18:24:20 -0400 |
commit | 8c3166f5d74b7936d29dc44f778e759c1b9fb43a (patch) | |
tree | 6f8803064d5bc42f1359c57c46ec03803c4ab26f /arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | |
parent | 0be5fef161151b8841d3e3d33d815695384a9451 (diff) |
ARM: DT: apq8064: Add i2c device nodes
This patch adds i2c pinctrl DT node for IFC6410 board. It also adds
necessary DT support for i2c eeprom which is present on IFC6410.
Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8064-ifc6410.dts')
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 27c7dfeec186..b396c8311b27 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | |||
@@ -5,6 +5,33 @@ | |||
5 | compatible = "qcom,apq8064-ifc6410", "qcom,apq8064"; | 5 | compatible = "qcom,apq8064-ifc6410", "qcom,apq8064"; |
6 | 6 | ||
7 | soc { | 7 | soc { |
8 | pinctrl@800000 { | ||
9 | i2c1_pins: i2c1 { | ||
10 | mux { | ||
11 | pins = "gpio20", "gpio21"; | ||
12 | function = "gsbi1"; | ||
13 | }; | ||
14 | }; | ||
15 | }; | ||
16 | |||
17 | gsbi@12440000 { | ||
18 | status = "okay"; | ||
19 | qcom,mode = <GSBI_PROT_I2C>; | ||
20 | |||
21 | i2c@12460000 { | ||
22 | status = "okay"; | ||
23 | clock-frequency = <200000>; | ||
24 | pinctrl-0 = <&i2c1_pins>; | ||
25 | pinctrl-names = "default"; | ||
26 | |||
27 | eeprom: eeprom@52 { | ||
28 | compatible = "atmel,24c128"; | ||
29 | reg = <0x52>; | ||
30 | pagesize = <32>; | ||
31 | }; | ||
32 | }; | ||
33 | }; | ||
34 | |||
8 | gsbi@16600000 { | 35 | gsbi@16600000 { |
9 | status = "ok"; | 36 | status = "ok"; |
10 | qcom,mode = <GSBI_PROT_I2C_UART>; | 37 | qcom,mode = <GSBI_PROT_I2C_UART>; |