[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200401221504.41196-4-ludovic.desroches@microchip.com>
Date: Thu, 2 Apr 2020 00:15:03 +0200
From: Ludovic Desroches <ludovic.desroches@...rochip.com>
To: <nicolas.ferre@...rochip.com>, <alexandre.belloni@...tlin.com>,
<robh+dt@...nel.org>
CC: <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<Tudor.Ambarus@...rochip.com>, <Cristian.Birsan@...rochip.com>,
<Codrin.Ciubotariu@...rochip.com>,
"Ludovic Desroches" <ludovic.desroches@...rochip.com>
Subject: [PATCH 4/5] ARM: dts: at91: sama5d27_som1_ek: enable i2c0
Enable i2c0 controller.
Signed-off-by: Ludovic Desroches <ludovic.desroches@...rochip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index b0853bf7901ce..1a26e1a129319 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -115,6 +115,13 @@ uart2: serial@...24000 {
status = "okay";
};
+ i2c0: i2c@...28000 {
+ dmas = <0>, <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c0_default>;
+ status = "okay";
+ };
+
pwm0: pwm@...2c000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mikrobus1_pwm &pinctrl_mikrobus2_pwm>;
@@ -281,6 +288,12 @@ pinctrl_flx3_default: flx3_default {
bias-disable;
};
+ pinctrl_i2c0_default: i2c0_default {
+ pinmux = <PIN_PD21__TWD0>,
+ <PIN_PD22__TWCK0>;
+ bias-disable;
+ };
+
pinctrl_i2c1_default: i2c1_default {
pinmux = <PIN_PD4__TWD1>,
<PIN_PD5__TWCK1>;
--
2.26.0
Powered by blists - more mailing lists