summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-11-20 10:51:11 -0500
committerTom Rini <trini@konsulko.com>2017-11-20 10:51:11 -0500
commit56d5a10f3ade93f5065f9299cb06503dc4194365 (patch)
tree7837c7b7a3245f05571596c4fd144ef94a356782 /arch
parent29c49922561676854482f2133037c16f60fcfba8 (diff)
parent456efb512728a4cd6fe66871932c5384bec9b7c1 (diff)
Merge git://git.denx.de/u-boot-i2c
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-meson/gxbb.h1
-rw-r--r--arch/arm/include/asm/arch-meson/i2c.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-meson/gxbb.h b/arch/arm/include/asm/arch-meson/gxbb.h
index 74d5290340..95a6fe6998 100644
--- a/arch/arm/include/asm/arch-meson/gxbb.h
+++ b/arch/arm/include/asm/arch-meson/gxbb.h
@@ -47,6 +47,7 @@
#define GXBB_GCLK_MPEG_OTHER GXBB_HIU_ADDR(0x53)
#define GXBB_GCLK_MPEG_AO GXBB_HIU_ADDR(0x54)
+#define GXBB_GCLK_MPEG_0_I2C BIT(9)
#define GXBB_GCLK_MPEG_1_ETH BIT(3)
#endif /* __GXBB_H__ */
diff --git a/arch/arm/include/asm/arch-meson/i2c.h b/arch/arm/include/asm/arch-meson/i2c.h
new file mode 100644
index 0000000000..783bc3786f
--- /dev/null
+++ b/arch/arm/include/asm/arch-meson/i2c.h
@@ -0,0 +1,11 @@
+/*
+ * Copyright 2017 - Beniamino Galvani <b.galvani@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef _MESON_I2C_H_
+#define _MESON_I2C_H_
+
+#define MESON_I2C_CLK_RATE 167000000
+
+#endif