diff options
author | Kory Maincent <kory.maincent@bootlin.com> | 2021-05-04 19:31:29 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-05-13 13:09:09 -0400 |
commit | d705527a89ddbc30766b6ca9fe2eebf715a3ceda (patch) | |
tree | ca53d6048f8fb25d9365e0ec08bd4a474b82558c /arch/arm/mach-omap2 | |
parent | 77115a5526f0893f55041e217a1ce36bb1e596b1 (diff) | |
download | u-boot-d705527a89ddbc30766b6ca9fe2eebf715a3ceda.tar.gz |
arm: am335x: add support for i2c2 bus
The am335x from BeagleBone use i2c EEPROM to detect capes.
The memory is wired to i2c bus 2 therefore it need to be enabled.
Add i2c2 clock, pinmux description and pinmux enable function.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/am33xx/clock_am33xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/am33xx/clock_am33xx.c b/arch/arm/mach-omap2/am33xx/clock_am33xx.c index cf711923601..3a7ac602640 100644 --- a/arch/arm/mach-omap2/am33xx/clock_am33xx.c +++ b/arch/arm/mach-omap2/am33xx/clock_am33xx.c @@ -220,6 +220,7 @@ void enable_basic_clocks(void) &cmper->gpio2clkctrl, &cmper->gpio3clkctrl, &cmper->i2c1clkctrl, + &cmper->i2c2clkctrl, &cmper->cpgmac0clkctrl, &cmper->spi0clkctrl, &cmrtc->rtcclkctrl, |