diff options
author | Ariel D'Alessandro <ariel@vanguardiasur.com.ar> | 2015-07-20 14:50:56 +0200 |
---|---|---|
committer | Joachim Eastwood <manabian@gmail.com> | 2015-09-30 22:49:03 +0200 |
commit | 67b17a116fa4662b91f982f51c45ce3d8519d2af (patch) | |
tree | 3155554490c2daf567c6f578a1278b8ec8e2a2a6 /arch/arm/boot/dts/lpc4350-hitex-eval.dts | |
parent | ARM: dts: lpc4350-hitex-eval: add spifi and flash device (diff) | |
download | linux-67b17a116fa4662b91f982f51c45ce3d8519d2af.tar.xz linux-67b17a116fa4662b91f982f51c45ce3d8519d2af.zip |
ARM: dts: lpc4350-hitex-eval: add i2c0 and devices
Add the I2C0 bus and the some of the I2C devices on the Hitex
LPC4350 eval board.
Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/lpc4350-hitex-eval.dts')
-rw-r--r-- | arch/arm/boot/dts/lpc4350-hitex-eval.dts | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc4350-hitex-eval.dts b/arch/arm/boot/dts/lpc4350-hitex-eval.dts index c1dd76e5fc45..5c529f45947b 100644 --- a/arch/arm/boot/dts/lpc4350-hitex-eval.dts +++ b/arch/arm/boot/dts/lpc4350-hitex-eval.dts @@ -186,6 +186,14 @@ }; }; + i2c0_pins: i2c0-pins { + i2c0_pins_cfg { + pins = "i2c0_scl", "i2c0_sda"; + function = "i2c0"; + input-enable; + }; + }; + spifi_pins: spifi-pins { spifi_clk_cfg { pins = "p3_3"; @@ -300,6 +308,31 @@ clock-frequency = <25000000>; }; +&i2c0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins>; + clock-frequency = <400000>; + + /* NXP SE97BTP with temperature sensor + eeprom */ + sensor@18 { + compatible = "nxp,jc42"; + reg = <0x18>; + }; + + eeprom@50 { + compatible = "nxp,24c02"; + reg = <0x50>; + }; + + pca_gpio: gpio@24 { + compatible = "nxp,pca9673"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; +}; + &mac { status = "okay"; phy-mode = "mii"; |