diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2016-01-14 14:06:26 +0100 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2016-01-21 07:30:01 +0100 |
commit | 9d0826879e13e8139a7b169c2365225e848ff57e (patch) | |
tree | b98b0a2fdac16b1c8b22f0d4b527509ed6b02d60 /arch/arm/include/asm/arch-sunxi/i2c.h | |
parent | 904dfbfd67fbdf4562236efb3f0769ecfe7a7e58 (diff) | |
download | talos-obmc-uboot-9d0826879e13e8139a7b169c2365225e848ff57e.tar.gz talos-obmc-uboot-9d0826879e13e8139a7b169c2365225e848ff57e.zip |
sunxi: Add support for the I2C controller which is part of the PRCM
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
[hdegoede@redhat.com: Minor cleanups]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
applied with fixing 2 checkpatch warnings:
WARNING: please, no space before tabs
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/i2c.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/i2c.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/i2c.h b/arch/arm/include/asm/arch-sunxi/i2c.h index 561cd2be16..4dfd313f1a 100644 --- a/arch/arm/include/asm/arch-sunxi/i2c.h +++ b/arch/arm/include/asm/arch-sunxi/i2c.h @@ -23,6 +23,9 @@ #ifdef CONFIG_I2C4_ENABLE #define CONFIG_I2C_MVTWSI_BASE4 SUNXI_TWI4_BASE #endif +#ifdef CONFIG_R_I2C_ENABLE +#define CONFIG_I2C_MVTWSI_BASE5 SUNXI_R_TWI_BASE +#endif /* This is abp0-clk on sun4i/5i/7i / abp1-clk on sun6i/sun8i which is 24MHz */ #define CONFIG_SYS_TCLK 24000000 |