summaryrefslogtreecommitdiff
path: root/arch/arm/dts/k3-am642-evm-u-boot.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/dts/k3-am642-evm-u-boot.dtsi')
-rw-r--r--arch/arm/dts/k3-am642-evm-u-boot.dtsi18
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;
};