From: Ludovic Desroches <ludovic.desroches@microchip.com>
To: <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
<robh+dt@kernel.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<Tudor.Ambarus@microchip.com>, <Cristian.Birsan@microchip.com>,
<Codrin.Ciubotariu@microchip.com>,
"Ludovic Desroches" <ludovic.desroches@microchip.com>
Subject: [PATCH 4/5] ARM: dts: at91: sama5d27_som1_ek: enable i2c0
Date: Thu, 2 Apr 2020 00:15:03 +0200 [thread overview]
Message-ID: <20200401221504.41196-4-ludovic.desroches@microchip.com> (raw)
In-Reply-To: <20200401221504.41196-1-ludovic.desroches@microchip.com>
Enable i2c0 controller.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.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@f8024000 {
status = "okay";
};
+ i2c0: i2c@f8028000 {
+ dmas = <0>, <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c0_default>;
+ status = "okay";
+ };
+
pwm0: pwm@f802c000 {
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
next prev parent reply other threads:[~2020-04-01 22:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-01 22:15 [PATCH 1/5] ARM: dts: at91: sama5d2_ptc_ek: fix sdmmc0 node description Ludovic Desroches
2020-04-01 22:15 ` [PATCH 2/5] ARM: dts: at91: sama5d2_ptc_ek: fix vbus pin Ludovic Desroches
2020-04-01 22:19 ` [RESEND PATCH " Ludovic Desroches
2020-04-01 22:15 ` [PATCH 3/5] ARM: dts: at91: sama5d2_ptc_ek: add PB_USER as wakeup source Ludovic Desroches
2020-04-01 22:15 ` Ludovic Desroches [this message]
2020-04-01 22:15 ` [PATCH 5/5] ARM: dts: at91: sama5d27_som1_ek: add an alias for i2c0 Ludovic Desroches
2020-04-02 7:49 ` [PATCH 1/5] ARM: dts: at91: sama5d2_ptc_ek: fix sdmmc0 node description Alexandre Belloni
2020-04-02 9:20 ` Eugen.Hristev
2020-04-02 10:07 ` Ludovic.Desroches
2020-04-02 10:27 ` Eugen.Hristev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200401221504.41196-4-ludovic.desroches@microchip.com \
--to=ludovic.desroches@microchip.com \
--cc=Codrin.Ciubotariu@microchip.com \
--cc=Cristian.Birsan@microchip.com \
--cc=Tudor.Ambarus@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox