diff options
author | Joachim Eastwood <manabian@gmail.com> | 2015-04-02 06:59:28 +0300 |
---|---|---|
committer | Joachim Eastwood <manabian@gmail.com> | 2015-09-30 23:49:00 +0300 |
commit | 7eef5587688c5e16204740b8ecf48a1c73632e23 (patch) | |
tree | b29df89dd03c01b0632e0532eca25613f745c376 | |
parent | 09d039971b993225e1677d3f5935adeec5e75fd2 (diff) | |
download | linux-7eef5587688c5e16204740b8ecf48a1c73632e23.tar.xz |
ARM: dts: lpc4357-ea4357: add i2c0 and devices
Add I2C0 and some of the I2C devices on the EA4357 dev kit.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
-rw-r--r-- | arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts index 4d2d74a064c4..391121d24daa 100644 --- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts +++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts @@ -332,6 +332,14 @@ }; }; + i2c0_pins: i2c0-pins { + i2c0_pins_cfg { + pins = "i2c0_scl", "i2c0_sda"; + function = "i2c0"; + input-enable; + }; + }; + sdmmc_pins: sdmmc-pins { sdmmc_clk_cfg { pins = "pc_0"; @@ -453,6 +461,23 @@ }; }; +&i2c0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins>; + clock-frequency = <400000>; + + lm75@48 { + compatible = "nxp,lm75"; + reg = <0x48>; + }; + + eeprom@57 { + compatible = "microchip,24c64"; + reg = <0x57>; + }; +}; + &emc { status = "okay"; pinctrl-names = "default"; |