From: Claudiu Beznea <claudiu.beznea@tuxon.dev>
To: Ryan.Wanner@microchip.com, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, nicolas.ferre@microchip.com,
alexandre.belloni@bootlin.com, mturquette@baylibre.com,
sboyd@kernel.org, arnd@arndb.de
Cc: dharma.b@microchip.com, mihai.sain@microchip.com,
romain.sioen@microchip.com, varshini.rajendran@microchip.com,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
linux-gpio@vger.kernel.org, linux-spi@vger.kernel.org,
linux-serial@vger.kernel.org
Subject: Re: [PATCH v3 09/13] ARM: dts: microchip: add sama7d65 SoC DT
Date: Sun, 8 Dec 2024 18:29:55 +0200 [thread overview]
Message-ID: <9fbbf3d1-9543-42f8-a80c-1527811109ef@tuxon.dev> (raw)
In-Reply-To: <9a6c1dfe-cf4d-41fc-a0f4-b6a111a40c94@tuxon.dev>
On 08.12.2024 18:28, Claudiu Beznea wrote:
>
>
> On 06.12.2024 21:59, Ryan.Wanner@microchip.com wrote:
>> From: Ryan Wanner <Ryan.Wanner@microchip.com>
>>
>> Add Device Tree for sama7d65 SoC.
>>
>> Co-developed-by: Dharma Balasubiramani <dharma.b@microchip.com>
>> Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
>> Co-developed-by: Romain Sioen <romain.sioen@microchip.com>
>> Signed-off-by: Romain Sioen <romain.sioen@microchip.com>
>> Co-developed-by: Varshini Rajendran <varshini.rajendran@microchip.com>
>> Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
>> Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
>> ---
>> arch/arm/boot/dts/microchip/sama7d65.dtsi | 145 ++++++++++++++++++++++
>> 1 file changed, 145 insertions(+)
>> create mode 100644 arch/arm/boot/dts/microchip/sama7d65.dtsi
>>
>> diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi
>> new file mode 100644
>> index 000000000000..0dcd80690210
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi
>> @@ -0,0 +1,145 @@
>> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
>> +/*
>> + * sama7d65.dtsi - Device Tree Include file for SAMA7D65 SoC
>> + *
>> + * Copyright (C) 2024 Microchip Technology, Inc. and its subsidiaries
>> + *
>> + * Author: Ryan Wanner <Ryan.Wanner@microchip.com>
>> + *
>> + */
>> +
>> +#include <dt-bindings/clock/at91.h>
>> +#include <dt-bindings/gpio/gpio.h>
>> +#include <dt-bindings/interrupt-controller/arm-gic.h>
>> +#include <dt-bindings/interrupt-controller/irq.h>
>> +#include <dt-bindings/mfd/at91-usart.h>
>> +
>> +/ {
>> + model = "Microchip SAMA7D65 family SoC";
>> + compatible = "microchip,sama7d65";
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + interrupt-parent = <&gic>;
>> +
>> + cpus {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + cpu0: cpu@0 {
>> + compatible = "arm,cortex-a7";
>> + reg = <0x0>;
>> + device_type = "cpu";
>> + clocks = <&pmc PMC_TYPE_CORE PMC_CPUPLL>;
>> + clock-names = "cpu";
>> + };
>> + };
>> +
>> + clocks {
>> + main_xtal: clock-mainxtal {
>> + compatible = "fixed-clock";
>> + #clock-cells = <0>;
>> + };
>> +
>> + slow_xtal: clock-slowxtal {
>> + compatible = "fixed-clock";
>> + #clock-cells = <0>;
>> + };
>> +
>> + };
>> +
>> + soc {
>> + compatible = "simple-bus";
>> + ranges;
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> +
>> + pioa: pinctrl@e0014000 {
>> + compatible = "microchip,sama7d65-pinctrl";
>> + reg = <0xe0014000 0x800>;
>> + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
>> + clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
>> + interrupt-controller;
>> + #interrupt-cells = <2>;
>> + gpio-controller;
>> + #gpio-cells = <2>;
>> + };
>> +
>> + pmc: clock-controller@e0018000 {
>> + compatible = "microchip,sama7d65-pmc", "syscon";
>> + reg = <0xe0018000 0x200>;
>> + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
>> + #clock-cells = <2>;
>> + clocks = <&clk32k 1>, <&clk32k 0>, <&main_xtal>;
>> + clock-names = "td_slck", "md_slck", "main_xtal";
>> + };
>> +
>> + clk32k: clock-controller@e001d500 {
>> + compatible = "microchip,sama7d65-sckc", "microchip,sam9x60-sckc";
>> + reg = <0xe001d500 0x4>;
>> + clocks = <&slow_xtal>;
>> + #clock-cells = <1>;
>> + };
>> +
>> + sdmmc1: mmc@e1208000 {
>> + compatible = "microchip,sama7d65-sdhci", "microchip,sam9x60-sdhci";
>> + reg = <0xe1208000 0x400>;
>> + interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
>> + clocks = <&pmc PMC_TYPE_PERIPHERAL 76>, <&pmc PMC_TYPE_GCK 76>;
>> + clock-names = "hclock", "multclk";
>> + assigned-clocks = <&pmc PMC_TYPE_GCK 76>;
>> + assigned-clock-rates = <200000000>;
>> + assigned-clock-parents = <&pmc PMC_TYPE_CORE PMC_MCK1>;
>> + status = "disabled";
>> + };
>> +
>> + pit64b0: timer@e1800000 {
>> + compatible = "microchip,sama7d65-pit64b", "microchip,sam9x60-pit64b";
>> + reg = <0xe1800000 0x100>;
>> + interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
>> + clocks = <&pmc PMC_TYPE_PERIPHERAL 66>, <&pmc PMC_TYPE_GCK 66>;
>> + clock-names = "pclk", "gclk";
>> + };
>> +
>> + pit64b1: timer@e1804000 {
>> + compatible = "microchip,sama7d65-pit64b", "microchip,sam9x60-pit64b";
>> + reg = <0xe1804000 0x100>;
>> + interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
>> + clocks = <&pmc PMC_TYPE_PERIPHERAL 67>, <&pmc PMC_TYPE_GCK 67>;
>> + clock-names = "pclk", "gclk";
>> + };
>> +
>> + flx6: flexcom@e2020000 {
>> + compatible = "microchip,sama7d65-flexcom", "atmel,sama5d2-flexcom";
>> + reg = <0xe2020000 0x200>;
>> + ranges = <0x0 0xe2020000 0x800>;
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
>> + status = "disabled";
>> +
>> + uart6: serial@200 {
>> + compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart";
>> + reg = <0x200 0x200>;
>> + atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>
> Vendor specific props would be at the end, before states, according to [1].
> I'll adjust it while applying.
>
> [1]
This is the link, sorry:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/dts-coding-style.rst#n122
Other than that:
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
next prev parent reply other threads:[~2024-12-08 16:29 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-06 19:59 [PATCH v3 00/13] Add support for SAMA7D65 Ryan.Wanner
2024-12-06 19:59 ` [PATCH v3 01/13] dt-bindings: ARM: at91: Document Microchip SAMA7D65 Curiosity Ryan.Wanner
2024-12-08 16:23 ` Claudiu Beznea
2024-12-06 19:59 ` [PATCH v3 02/13] dt-bindings: mfd: atmel,sama5d2-flexcom: add microchip,sama7d65-flexcom Ryan.Wanner
2024-12-08 14:16 ` Krzysztof Kozlowski
2024-12-06 19:59 ` [PATCH v3 03/13] dt-bindings: atmel-sysreg: add sama7d65 RAM and PIT Ryan.Wanner
2024-12-08 16:24 ` Claudiu Beznea
2024-12-11 16:16 ` Rob Herring (Arm)
2024-12-06 19:59 ` [PATCH v3 04/13] dt-bindings: serial: atmel,at91-usart: add microchip,sama7d65-usart Ryan.Wanner
2024-12-11 16:16 ` Rob Herring (Arm)
2024-12-06 19:59 ` [PATCH v3 05/13] dt-bindings: pinctrl: at91-pio4: add microchip,sama7d65-pinctrl Ryan.Wanner
2024-12-11 16:16 ` Rob Herring (Arm)
2024-12-06 19:59 ` [PATCH v3 06/13] dt-bindings: clocks: atmel,at91sam9x5-sckc: add sama7d65 Ryan.Wanner
2024-12-08 16:25 ` Claudiu Beznea
2024-12-06 19:59 ` [PATCH v3 07/13] dt-bindings: clock: Add SAMA7D65 PMC compatible string Ryan.Wanner
2024-12-08 16:26 ` Claudiu Beznea
2024-12-10 16:46 ` Rob Herring
2024-12-11 15:25 ` Ryan Wanner
2024-12-12 8:17 ` Krzysztof Kozlowski
2024-12-12 8:17 ` Krzysztof Kozlowski
2024-12-06 19:59 ` [PATCH v3 08/13] clk: at91: sama7d65: add sama7d65 pmc driver Ryan.Wanner
2024-12-08 16:27 ` Claudiu Beznea
2024-12-08 16:35 ` Christophe JAILLET
2024-12-08 16:44 ` Claudiu Beznea
2024-12-06 19:59 ` [PATCH v3 09/13] ARM: dts: microchip: add sama7d65 SoC DT Ryan.Wanner
2024-12-08 16:28 ` Claudiu Beznea
2024-12-08 16:29 ` Claudiu Beznea [this message]
2024-12-06 19:59 ` [PATCH v3 10/13] ARM: dts: at91: Add sama7d65 pinmux Ryan.Wanner
2024-12-08 16:30 ` Claudiu Beznea
2024-12-06 19:59 ` [PATCH v3 11/13] ARM: dts: microchip: add support for sama7d65_curiosity board Ryan.Wanner
2024-12-08 16:32 ` Claudiu Beznea
2024-12-09 4:55 ` kernel test robot
2024-12-06 19:59 ` [PATCH v3 12/13] ARM: configs: at91: sama7: add new SoC config Ryan.Wanner
2024-12-08 16:33 ` Claudiu Beznea
2024-12-06 19:59 ` [PATCH v3 13/13] ARM: at91: add new SoC sama7d65 Ryan.Wanner
2024-12-08 16:34 ` 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=9fbbf3d1-9543-42f8-a80c-1527811109ef@tuxon.dev \
--to=claudiu.beznea@tuxon.dev \
--cc=Ryan.Wanner@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=arnd@arndb.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dharma.b@microchip.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=mihai.sain@microchip.com \
--cc=mturquette@baylibre.com \
--cc=nicolas.ferre@microchip.com \
--cc=robh@kernel.org \
--cc=romain.sioen@microchip.com \
--cc=sboyd@kernel.org \
--cc=varshini.rajendran@microchip.com \
/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