Skip to content

Commit 19c2138

Browse files
author
Dinh Nguyen
committed
ARM: socfpga: dts: enable USB and I2C on Arria10 SoCDK
On the Arria10 Devkit, the I2C bus has a serial EEPROM and an RTC hanging off it. Also, enable the USB node. Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
1 parent e7604ae commit 19c2138

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

arch/arm/boot/dts/socfpga_arria10_socdk.dtsi

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,33 @@
7070
status = "okay";
7171
};
7272

73+
&i2c1 {
74+
speed-mode = <0>;
75+
status = "okay";
76+
77+
/*
78+
* adjust the falling times to decrease the i2c frequency to 50Khz
79+
* because the LCD module does not work at the standard 100Khz
80+
*/
81+
i2c-sda-falling-time-ns = <6000>;
82+
i2c-scl-falling-time-ns = <6000>;
83+
84+
eeprom@51 {
85+
compatible = "atmel,24c32";
86+
reg = <0x51>;
87+
pagesize = <32>;
88+
};
89+
90+
rtc@68 {
91+
compatible = "dallas,ds1339";
92+
reg = <0x68>;
93+
};
94+
};
95+
7396
&uart1 {
7497
status = "okay";
7598
};
99+
100+
&usb0 {
101+
status = "okay";
102+
};

0 commit comments

Comments
 (0)