public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] arm: dts: k3-am62p5: enable the wkup i2c bus
@ 2024-02-01  3:06 Bryan Brattlof
  2024-02-01  3:06 ` [PATCH v2 00/13] Introduce basic support for TI's AM62Px SoC family Bryan Brattlof
                   ` (13 more replies)
  0 siblings, 14 replies; 26+ messages in thread
From: Bryan Brattlof @ 2024-02-01  3:06 UTC (permalink / raw)
  To: Tom Rini, Vignesh Raghavendra, Hari Nagalla
  Cc: Lukasz Majewski, Sean Anderson, Jaehoon Chung, Simon Glass,
	Sumit Garg, Nishanth Menon, Andrew Davis, Neha Malcom Francis,
	UBoot Mailing List, Bryan Brattlof

The PMIC for the am62p5-sk is connected to the i2c bus on the wakeup
island. While we do not have a driver yet, enable it anyway so we can
begin development of the driver and characterization of the board.

Signed-off-by: Bryan Brattlof <bb@ti.com>
---
 arch/arm/dts/k3-am62p5-sk.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/dts/k3-am62p5-sk.dts b/arch/arm/dts/k3-am62p5-sk.dts
index 9e4479aa78886..77298d31a986f 100644
--- a/arch/arm/dts/k3-am62p5-sk.dts
+++ b/arch/arm/dts/k3-am62p5-sk.dts
@@ -790,6 +790,13 @@
 &mcu_pmx0 {
 	bootph-all;
 
+	wkup_i2c0_pins_default: wkup-i2c0-default-pins {
+		pinctrl-single,pins = <
+			AM62PX_MCU_IOPAD(0x04c, PIN_INPUT, 0)	/* (A13) WKUP_I2C0_SCL */
+			AM62PX_MCU_IOPAD(0x050, PIN_INPUT, 0)	/* (C11) WKUP_I2C0_SDA */
+		>;
+	};
+
 	wkup_uart0_pins_default: wkup-uart0-default-pins {
 		pinctrl-single,pins = <
 			AM62PX_MCU_IOPAD(0x02c, PIN_INPUT, 0)	/* (C7) WKUP_UART0_CTSn */
@@ -801,6 +808,13 @@
 	};
 };
 
+&wkup_i2c0 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&wkup_i2c0_pins_default>;
+	clock-frequency = <400000>;
+};
+
 &wkup_uart0 {
 	/* WKUP UART0 is used by DM firmware */
 	pinctrl-names = "default";

base-commit: b0d717b732ee28e446baf94522b3491e590f7fbb
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2024-02-02 17:12 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01  3:06 [PATCH] arm: dts: k3-am62p5: enable the wkup i2c bus Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 00/13] Introduce basic support for TI's AM62Px SoC family Bryan Brattlof
2024-02-02  8:03   ` Sumit Garg
2024-02-02 16:36     ` Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 01/13] soc: add info to identify the am62p " Bryan Brattlof
2024-02-01 14:41   ` Igor Opaniuk
2024-02-01  3:06 ` [PATCH v2 02/13] power: domain: ti: use IS_ENABLED macro Bryan Brattlof
2024-02-01 14:46   ` Igor Opaniuk
2024-02-01  3:06 ` [PATCH v2 03/13] arm: mach-k3: am62px: introduce clock and device files for wkup spl Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 04/13] ram: k3-ddrss: enable the am62ax's DDR controller for am62px Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 05/13] arm: mach-k3: invert logic for split DM firmware config Bryan Brattlof
2024-02-02 16:44   ` Andrew Davis
2024-02-02 17:12     ` Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 06/13] arch: mach-k3: introduce basic files to support the am62px SoC family Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 07/13] board: ti: introduce basic board files for the am62px family Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 08/13] firmware: ti_sci_static_data: add static DMA channel data Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 09/13] dma: ti: k3-udma: Add DMA PSIL mappings for AM62P and J722S Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 10/13] arm: dts: introduce am62p5 uboot dts files Bryan Brattlof
2024-02-02 15:53   ` Andrew Davis
2024-02-02 16:28     ` Bryan Brattlof
2024-02-02 16:36       ` Andrew Davis
2024-02-02 17:06         ` Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 11/13] Makefile: remove hardcoded device tree source directory Bryan Brattlof
2024-02-02  7:57   ` Sumit Garg
2024-02-01  3:06 ` [PATCH v2 12/13] configs: introduce configs needed for the am62px Bryan Brattlof
2024-02-01  3:06 ` [PATCH v2 13/13] doc: board: ti: introduce am62px documentation Bryan Brattlof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox