All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] Ethernut 5 board support
@ 2012-04-24 14:32 Tim Schendekehl
  2012-04-24 14:43 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Schendekehl @ 2012-04-24 14:32 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for the Ethernut 5 open hardware design, based
on Atmel's AT91SAM9XE512 SoC.

Signed-off-by: Tim Schendekehl <tim.schendekehl@egnite.de>
---
V3:
 - More specific compatible property for nxp,pcf8563.
 - Remove pmmc i2c-device.

 arch/arm/boot/dts/ethernut5.dts |   84 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 84 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/ethernut5.dts

diff --git a/arch/arm/boot/dts/ethernut5.dts b/arch/arm/boot/dts/ethernut5.dts
new file mode 100644
index 0000000..35c3830
--- /dev/null
+++ b/arch/arm/boot/dts/ethernut5.dts
@@ -0,0 +1,84 @@
+/*
+ * ethernut5.dts - Device Tree file for Ethernut 5 board
+ *
+ * Copyright (C) 2012 egnite GmbH <info@egnite.de>
+ *
+ * Licensed under GPLv2.
+ */
+/dts-v1/;
+/include/ "at91sam9260.dtsi"
+
+/ {
+	model = "Ethernut 5";
+	compatible = "egnite,ethernut5", "atmel,at91sam9260", "atmel,at91sam9";
+
+	chosen {
+		bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 mtdparts=atmel_nand:128m(root),896m(data) rw rootfstype=jffs2";
+	};
+
+	memory {
+		reg = <0x20000000 0x08000000>;
+	};
+
+	ahb {
+		apb {
+			dbgu: serial at fffff200 {
+				status = "okay";
+			};
+
+			usart0: serial at fffb0000 {
+				status = "okay";
+			};
+
+			usart1: serial at fffb4000 {
+				status = "okay";
+			};
+
+			macb0: ethernet at fffc4000 {
+				phy-mode = "rmii";
+				status = "okay";
+			};
+
+			usb1: gadget at fffa4000 {
+				atmel,vbus-gpio = <&pioC 5 0>;
+				status = "okay";
+			};
+		};
+
+		nand0: nand at 40000000 {
+			nand-bus-width = <8>;
+			nand-ecc-mode = "soft";
+			nand-on-flash-bbt;
+			status = "okay";
+
+			gpios = <0
+				 &pioC 14 0
+				 0
+				>;
+
+			root at 0 {
+				label = "root";
+				reg = <0x0 0x08000000>;
+			};
+
+			data at 20000 {
+				label = "data";
+				reg = <0x08000000 0x38000000>;
+			};
+		};
+
+		usb0: ohci at 00500000 {
+			num-ports = <2>;
+			status = "okay";
+		};
+	};
+
+	i2c at 0 {
+		status = "okay";
+
+		pcf8563 at 50 {
+			compatible = "nxp,pcf8563";
+			reg = <0x51>;
+		};
+	};
+};
-- 
1.7.1

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

* [PATCH v3] Ethernut 5 board support
  2012-04-24 14:32 [PATCH v3] Ethernut 5 board support Tim Schendekehl
@ 2012-04-24 14:43 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-24 14:43 UTC (permalink / raw)
  To: linux-arm-kernel

On 16:32 Tue 24 Apr     , Tim Schendekehl wrote:
> Add support for the Ethernut 5 open hardware design, based
> on Atmel's AT91SAM9XE512 SoC.
> 
> Signed-off-by: Tim Schendekehl <tim.schendekehl@egnite.de>
> ---
> V3:
>  - More specific compatible property for nxp,pcf8563.
>  - Remove pmmc i2c-device.
> 
you miss the entry in arch/arm/mach-at91/Makefile.boot

>  arch/arm/boot/dts/ethernut5.dts |   84 +++++++++++++++++++++++++++++++++++++++
>  1 files changed, 84 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/boot/dts/ethernut5.dts
> 
> diff --git a/arch/arm/boot/dts/ethernut5.dts b/arch/arm/boot/dts/ethernut5.dts
> new file mode 100644
> index 0000000..35c3830
> --- /dev/null
> +++ b/arch/arm/boot/dts/ethernut5.dts
> @@ -0,0 +1,84 @@
> +/*
> + * ethernut5.dts - Device Tree file for Ethernut 5 board
> + *
> + * Copyright (C) 2012 egnite GmbH <info@egnite.de>
> + *
> + * Licensed under GPLv2.
> + */
> +/dts-v1/;
> +/include/ "at91sam9260.dtsi"
> +
> +/ {
> +	model = "Ethernut 5";
> +	compatible = "egnite,ethernut5", "atmel,at91sam9260", "atmel,at91sam9";
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 mtdparts=atmel_nand:128m(root),896m(data) rw rootfstype=jffs2";
descrisbe the partiction via DT

Best Regards,
J.

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

end of thread, other threads:[~2012-04-24 14:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24 14:32 [PATCH v3] Ethernut 5 board support Tim Schendekehl
2012-04-24 14:43 ` Jean-Christophe PLAGNIOL-VILLARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.