diff options
author | Andreas Dannenberg <dannenberg@ti.com> | 2019-06-05 02:08:15 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-17 18:13:18 +0300 |
commit | 7e0363b285f357f78435bb42805e40b9c127f482 (patch) | |
tree | bcddd8d377d963485017a583a6df5e7e2e18a24e /arch/arm/dts/k3-am654-base-board.dts | |
parent | bbe59169ee9c4b333f4894808278afb362fc9082 (diff) | |
download | u-boot-7e0363b285f357f78435bb42805e40b9c127f482.tar.xz |
arm: dts: k3-am654-base-board: Enable wkup_i2c0 across all boot stages
To enable the use of an EEPROM-based board detection scheme we need to
be able to access the I2C bus associated with the EEPROMs across all
3 stages of U-Boot: R5 SPL, A53 SPL, and A53 U-Boot (proper). So go
ahead and add/update the wkup_i2c0 peripheral module DTS definitions
and its associated pinmux node accordingly.
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/dts/k3-am654-base-board.dts')
-rw-r--r-- | arch/arm/dts/k3-am654-base-board.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-am654-base-board.dts b/arch/arm/dts/k3-am654-base-board.dts index ab233916c6..248d60e89b 100644 --- a/arch/arm/dts/k3-am654-base-board.dts +++ b/arch/arm/dts/k3-am654-base-board.dts @@ -55,6 +55,15 @@ }; }; +&wkup_pmx0 { + wkup_i2c0_pins_default: wkup-i2c0-pins-default { + pinctrl-single,pins = < + AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */ + AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */ + >; + }; +}; + &sdhci0 { pinctrl-names = "default"; pinctrl-0 = <&main_mmc0_pins_default>; @@ -62,3 +71,9 @@ non-removable; ti,driver-strength-ohm = <50>; }; + +&wkup_i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&wkup_i2c0_pins_default>; + clock-frequency = <400000>; +}; |