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


Groups > linux.kernel > #1319848 > unrolled thread

[PATCH 05/13] dtb: amd: Misc changes for I2C device nodes

Started bySuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
First post2016-01-27 22:20 +0100
Last post2016-01-27 22:20 +0100
Articles 1 — 1 participant

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 05/13] dtb: amd: Misc changes for I2C device nodes Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> - 2016-01-27 22:20 +0100

#1319848 — [PATCH 05/13] dtb: amd: Misc changes for I2C device nodes

FromSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Date2016-01-27 22:20 +0100
Subject[PATCH 05/13] dtb: amd: Misc changes for I2C device nodes
Message-ID<qVFFn-1hk-5@gated-at.bofh.it>
From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>

Add new i2c1 device node, and fix the incorrect clock frequency.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
---
 arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi
index c7c759a..4be36fd 100644
--- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi
+++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi
@@ -77,7 +77,15 @@
 			compatible = "snps,designware-i2c";
 			reg = <0 0xe1000000 0 0x1000>;
 			interrupts = <0 357 4>;
-			clocks = <&uartspiclk_100mhz>;
+			clocks = <&miscclk_250mhz>;
+		};
+
+		i2c1: i2c@e0050000 {
+			status = "disabled";
+			compatible = "snps,designware-i2c";
+			reg = <0 0xe0050000 0 0x1000>;
+			interrupts = <0 340 4>;
+			clocks = <&miscclk_250mhz>;
 		};
 
 		serial0: serial@e1010000 {
-- 
2.5.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web