diff options
author | Keerthy J <j-keerthy@ti.com> | 2014-07-28 08:18:53 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-09-09 01:09:49 +0200 |
commit | 7e9711aacc25fa6728c0625e4cfe7a141201b676 (patch) | |
tree | 151fd7b5ccb629f16d9bda2dd3900bb6f6be867e /arch/arm/boot/dts/dra72-evm.dts | |
parent | Merge branch 'omap-for-v3.17/dt' into omap-for-v3.18/dt (diff) | |
download | linux-7e9711aacc25fa6728c0625e4cfe7a141201b676.tar.xz linux-7e9711aacc25fa6728c0625e4cfe7a141201b676.zip |
ARM: dts: dra72-evm: Enable I2C1 node
I2C1 bus is used for the following peripherals
P8 connector (MLB)
TLV320AIC3106 Audio codec
J15 LCD header
24WC256 eeprom
TMP102AIDRLT temperature sensor
PCF8575 GPIO expander
PCA9306 i2c voltage translator -> Goes to P9 for comm interface
P2 expansion connector
TPS65917 PMIC
The slowest speed of all the peripherals seems to be 400KHz.
Tested-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/dra72-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/dra72-evm.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index 514702348818..1e128627ff15 100644 --- a/arch/arm/boot/dts/dra72-evm.dts +++ b/arch/arm/boot/dts/dra72-evm.dts @@ -19,6 +19,22 @@ }; }; +&dra7_pmx_core { + i2c1_pins: pinmux_i2c1_pins { + pinctrl-single,pins = < + 0x400 (PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */ + 0x404 (PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */ + >; + }; +}; + +&i2c1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; + clock-frequency = <400000>; +}; + &uart1 { status = "okay"; }; |