build/patch/kernel/archive/odroidxu4-5.12/0039-ODROID-XU4-dts-Add-i2c-1-i2c-5-nodes.patch

36 lines
935 B
Diff
Raw Permalink Normal View History

From 59557a1fe423dd1d6ba7d2080a00780ffc147dbc Mon Sep 17 00:00:00 2001
From: Yang Deokgyu <secugyu@gmail.com>
Date: Thu, 7 Nov 2019 10:58:33 +0900
Subject: [PATCH 039/109] ODROID-XU4: dts: Add i2c-1, i2c-5 nodes
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Change-Id: Ibd89677ca9dcc165b305488b9c1e106f4e53eba6
---
arch/arm/boot/dts/exynos5422-odroidxu4.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu4.dts b/arch/arm/boot/dts/exynos5422-odroidxu4.dts
index ede782257643..c953346dfabc 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu4.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu4.dts
@@ -90,3 +90,16 @@ &pwm {
&usbdrd_dwc3_1 {
dr_mode = "host";
};
+
+/* i2c@12C70000 */
+&i2c_1 {
+ status = "okay";
+ samsung,i2c-max-bus-freq = <400000>;
+};
+
+/* i2c@12cb0000 */
+&hsi2c_5 {
+ status = "okay";
+ samsung,hs-mode;
+ clock-frequency = <400000>;
+};
--
2.25.1