summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorAaron Williams <awilliams@marvell.com>2021-04-07 09:12:40 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2021-04-23 21:23:30 +0200
commitb1d9554e058e5e8510a9d22183ae8321290ee87b (patch)
tree02726c5998b97188f73d3ba8ae2fd7e8db2b422f /arch/mips
parent7f0aa48d86bfde54131d8e5039e40fefb0f9462c (diff)
downloadu-boot-b1d9554e058e5e8510a9d22183ae8321290ee87b.tar.gz
u-boot-b1d9554e058e5e8510a9d22183ae8321290ee87b.tar.bz2
u-boot-b1d9554e058e5e8510a9d22183ae8321290ee87b.zip
mips: octeon: ebb7304: Add support for some I2C devices
This patch adds support for the following I2C devices connected to I2C bus 0 on the Octeon EBB7304: - Dallas DS1337 RTC - TLV EEPROM Signed-off-by: Aaron Williams <awilliams@marvell.com> Signed-off-by: Stefan Roese <sr@denx.de> Cc: Chandrakala Chavva <cchavva@marvell.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/mrvl,octeon-ebb7304.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/dts/mrvl,octeon-ebb7304.dts b/arch/mips/dts/mrvl,octeon-ebb7304.dts
index b95c18d344..fda559d862 100644
--- a/arch/mips/dts/mrvl,octeon-ebb7304.dts
+++ b/arch/mips/dts/mrvl,octeon-ebb7304.dts
@@ -115,6 +115,17 @@
&i2c0 {
u-boot,dm-pre-reloc; /* Needed early for DDR SPD EEPROM */
clock-frequency = <100000>;
+
+ rtc@68 {
+ compatible = "dallas,ds1337";
+ reg = <0x68>;
+ };
+
+ tlv-eeprom@56 {
+ compatible = "atmel,24c256", "microchip,24lc256";
+ reg = <0x56>;
+ pagesize = <64>;
+ };
};
&i2c1 {