diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2021-05-06 16:44:58 +0530 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2021-05-12 16:32:44 +0530 |
commit | 45b7a9fc08778b7063ce50301d3ccdd8a7c2a9b5 (patch) | |
tree | 352ca37b3fcd3cc09e2b787ab194ccf11044e7a3 /arch/arm/dts/k3-am642-evm-u-boot.dtsi | |
parent | e922b5a96370bc5766394dee941b6059d864f7c0 (diff) | |
download | u-boot-45b7a9fc08778b7063ce50301d3ccdd8a7c2a9b5.tar.gz |
arm: dts: am642-evm: Add I2C nodes
Add I2C nodes for AM64 and enable pinmux for i2c0 for reading eeprom data.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/dts/k3-am642-evm-u-boot.dtsi')
-rw-r--r-- | arch/arm/dts/k3-am642-evm-u-boot.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index 34e75ded13..6b0117a58a 100644 --- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi +++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi @@ -28,6 +28,24 @@ }; }; +&main_pmx0 { + u-boot,dm-spl; + main_i2c0_pins_default: main-i2c0-pins-default { + u-boot,dm-spl; + pinctrl-single,pins = < + AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */ + AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ + >; + }; +}; + +&main_i2c0 { + u-boot,dm-spl; + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c0_pins_default>; + clock-frequency = <400000>; +}; + &main_uart0 { u-boot,dm-spl; }; |