devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] at91: add support for Arietta G25
@ 2019-07-28 21:04 Uwe Kleine-König
  2019-07-28 21:04 ` [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl" Uwe Kleine-König
  2019-07-28 21:04 ` [PATCH 2/2] ARM: dts: at91: add support for Arietta G25 Uwe Kleine-König
  0 siblings, 2 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2019-07-28 21:04 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Nicolas Ferre, Alexandre Belloni,
	Ludovic Desroches
  Cc: devicetree, info, linux-arm-kernel

Hello,

I now took the time to work on mainline support for the Arietta G25.

It boots fine on v5.3-rc1 apart from the issue I reported on the Linux
ARM list yesterday[1].

Best regards
Uwe

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2019-July/669167.html

Uwe Kleine-König (2):
  dts: add vendor prefix "acme" for "Acme Systems srl"
  ARM: dts: at91: add support for Arietta G25

 .../devicetree/bindings/vendor-prefixes.yaml  |  2 +
 arch/arm/boot/dts/at91sam9g25-arietta.dts     | 86 +++++++++++++++++++
 2 files changed, 88 insertions(+)
 create mode 100644 arch/arm/boot/dts/at91sam9g25-arietta.dts

-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl"
  2019-07-28 21:04 [PATCH 0/2] at91: add support for Arietta G25 Uwe Kleine-König
@ 2019-07-28 21:04 ` Uwe Kleine-König
  2019-07-29 22:34   ` Rob Herring
                     ` (2 more replies)
  2019-07-28 21:04 ` [PATCH 2/2] ARM: dts: at91: add support for Arietta G25 Uwe Kleine-König
  1 sibling, 3 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2019-07-28 21:04 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Nicolas Ferre, Alexandre Belloni,
	Ludovic Desroches
  Cc: devicetree, info, linux-arm-kernel

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 6992bbbbffab..85965e3446bf 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -27,6 +27,8 @@ patternProperties:
     description: Abilis Systems
   "^abracon,.*":
     description: Abracon Corporation
+  "^acme,.*":
+    description: Acme Systems srl
   "^actions,.*":
     description: Actions Semiconductor Co., Ltd.
   "^active-semi,.*":
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 2/2] ARM: dts: at91: add support for Arietta G25
  2019-07-28 21:04 [PATCH 0/2] at91: add support for Arietta G25 Uwe Kleine-König
  2019-07-28 21:04 ` [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl" Uwe Kleine-König
@ 2019-07-28 21:04 ` Uwe Kleine-König
  2019-07-31 11:36   ` Ludovic Desroches
  2019-07-31 12:27   ` Stefan Wahren
  1 sibling, 2 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2019-07-28 21:04 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Nicolas Ferre, Alexandre Belloni,
	Ludovic Desroches
  Cc: devicetree, info, linux-arm-kernel

The Arietta G25 is a SBC powered by a AT91SAMG25 running at 400 MHz.
See https://www.acmesystems.it/arietta for more details.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
---
 arch/arm/boot/dts/at91sam9g25-arietta.dts | 86 +++++++++++++++++++++++
 1 file changed, 86 insertions(+)
 create mode 100644 arch/arm/boot/dts/at91sam9g25-arietta.dts

diff --git a/arch/arm/boot/dts/at91sam9g25-arietta.dts b/arch/arm/boot/dts/at91sam9g25-arietta.dts
new file mode 100644
index 000000000000..6c20e02f0ea9
--- /dev/null
+++ b/arch/arm/boot/dts/at91sam9g25-arietta.dts
@@ -0,0 +1,86 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Arietta - System On Module
+ * https://www.acmesystems.it/arietta
+ */
+
+/dts-v1/;
+#include "at91sam9g25.dtsi"
+
+/ {
+	model = "Acme Systems Arietta G25";
+	compatible = "acme,ariettag25", "atmel,at91sam9x5", "atmel,at91sam9";
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+	memory {
+		reg = <0x20000000 0x8000000>;
+	};
+
+	clocks {
+		slow_xtal {
+			clock-frequency = <32768>;
+		};
+
+		main_xtal {
+			clock-frequency = <12000000>;
+		};
+	};
+
+	ahb {
+		apb {
+			rtc@fffffeb0 {
+				status = "okay";
+			};
+		};
+	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		arietta_led {
+			label = "arietta_led";
+			gpios = <&pioB 8 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+	};
+};
+
+&dbgu {
+	status = "okay";
+};
+
+&mmc0 {
+	pinctrl-0 = <
+		&pinctrl_mmc0_slot0_clk_cmd_dat0
+		&pinctrl_mmc0_slot0_dat1_3>;
+	status = "okay";
+
+	slot@0 {
+		reg = <0>;
+		bus-width = <4>;
+	};
+};
+
+&usart0 {
+	status ="okay";
+};
+
+&usart1 {
+	status ="okay";
+};
+
+&usb0 {
+	status = "okay";
+	num-ports = <3>;
+};
+
+&usb1 {
+	status = "okay";
+};
+
+&usb2 {
+	status = "okay";
+};
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl"
  2019-07-28 21:04 ` [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl" Uwe Kleine-König
@ 2019-07-29 22:34   ` Rob Herring
  2019-07-31 11:34   ` Ludovic Desroches
  2019-08-12 20:54   ` Alexandre Belloni
  2 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2019-07-29 22:34 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Mark Rutland, devicetree, Alexandre Belloni, Ludovic Desroches,
	info, moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE

On Sun, Jul 28, 2019 at 3:04 PM Uwe Kleine-König <uwe@kleine-koenig.org> wrote:
>
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
>  1 file changed, 2 insertions(+)

It's not Apr 1st, so I guess this is a real company and not the coyote's. :)

Acked-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl"
  2019-07-28 21:04 ` [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl" Uwe Kleine-König
  2019-07-29 22:34   ` Rob Herring
@ 2019-07-31 11:34   ` Ludovic Desroches
  2019-07-31 21:48     ` Uwe Kleine-König
  2019-08-12 20:54   ` Alexandre Belloni
  2 siblings, 1 reply; 10+ messages in thread
From: Ludovic Desroches @ 2019-07-31 11:34 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Mark Rutland, devicetree, Alexandre Belloni, Rob Herring, info,
	linux-arm-kernel

On Sun, Jul 28, 2019 at 11:04:02PM +0200, Uwe Kleine-König wrote:
> 
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>

As I can confirm it's not an April fool!
Reviwed-by: Ludovic Desroches <ludovic.desroches@microchip.com>

> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index 6992bbbbffab..85965e3446bf 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -27,6 +27,8 @@ patternProperties:
>      description: Abilis Systems
>    "^abracon,.*":
>      description: Abracon Corporation
> +  "^acme,.*":
> +    description: Acme Systems srl
>    "^actions,.*":
>      description: Actions Semiconductor Co., Ltd.
>    "^active-semi,.*":
> -- 
> 2.20.1
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] ARM: dts: at91: add support for Arietta G25
  2019-07-28 21:04 ` [PATCH 2/2] ARM: dts: at91: add support for Arietta G25 Uwe Kleine-König
@ 2019-07-31 11:36   ` Ludovic Desroches
  2019-07-31 13:18     ` Ludovic Desroches
  2019-07-31 12:27   ` Stefan Wahren
  1 sibling, 1 reply; 10+ messages in thread
From: Ludovic Desroches @ 2019-07-31 11:36 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Mark Rutland, devicetree, Alexandre Belloni, Rob Herring, info,
	linux-arm-kernel

On Sun, Jul 28, 2019 at 11:04:03PM +0200, Uwe Kleine-König wrote:
> 
> The Arietta G25 is a SBC powered by a AT91SAMG25 running at 400 MHz.
> See https://www.acmesystems.it/arietta for more details.
> 
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>

> ---
>  arch/arm/boot/dts/at91sam9g25-arietta.dts | 86 +++++++++++++++++++++++
>  1 file changed, 86 insertions(+)
>  create mode 100644 arch/arm/boot/dts/at91sam9g25-arietta.dts
> 
> diff --git a/arch/arm/boot/dts/at91sam9g25-arietta.dts b/arch/arm/boot/dts/at91sam9g25-arietta.dts
> new file mode 100644
> index 000000000000..6c20e02f0ea9
> --- /dev/null
> +++ b/arch/arm/boot/dts/at91sam9g25-arietta.dts
> @@ -0,0 +1,86 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Arietta - System On Module
> + * https://www.acmesystems.it/arietta
> + */
> +
> +/dts-v1/;
> +#include "at91sam9g25.dtsi"
> +
> +/ {
> +	model = "Acme Systems Arietta G25";
> +	compatible = "acme,ariettag25", "atmel,at91sam9x5", "atmel,at91sam9";
> +
> +	chosen {
> +		stdout-path = "serial0:115200n8";
> +	};
> +
> +	memory {
> +		reg = <0x20000000 0x8000000>;
> +	};
> +
> +	clocks {
> +		slow_xtal {
> +			clock-frequency = <32768>;
> +		};
> +
> +		main_xtal {
> +			clock-frequency = <12000000>;
> +		};
> +	};
> +
> +	ahb {
> +		apb {
> +			rtc@fffffeb0 {
> +				status = "okay";
> +			};
> +		};
> +	};
> +
> +	leds {
> +		compatible = "gpio-leds";
> +
> +		arietta_led {
> +			label = "arietta_led";
> +			gpios = <&pioB 8 GPIO_ACTIVE_HIGH>;
> +			linux,default-trigger = "heartbeat";
> +		};
> +	};
> +};
> +
> +&dbgu {
> +	status = "okay";
> +};
> +
> +&mmc0 {
> +	pinctrl-0 = <
> +		&pinctrl_mmc0_slot0_clk_cmd_dat0
> +		&pinctrl_mmc0_slot0_dat1_3>;
> +	status = "okay";
> +
> +	slot@0 {
> +		reg = <0>;
> +		bus-width = <4>;
> +	};
> +};
> +
> +&usart0 {
> +	status ="okay";
> +};
> +
> +&usart1 {
> +	status ="okay";
> +};
> +
> +&usb0 {
> +	status = "okay";
> +	num-ports = <3>;
> +};
> +
> +&usb1 {
> +	status = "okay";
> +};
> +
> +&usb2 {
> +	status = "okay";
> +};
> -- 
> 2.20.1
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] ARM: dts: at91: add support for Arietta G25
  2019-07-28 21:04 ` [PATCH 2/2] ARM: dts: at91: add support for Arietta G25 Uwe Kleine-König
  2019-07-31 11:36   ` Ludovic Desroches
@ 2019-07-31 12:27   ` Stefan Wahren
  1 sibling, 0 replies; 10+ messages in thread
From: Stefan Wahren @ 2019-07-31 12:27 UTC (permalink / raw)
  To: Uwe Kleine-König, Rob Herring, Mark Rutland, Nicolas Ferre,
	Alexandre Belloni, Ludovic Desroches
  Cc: devicetree, linux-arm-kernel, info

Hi Uwe,

On 28.07.19 23:04, Uwe Kleine-König wrote:
> The Arietta G25 is a SBC powered by a AT91SAMG25 running at 400 MHz.
> See https://www.acmesystems.it/arietta for more details.
>
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
> ---
>  arch/arm/boot/dts/at91sam9g25-arietta.dts | 86 +++++++++++++++++++++++
>  1 file changed, 86 insertions(+)
>  

no need to add the DTB to the Makefile?


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] ARM: dts: at91: add support for Arietta G25
  2019-07-31 11:36   ` Ludovic Desroches
@ 2019-07-31 13:18     ` Ludovic Desroches
  0 siblings, 0 replies; 10+ messages in thread
From: Ludovic Desroches @ 2019-07-31 13:18 UTC (permalink / raw)
  To: Uwe Kleine-König, Rob Herring, Mark Rutland, Nicolas Ferre,
	Alexandre Belloni, linux-arm-kernel, devicetree, info

On Wed, Jul 31, 2019 at 01:36:49PM +0200, Ludovic Desroches wrote:
> On Sun, Jul 28, 2019 at 11:04:03PM +0200, Uwe Kleine-König wrote:
> > 
> > The Arietta G25 is a SBC powered by a AT91SAMG25 running at 400 MHz.
> > See https://www.acmesystems.it/arietta for more details.
> > 
> > Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>

I should have double checked before, I had in mind that we support this
board in our bootloader but it's also the case in the kernel:

arch/arm/boot/dts/at91-ariettag25.dts

Regards

Ludovic

> 
> > ---
> >  arch/arm/boot/dts/at91sam9g25-arietta.dts | 86 +++++++++++++++++++++++
> >  1 file changed, 86 insertions(+)
> >  create mode 100644 arch/arm/boot/dts/at91sam9g25-arietta.dts
> > 
> > diff --git a/arch/arm/boot/dts/at91sam9g25-arietta.dts b/arch/arm/boot/dts/at91sam9g25-arietta.dts
> > new file mode 100644
> > index 000000000000..6c20e02f0ea9
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/at91sam9g25-arietta.dts
> > @@ -0,0 +1,86 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > +/*
> > + * Arietta - System On Module
> > + * https://www.acmesystems.it/arietta
> > + */
> > +
> > +/dts-v1/;
> > +#include "at91sam9g25.dtsi"
> > +
> > +/ {
> > +	model = "Acme Systems Arietta G25";
> > +	compatible = "acme,ariettag25", "atmel,at91sam9x5", "atmel,at91sam9";
> > +
> > +	chosen {
> > +		stdout-path = "serial0:115200n8";
> > +	};
> > +
> > +	memory {
> > +		reg = <0x20000000 0x8000000>;
> > +	};
> > +
> > +	clocks {
> > +		slow_xtal {
> > +			clock-frequency = <32768>;
> > +		};
> > +
> > +		main_xtal {
> > +			clock-frequency = <12000000>;
> > +		};
> > +	};
> > +
> > +	ahb {
> > +		apb {
> > +			rtc@fffffeb0 {
> > +				status = "okay";
> > +			};
> > +		};
> > +	};
> > +
> > +	leds {
> > +		compatible = "gpio-leds";
> > +
> > +		arietta_led {
> > +			label = "arietta_led";
> > +			gpios = <&pioB 8 GPIO_ACTIVE_HIGH>;
> > +			linux,default-trigger = "heartbeat";
> > +		};
> > +	};
> > +};
> > +
> > +&dbgu {
> > +	status = "okay";
> > +};
> > +
> > +&mmc0 {
> > +	pinctrl-0 = <
> > +		&pinctrl_mmc0_slot0_clk_cmd_dat0
> > +		&pinctrl_mmc0_slot0_dat1_3>;
> > +	status = "okay";
> > +
> > +	slot@0 {
> > +		reg = <0>;
> > +		bus-width = <4>;
> > +	};
> > +};
> > +
> > +&usart0 {
> > +	status ="okay";
> > +};
> > +
> > +&usart1 {
> > +	status ="okay";
> > +};
> > +
> > +&usb0 {
> > +	status = "okay";
> > +	num-ports = <3>;
> > +};
> > +
> > +&usb1 {
> > +	status = "okay";
> > +};
> > +
> > +&usb2 {
> > +	status = "okay";
> > +};
> > -- 
> > 2.20.1
> > 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl"
  2019-07-31 11:34   ` Ludovic Desroches
@ 2019-07-31 21:48     ` Uwe Kleine-König
  0 siblings, 0 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2019-07-31 21:48 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Nicolas Ferre, Alexandre Belloni,
	linux-arm-kernel, devicetree, info


[-- Attachment #1.1.1: Type: text/plain, Size: 475 bytes --]

On 7/31/19 1:34 PM, Ludovic Desroches wrote:
> On Sun, Jul 28, 2019 at 11:04:02PM +0200, Uwe Kleine-König wrote:
>>
>> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
> 
> As I can confirm it's not an April fool!
> Reviwed-by: Ludovic Desroches <ludovic.desroches@microchip.com>

s/Reviwed/Reviewed/

Not sure who will pick this up and which automatisms are used. This
might need manual fixup or attention to be picked up at all.

Best regards
Uwe


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl"
  2019-07-28 21:04 ` [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl" Uwe Kleine-König
  2019-07-29 22:34   ` Rob Herring
  2019-07-31 11:34   ` Ludovic Desroches
@ 2019-08-12 20:54   ` Alexandre Belloni
  2 siblings, 0 replies; 10+ messages in thread
From: Alexandre Belloni @ 2019-08-12 20:54 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Mark Rutland, devicetree, Ludovic Desroches, Rob Herring, info,
	linux-arm-kernel

On 28/07/2019 23:04:02+0200, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-08-12 20:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-28 21:04 [PATCH 0/2] at91: add support for Arietta G25 Uwe Kleine-König
2019-07-28 21:04 ` [PATCH 1/2] dts: add vendor prefix "acme" for "Acme Systems srl" Uwe Kleine-König
2019-07-29 22:34   ` Rob Herring
2019-07-31 11:34   ` Ludovic Desroches
2019-07-31 21:48     ` Uwe Kleine-König
2019-08-12 20:54   ` Alexandre Belloni
2019-07-28 21:04 ` [PATCH 2/2] ARM: dts: at91: add support for Arietta G25 Uwe Kleine-König
2019-07-31 11:36   ` Ludovic Desroches
2019-07-31 13:18     ` Ludovic Desroches
2019-07-31 12:27   ` Stefan Wahren

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).