Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1729181
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Franklin S Cooper Jr <fcooper@ti.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 2/2] ARM: dts: keystone-k2g-evm: Add I2C EEPROM DT entry |
| Date | Fri, 08 Sep 2017 20:30:01 +0200 |
| Message-ID | <unwcp-2bb-1@gated-at.bofh.it> (permalink) |
| References | <unwcp-2bb-3@gated-at.bofh.it> |
| X-Original-To | <ssantosh@kernel.org>, <robh+dt@kernel.org>, <mark.rutland@arm.com>, <linux@armlinux.org.uk>, <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <vigneshr@ti.com>, <nsekhar@ti.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1504894922; bh=vqEl+jS3BhaGG7KEQidpcZRGRGGfYMA7Br3ildLiRSo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=terl0S7rXd9/shtU1kTfxDeuoh43kFtgQBePupYuBkFXZs/GQNmUXNkE6qnWQc3Q+ lkOR9D8vEyQ//1bb/8Tusu44Jol5Cnnev/i37MEaQC5wzNwHLxV9tg/TVKH/DSRjDd 6W+6V8ywZFhAMjigQKZRz47TM9F/qiRjNFVRHbIw= |
| X-Mailer | git-send-email 2.9.4.dirty |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Exclaimer-Md-Config | e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 47 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Murali Karicheri <m-karicheri2@ti.com>, Franklin S Cooper Jr <fcooper@ti.com> |
| X-Original-Date | Fri, 8 Sep 2017 13:21:42 -0500 |
| X-Original-Message-ID | <20170908182142.5274-3-fcooper@ti.com> |
| X-Original-References | <20170908182142.5274-1-fcooper@ti.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1729181 |
Show key headers only | View raw
From: Murali Karicheri <m-karicheri2@ti.com>
K2G EVM has an onboard I2C EEPROM connected to I2C0. This patch adds
the necessary DT entry for the AT24CM01 EEPROM.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
arch/arm/boot/dts/keystone-k2g-evm.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts
index f462f10..a6ad5fc 100644
--- a/arch/arm/boot/dts/keystone-k2g-evm.dts
+++ b/arch/arm/boot/dts/keystone-k2g-evm.dts
@@ -81,6 +81,14 @@
K2G_CORE_IOPAD(0x1110) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0) /* mmc1_cmd.mmc1_cmd */
>;
};
+
+ i2c0_pins: pinmux_i2c0_pins {
+ pinctrl-single,pins = <
+ K2G_CORE_IOPAD(0x137c) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
+ K2G_CORE_IOPAD(0x1380) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
+ >;
+ };
+
};
&uart0 {
@@ -112,3 +120,14 @@
memory-region = <&dsp_common_memory>;
status = "okay";
};
+
+&i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins>;
+ status = "okay";
+
+ eeprom@50 {
+ compatible = "atmel,24c1024";
+ reg = <0x50>;
+ };
+};
--
2.9.4.dirty
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v2 2/2] ARM: dts: keystone-k2g-evm: Add I2C EEPROM DT entry Franklin S Cooper Jr <fcooper@ti.com> - 2017-09-08 20:30 +0200
csiph-web