Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1741243 > unrolled thread

[PATCH 6/8] ARM: dts: aspeed-ast2500: Add I2C devices

Started byJoel Stanley <joel@jms.id.au>
First post2017-09-28 10:00 +0200
Last post2017-09-28 20:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 6/8] ARM: dts: aspeed-ast2500: Add I2C devices Joel Stanley <joel@jms.id.au> - 2017-09-28 10:00 +0200
    Re: [PATCH 6/8] ARM: dts: aspeed-ast2500: Add I2C devices Brendan Higgins <brendanhiggins@google.com> - 2017-09-28 20:40 +0200

#1741243 — [PATCH 6/8] ARM: dts: aspeed-ast2500: Add I2C devices

FromJoel Stanley <joel@jms.id.au>
Date2017-09-28 10:00 +0200
Subject[PATCH 6/8] ARM: dts: aspeed-ast2500: Add I2C devices
Message-ID<uuBTK-6bp-19@gated-at.bofh.it>
Enable the buses that are in use and the devices that are attached.
Currently that includes temperature measurement and EEPROM.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 arch/arm/boot/dts/aspeed-ast2500-evb.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
index 7c90dac99822..dc7d73b02b76 100644
--- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts
+++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
@@ -59,3 +59,22 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
 };
+
+&i2c3 {
+	status = "okay";
+
+	eeprom@50 {
+		compatible = "atmel,24c08";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
+};
+
+&i2c7 {
+	status = "okay";
+
+	lm75@4d {
+		compatible = "national,lm75";
+		reg = <0x4d>;
+	};
+};
-- 
2.14.1

[toc] | [next] | [standalone]


#1741771

FromBrendan Higgins <brendanhiggins@google.com>
Date2017-09-28 20:40 +0200
Message-ID<uuLT3-42q-1@gated-at.bofh.it>
In reply to#1741243
On Thu, Sep 28, 2017 at 12:51 AM, Joel Stanley <joel@jms.id.au> wrote:
> Enable the buses that are in use and the devices that are attached.
> Currently that includes temperature measurement and EEPROM.
>
> Signed-off-by: Joel Stanley <joel@jms.id.au>

Reviewed-by: Brendan Higgins <brendanhiggins@google.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web