From: claudiu beznea <claudiu.beznea@tuxon.dev>
To: Mihai Sain <mihai.sain@microchip.com>,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
conor+dt@kernel.org, nicolas.ferre@microchip.com,
alexandre.belloni@bootlin.com, andre.przywara@arm.com,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: cristian.birsan@microchip.com
Subject: Re: [PATCH v2 2/3] ARM: dts: microchip: sama7g5: Add flexcom 10 node
Date: Thu, 15 Feb 2024 09:19:14 +0200 [thread overview]
Message-ID: <20a20d63-3968-45e7-a4aa-0197c55e6656@tuxon.dev> (raw)
In-Reply-To: <20240214080348.7540-3-mihai.sain@microchip.com>
Hi, Mihai,
On 14.02.2024 10:03, Mihai Sain wrote:
> Add flexcom 10 node for usage on the SAMA7G54 Curiosity board.
>
> Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
> ---
> arch/arm/boot/dts/microchip/sama7g5.dtsi | 26 ++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/arch/arm/boot/dts/microchip/sama7g5.dtsi b/arch/arm/boot/dts/microchip/sama7g5.dtsi
> index 269e0a3ca269..c90e404e8ed9 100644
> --- a/arch/arm/boot/dts/microchip/sama7g5.dtsi
> +++ b/arch/arm/boot/dts/microchip/sama7g5.dtsi
> @@ -958,6 +958,32 @@ i2c9: i2c@600 {
> };
> };
>
> + flx10: flexcom@e2820000 {
> + compatible = "atmel,sama5d2-flexcom";
> + reg = <0xe2820000 0x200>;
> + clocks = <&pmc PMC_TYPE_PERIPHERAL 48>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0x0 0xe2820000 0x800>;
> + status = "disabled";
> +
> + i2c10: i2c@600 {
> + compatible = "microchip,sama7g5-i2c", "microchip,sam9x60-i2c";
> + reg = <0x600 0x200>;
> + interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + clocks = <&pmc PMC_TYPE_PERIPHERAL 48>;
> + atmel,fifo-size = <32>;
> + dmas = <&dma0 AT91_XDMAC_DT_PERID(25)>,
> + <&dma0 AT91_XDMAC_DT_PERID(26)>;
> + dma-names = "rx", "tx";
Please use the same pattern used by the rest of the i2c flexcom nodes, meaning:
dma-names = "tx", "rx";
and, with this, reverse the order of dmas, too.
> + atmel,use-dma-rx;
> + atmel,use-dma-tx;
These are uart properties.
> + status = "disabled";
> + };
> + };
> +
> flx11: flexcom@e2824000 {
> compatible = "atmel,sama5d2-flexcom";
> reg = <0xe2824000 0x200>;
next prev parent reply other threads:[~2024-02-15 7:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-14 8:03 [PATCH v2 0/3] Add initial support for Microchip SAMA7G54 Curiosity board Mihai Sain
2024-02-14 8:03 ` [PATCH v2 1/3] dt-bindings: ARM: at91: Document Microchip SAMA7G54 Curiosity Mihai Sain
2024-02-14 8:03 ` [PATCH v2 2/3] ARM: dts: microchip: sama7g5: Add flexcom 10 node Mihai Sain
2024-02-14 17:54 ` Conor Dooley
2024-02-15 7:19 ` claudiu beznea [this message]
2024-02-14 8:03 ` [PATCH v2 3/3] ARM: dts: microchip: sama7g54_curiosity: Add initial device tree of the board Mihai Sain
2024-02-15 7:23 ` claudiu beznea
2024-02-15 7:25 ` claudiu beznea
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=20a20d63-3968-45e7-a4aa-0197c55e6656@tuxon.dev \
--to=claudiu.beznea@tuxon.dev \
--cc=alexandre.belloni@bootlin.com \
--cc=andre.przywara@arm.com \
--cc=conor+dt@kernel.org \
--cc=cristian.birsan@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mihai.sain@microchip.com \
--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;
as well as URLs for NNTP newsgroup(s).