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>
This commit is contained in:
Dinh Nguyen 2018-04-04 17:18:22 -05:00 committed by Marek Vasut
parent 2878942aa2
commit 67e4436e88
2 changed files with 16 additions and 0 deletions

View file

@ -14,6 +14,10 @@
aliases { aliases {
ethernet0 = &gmac0; ethernet0 = &gmac0;
ethernet1 = &gmac1; ethernet1 = &gmac1;
i2c0 = &i2c0;
i2c1 = &i2c1;
i2c2 = &i2c2;
i2c3 = &i2c3;
serial0 = &uart0; serial0 = &uart0;
serial1 = &uart1; serial1 = &uart1;
timer0 = &timer0; timer0 = &timer0;

View file

@ -56,6 +56,18 @@
status = "okay"; status = "okay";
}; };
&i2c0 {
status = "okay";
dxl345: adxl345@0 {
compatible = "adi,adxl345";
reg = <0x53>;
interrupt-parent = <&portc>;
interrupts = <3 2>;
};
};
&mmc0 { &mmc0 {
status = "okay"; status = "okay";
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;