summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2022-10-28 09:24:08 -0500
committerNishanth Menon <nm@ti.com>2022-11-03 21:46:00 -0500
commitc0a5ba87af56f073145dd026280454aec4a44db0 (patch)
treed6e52c6863ffede4bfa626ea9c33a2edf81fae20 /arch/arm64/boot/dts/ti/k3-am654-base-board.dts
parent65e8781ac90e74242ebb1a98bf415809e8387aaf (diff)
downloadlinux-c0a5ba87af56f073145dd026280454aec4a44db0.tar.gz
linux-c0a5ba87af56f073145dd026280454aec4a44db0.tar.bz2
linux-c0a5ba87af56f073145dd026280454aec4a44db0.zip
arm64: dts: ti: k3-am65: Enable I2C nodes at the board level
I2C nodes defined in the top-level AM65x SoC dtsi files are incomplete and will not be functional unless they are extended with pinmux information. As the pinmux is only known at the board integration level, these nodes should only be enabled when provided with this information. Disable the I2C nodes in the dtsi files and only enable the ones that are actually pinned out on a given board. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Tested-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Bryan Brattlof <bb@ti.com> Link: https://lore.kernel.org/r/20221028142417.10642-3-afd@ti.com
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am654-base-board.dts')
-rw-r--r--arch/arm64/boot/dts/ti/k3-am654-base-board.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
index 956e9bc946b5..991a8559b4c3 100644
--- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
@@ -284,6 +284,7 @@
};
&wkup_i2c0 {
+ status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&wkup_i2c0_pins_default>;
clock-frequency = <400000>;
@@ -302,7 +303,13 @@
};
};
+&mcu_i2c0 {
+ status = "okay";
+ /* Default pinmux */
+};
+
&main_i2c0 {
+ status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_i2c0_pins_default>;
clock-frequency = <400000>;
@@ -316,12 +323,14 @@
};
&main_i2c1 {
+ status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_i2c1_pins_default>;
clock-frequency = <400000>;
};
&main_i2c2 {
+ status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_i2c2_pins_default>;
clock-frequency = <400000>;