diff options
author | Andrew Davis <afd@ti.com> | 2022-10-18 16:15:25 -0500 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2022-10-28 08:15:11 -0500 |
commit | a1541a08bbf9d02f842801261d0dd4505bcd29e0 (patch) | |
tree | 25438eccd0aaae09537717fc532a2a6ff4087b07 /arch/arm64/boot/dts/ti/k3-am625-sk.dts | |
parent | b5877d9b409cfd5667813e667cbc27192a0fb9ea (diff) |
arm64: dts: ti: k3-am62: Enable I2C nodes at the board level
I2C nodes defined in the top-level AM62x 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>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221018211533.21335-3-afd@ti.com
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am625-sk.dts')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am625-sk.dts | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts index 0c7b25213e97..c280d6c00412 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -293,21 +293,15 @@ status = "reserved"; }; -&mcu_i2c0 { - status = "disabled"; -}; - -&wkup_i2c0 { - status = "disabled"; -}; - &main_i2c0 { + status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; clock-frequency = <400000>; }; &main_i2c1 { + status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c1_pins_default>; clock-frequency = <400000>; @@ -340,14 +334,6 @@ }; }; -&main_i2c2 { - status = "disabled"; -}; - -&main_i2c3 { - status = "disabled"; -}; - &sdhci0 { pinctrl-names = "default"; pinctrl-0 = <&main_mmc0_pins_default>; |