diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2021-01-11 21:11:38 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-01-25 21:52:00 +0000 |
commit | 57e7623776101ee7913997691e09436a393028d5 (patch) | |
tree | de30144f74739608f2d9ef7d5996cfa8f3627410 /arch/arm/include | |
parent | 807d94258c0ce469e291aa68bfb5af35f957ddc1 (diff) | |
download | u-boot-57e7623776101ee7913997691e09436a393028d5.tar.gz u-boot-57e7623776101ee7913997691e09436a393028d5.tar.xz u-boot-57e7623776101ee7913997691e09436a393028d5.zip |
sunxi: Add support for I2C on H6 like SoCs
I2C support, especially R_I2C port, will be needed in future. Upcoming
support for H616 will need R_I2C to adjust DRAM voltage.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h b/arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h index 426069fc69..e83e84ab6c 100644 --- a/arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h +++ b/arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h @@ -297,6 +297,7 @@ struct sunxi_ccm_reg { /* Module gate/reset shift*/ #define RESET_SHIFT (16) +#define GATE_SHIFT (0) /* DRAM clock bit field */ #define DRAM_MOD_RESET BIT(30) |