diff options
author | Dinh Nguyen <dinguyen@kernel.org> | 2018-04-04 17:18:22 -0500 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-04-17 11:39:49 +0200 |
commit | 67e4436e8856449a9ee27c44a09bf7d333caa95c (patch) | |
tree | 29106318f3640a4f02552c97a2ba6f6daeb4b53c /arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts | |
parent | 2878942aa22ae2effd128bb0ada9c81b25bb048b (diff) | |
download | u-boot-67e4436e8856449a9ee27c44a09bf7d333caa95c.tar.gz |
arm: dts: socfpga: enables i2c0 in socfpga_de0_nano
Add all the appropriate i2c alias in the base socfpga dtsi and enables
the i2c node on the DE0 NANO board.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts')
-rw-r--r-- | arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts b/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts index dc09bed901..5e7fe2aa5f 100644 --- a/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts +++ b/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts @@ -56,6 +56,18 @@ status = "okay"; }; +&i2c0 { + status = "okay"; + + dxl345: adxl345@0 { + compatible = "adi,adxl345"; + reg = <0x53>; + + interrupt-parent = <&portc>; + interrupts = <3 2>; + }; +}; + &mmc0 { status = "okay"; u-boot,dm-pre-reloc; |