public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Simon Glass <sjg@chromium.org>, Roger Quadros <rogerq@kernel.org>,
	Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
	Tom Rini <trini@konsulko.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
	Anand Gadiyar <gadiyar@ti.com>, Georgi Vlaev <g-vlaev@ti.com>,
	<u-boot@lists.denx.de>, "Neha Malcom Francis" <n-francis@ti.com>,
	Nikhil M Jain <n-jain1@ti.com>
Subject: [PATCH 06/23] arm: dts: k3-am642-sk: Add main_i2c0 and eeprom
Date: Fri, 14 Apr 2023 02:57:09 -0500	[thread overview]
Message-ID: <20230414075726.387461-7-nm@ti.com> (raw)
In-Reply-To: <20230414075726.387461-1-nm@ti.com>

Add missing main_i2c0 node and eeprom property.

This is a pending upstream kernel updates as of v6.3-rc6.

Signed-off-by: Nishanth Menon <nm@ti.com>
---
Sent to kernel.org https://lore.kernel.org/linux-devicetree/20230414073328.381336-1-nm@ti.com/

 arch/arm/dts/k3-am642-sk.dts | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/dts/k3-am642-sk.dts b/arch/arm/dts/k3-am642-sk.dts
index a0431ad374a5..5d16aa0d7596 100644
--- a/arch/arm/dts/k3-am642-sk.dts
+++ b/arch/arm/dts/k3-am642-sk.dts
@@ -262,6 +262,14 @@
 		>;
 	};
 
+	/* XXX: Kernel-Upstream: TODO: Upstream */
+	main_i2c0_pins_default: main-i2c0-pins-default {
+		pinctrl-single,pins = <
+			AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
+			AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
+		>;
+	};
+
 	main_i2c1_pins_default: main-i2c1-pins-default {
 		pinctrl-single,pins = <
 			AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */
@@ -364,6 +372,19 @@
 	pinctrl-0 = <&main_uart1_pins_default>;
 };
 
+/* XXX: Kernel-Upstream: TODO: Upstream */
+&main_i2c0 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&main_i2c0_pins_default>;
+	clock-frequency = <400000>;
+
+	eeprom@51 {
+		compatible = "atmel,24c512";
+		reg = <0x51>;
+	};
+};
+
 &main_i2c1 {
 	status = "okay";
 	pinctrl-names = "default";
-- 
2.40.0


  parent reply	other threads:[~2023-04-14  8:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14  7:57 [PATCH 00/23] arm: dts: k3-am64: Sync with kernel.org and Nishanth Menon
2023-04-14  7:57 ` [PATCH 01/23] Revert "ARM: dts: k3-am642-sk-u-boot: add PMIC node" Nishanth Menon
2023-04-14  7:57 ` [PATCH 02/23] arm: dts: k3-am64: Update devicetree to sync with v6.3-rc6 Nishanth Menon
2023-04-14  7:57 ` [PATCH 03/23] arm: dts: k3-am642-sk: Add a note to handle pinmux till MDIO DM conversion is done Nishanth Menon
2023-04-14  7:57 ` [PATCH 04/23] arm: dts: k3-am642-sk: Fix mmc1 pinmux pull polarity Nishanth Menon
2023-04-17 10:42   ` Roger Quadros
2023-04-17 11:12     ` Nishanth Menon
2023-04-17 11:45       ` Roger Quadros
2023-04-17 13:25         ` Nishanth Menon
2023-04-14  7:57 ` [PATCH 05/23] arm: dts: k3-am642-sk: Add main_uart1 description Nishanth Menon
2023-04-14  7:57 ` Nishanth Menon [this message]
2023-04-14  7:57 ` [PATCH 07/23] arm: dts: k3-am642-sk-u-boot: Drop the i2c node Nishanth Menon
2023-04-14  7:57 ` [PATCH 08/23] arm: dts: k3-am642-sk-u-boot: Drop redundant usb dr_mode property Nishanth Menon
2023-04-14  7:57 ` [PATCH 09/23] arm: dts: k3-am642-sk-u-boot: Mark main_uart0 to be used for spl Nishanth Menon
2023-04-14  7:57 ` [PATCH 10/23] arm: dts: k3-am642-sk-u-boot: Document timer as missing upstream Nishanth Menon
2023-04-14  7:57 ` [PATCH 11/23] arm: dts: k3-am642-sk-u-boot: Drop aliases and stdout Nishanth Menon
2023-04-14  7:57 ` [PATCH 12/23] arm: dts: k3-am642-r5-sk: Use am642-sk.dts and k3-am642-sk-u-boot.dtsi Nishanth Menon
2023-04-18  9:15   ` Manorit Chawdhry
2023-04-18 12:34     ` Nishanth Menon
2023-04-19  4:53       ` Manorit Chawdhry
2023-04-14  7:57 ` [PATCH 13/23] arm: dts: k3-am642-evm: Move the mdio pinmux down to evm.dts Nishanth Menon
2023-04-14  7:57 ` [PATCH 14/23] arm: dts: k3-am642-evm: Add DDR vtt regulator Nishanth Menon
2023-04-14  7:57 ` [PATCH 15/23] arm: dts: k3-am642-evm: Add main_uart1 description Nishanth Menon
2023-04-14  7:57 ` [PATCH 16/23] arm: dts: k3-am642-evm: Add main_i2c0 and eeprom Nishanth Menon
2023-04-14  7:57 ` [PATCH 17/23] arm: dts: k3-am642-evm-u-boot: Drop the i2c node Nishanth Menon
2023-04-14  7:57 ` [PATCH 18/23] arm: dts: k3-am642-evm-u-boot: Drop stdout and cosmetic fixups Nishanth Menon
2023-04-14  7:57 ` [PATCH 19/23] arm: dts: k3-am642-evm-u-boot: Re-organize the pinmux Nishanth Menon
2023-04-14  7:57 ` [PATCH 20/23] arm: dts: k3-am642-evm-u-boot: Add missing pinmux notations Nishanth Menon
2023-04-14  7:57 ` [PATCH 21/23] arm: dts: k3-am642-r5-evm: Use am642-evm.dts and k3-am642-evm-u-boot.dtsi Nishanth Menon
2023-04-14  7:57 ` [PATCH 22/23] include: configs: am64x_evm: Change to using .env Nishanth Menon
2023-04-14  7:57 ` [PATCH 23/23] configs: am64x_evm_a53_defconfig: Just use distroboot Nishanth Menon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230414075726.387461-7-nm@ti.com \
    --to=nm@ti.com \
    --cc=g-vlaev@ti.com \
    --cc=gadiyar@ti.com \
    --cc=n-francis@ti.com \
    --cc=n-jain1@ti.com \
    --cc=neil.armstrong@linaro.org \
    --cc=rogerq@kernel.org \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox