devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: dts: zynq: Add MicroZed board support
@ 2016-01-12  5:53 Jagan Teki
  2016-01-12  7:33 ` Moritz Fischer
  2016-01-12 10:43 ` Michal Simek
  0 siblings, 2 replies; 5+ messages in thread
From: Jagan Teki @ 2016-01-12  5:53 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Jagan Teki, Soren Brinkmann,
	Michal Simek

Added basic dts support for MicroZed board.

Cc: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
Cc: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Jagan Teki <jteki-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org>
---
 arch/arm/boot/dts/Makefile          |  1 +
 arch/arm/boot/dts/zynq-microzed.dts | 45 +++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 arch/arm/boot/dts/zynq-microzed.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 30bbc37..9eb52fa 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -725,6 +725,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \
 	wm8750-apc8750.dtb \
 	wm8850-w70v2.dtb
 dtb-$(CONFIG_ARCH_ZYNQ) += \
+	zynq-microzed.dtb \
 	zynq-parallella.dtb \
 	zynq-zc702.dtb \
 	zynq-zc706.dtb \
diff --git a/arch/arm/boot/dts/zynq-microzed.dts b/arch/arm/boot/dts/zynq-microzed.dts
new file mode 100644
index 0000000..a8c7d2b
--- /dev/null
+++ b/arch/arm/boot/dts/zynq-microzed.dts
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2015 Jagan Teki <jteki-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org>
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+/dts-v1/;
+/include/ "zynq-7000.dtsi"
+
+/ {
+	model = "Zynq MicroZED Development Board";
+	compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
+
+	aliases {
+		serial0 = &uart1;
+	};
+
+	memory {
+		device_type = "memory";
+		reg = <0x0 0x40000000>;
+	};
+
+	chosen {
+		bootargs = "earlyprintk";
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&clkc {
+	ps-clk-frequency = <33333333>;
+};
+
+&sdhci0 {
+	status = "okay";
+};
+
+&uart1 {
+	status = "okay";
+};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] arm: dts: zynq: Add MicroZed board support
  2016-01-12  5:53 [PATCH] arm: dts: zynq: Add MicroZed board support Jagan Teki
@ 2016-01-12  7:33 ` Moritz Fischer
  2016-01-12 10:43 ` Michal Simek
  1 sibling, 0 replies; 5+ messages in thread
From: Moritz Fischer @ 2016-01-12  7:33 UTC (permalink / raw)
  To: Jagan Teki
  Cc: Linux Kernel Mailing List, Devicetree List, Soren Brinkmann,
	Michal Simek

Hi Jagan,

On Mon, Jan 11, 2016 at 9:53 PM, Jagan Teki <jteki@openedev.com> wrote:
> Added basic dts support for MicroZed board.
>
> Cc: Soren Brinkmann <soren.brinkmann@xilinx.com>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Signed-off-by: Jagan Teki <jteki@openedev.com>

Feel free to add a Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>

Cheers,

Moritz

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

* Re: [PATCH] arm: dts: zynq: Add MicroZed board support
  2016-01-12  5:53 [PATCH] arm: dts: zynq: Add MicroZed board support Jagan Teki
  2016-01-12  7:33 ` Moritz Fischer
@ 2016-01-12 10:43 ` Michal Simek
       [not found]   ` <5694D8D8.1050204-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Michal Simek @ 2016-01-12 10:43 UTC (permalink / raw)
  To: Jagan Teki, linux-kernel; +Cc: devicetree, Soren Brinkmann, Michal Simek

On 12.1.2016 06:53, Jagan Teki wrote:
> Added basic dts support for MicroZed board.
> 
> Cc: Soren Brinkmann <soren.brinkmann@xilinx.com>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Signed-off-by: Jagan Teki <jteki@openedev.com>
> ---
>  arch/arm/boot/dts/Makefile          |  1 +
>  arch/arm/boot/dts/zynq-microzed.dts | 45 +++++++++++++++++++++++++++++++++++++
>  2 files changed, 46 insertions(+)
>  create mode 100644 arch/arm/boot/dts/zynq-microzed.dts
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 30bbc37..9eb52fa 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -725,6 +725,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \
>  	wm8750-apc8750.dtb \
>  	wm8850-w70v2.dtb
>  dtb-$(CONFIG_ARCH_ZYNQ) += \
> +	zynq-microzed.dtb \
>  	zynq-parallella.dtb \
>  	zynq-zc702.dtb \
>  	zynq-zc706.dtb \
> diff --git a/arch/arm/boot/dts/zynq-microzed.dts b/arch/arm/boot/dts/zynq-microzed.dts
> new file mode 100644
> index 0000000..a8c7d2b
> --- /dev/null
> +++ b/arch/arm/boot/dts/zynq-microzed.dts
> @@ -0,0 +1,45 @@
> +/*
> + * Copyright (C) 2015 Jagan Teki <jteki@openedev.com>
> + *
> + * This software is licensed under the terms of the GNU General Public
> + * License version 2, as published by the Free Software Foundation, and
> + * may be copied, distributed, and modified under those terms.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + * GNU General Public License for more details.
> + */
> +/dts-v1/;
> +/include/ "zynq-7000.dtsi"
> +
> +/ {
> +	model = "Zynq MicroZED Development Board";
> +	compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
> +
> +	aliases {
> +		serial0 = &uart1;
> +	};
> +
> +	memory {
> +		device_type = "memory";
> +		reg = <0x0 0x40000000>;
> +	};
> +
> +	chosen {
> +		bootargs = "earlyprintk";
> +		stdout-path = "serial0:115200n8";
> +	};
> +};
> +
> +&clkc {
> +	ps-clk-frequency = <33333333>;
> +};
> +
> +&sdhci0 {
> +	status = "okay";
> +};
> +
> +&uart1 {
> +	status = "okay";
> +};
> 

I would prefer to have full description of this board instead of partial
one. In U-Boot there is also qspi enabled. Board has also USB and
ethernet that's why all of these should be enabled and tested.

Thanks,
Michal

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

* Re: [PATCH] arm: dts: zynq: Add MicroZed board support
       [not found]   ` <5694D8D8.1050204-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
@ 2016-01-12 10:49     ` Jagan Teki
       [not found]       ` <5694DA56.70704-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Jagan Teki @ 2016-01-12 10:49 UTC (permalink / raw)
  To: Michal Simek, linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Soren Brinkmann

On Tuesday 12 January 2016 04:13 PM, Michal Simek wrote:
> On 12.1.2016 06:53, Jagan Teki wrote:
>> Added basic dts support for MicroZed board.
>>
>> Cc: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
>> Cc: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
>> Signed-off-by: Jagan Teki <jteki-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org>
>> ---
>>   arch/arm/boot/dts/Makefile          |  1 +
>>   arch/arm/boot/dts/zynq-microzed.dts | 45 +++++++++++++++++++++++++++++++++++++
>>   2 files changed, 46 insertions(+)
>>   create mode 100644 arch/arm/boot/dts/zynq-microzed.dts
>>
>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>> index 30bbc37..9eb52fa 100644
>> --- a/arch/arm/boot/dts/Makefile
>> +++ b/arch/arm/boot/dts/Makefile
>> @@ -725,6 +725,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \
>>   	wm8750-apc8750.dtb \
>>   	wm8850-w70v2.dtb
>>   dtb-$(CONFIG_ARCH_ZYNQ) += \
>> +	zynq-microzed.dtb \
>>   	zynq-parallella.dtb \
>>   	zynq-zc702.dtb \
>>   	zynq-zc706.dtb \
>> diff --git a/arch/arm/boot/dts/zynq-microzed.dts b/arch/arm/boot/dts/zynq-microzed.dts
>> new file mode 100644
>> index 0000000..a8c7d2b
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/zynq-microzed.dts
>> @@ -0,0 +1,45 @@
>> +/*
>> + * Copyright (C) 2015 Jagan Teki <jteki-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org>
>> + *
>> + * This software is licensed under the terms of the GNU General Public
>> + * License version 2, as published by the Free Software Foundation, and
>> + * may be copied, distributed, and modified under those terms.
>> + *
>> + * This program is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> + * GNU General Public License for more details.
>> + */
>> +/dts-v1/;
>> +/include/ "zynq-7000.dtsi"
>> +
>> +/ {
>> +	model = "Zynq MicroZED Development Board";
>> +	compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
>> +
>> +	aliases {
>> +		serial0 = &uart1;
>> +	};
>> +
>> +	memory {
>> +		device_type = "memory";
>> +		reg = <0x0 0x40000000>;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "earlyprintk";
>> +		stdout-path = "serial0:115200n8";
>> +	};
>> +};
>> +
>> +&clkc {
>> +	ps-clk-frequency = <33333333>;
>> +};
>> +
>> +&sdhci0 {
>> +	status = "okay";
>> +};
>> +
>> +&uart1 {
>> +	status = "okay";
>> +};
>>
>
> I would prefer to have full description of this board instead of partial
> one. In U-Boot there is also qspi enabled. Board has also USB and
> ethernet that's why all of these should be enabled and tested.

I have verified what all I added like uart, mmc ie why I described as 
basic support.

May be we can move this first and rest will add in future like USB and 
Ethernet. For qspi the driver is not mainlined yet.

-- 
Jagan
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] arm: dts: zynq: Add MicroZed board support
       [not found]       ` <5694DA56.70704-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org>
@ 2016-01-12 11:47         ` Michal Simek
  0 siblings, 0 replies; 5+ messages in thread
From: Michal Simek @ 2016-01-12 11:47 UTC (permalink / raw)
  To: Jagan Teki, Michal Simek, linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Soren Brinkmann

On 12.1.2016 11:49, Jagan Teki wrote:
> On Tuesday 12 January 2016 04:13 PM, Michal Simek wrote:
>> On 12.1.2016 06:53, Jagan Teki wrote:
>>> Added basic dts support for MicroZed board.
>>>
>>> Cc: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
>>> Cc: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
>>> Signed-off-by: Jagan Teki <jteki-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org>
>>> ---
>>>   arch/arm/boot/dts/Makefile          |  1 +
>>>   arch/arm/boot/dts/zynq-microzed.dts | 45
>>> +++++++++++++++++++++++++++++++++++++
>>>   2 files changed, 46 insertions(+)
>>>   create mode 100644 arch/arm/boot/dts/zynq-microzed.dts
>>>
>>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>>> index 30bbc37..9eb52fa 100644
>>> --- a/arch/arm/boot/dts/Makefile
>>> +++ b/arch/arm/boot/dts/Makefile
>>> @@ -725,6 +725,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \
>>>       wm8750-apc8750.dtb \
>>>       wm8850-w70v2.dtb
>>>   dtb-$(CONFIG_ARCH_ZYNQ) += \
>>> +    zynq-microzed.dtb \
>>>       zynq-parallella.dtb \
>>>       zynq-zc702.dtb \
>>>       zynq-zc706.dtb \
>>> diff --git a/arch/arm/boot/dts/zynq-microzed.dts
>>> b/arch/arm/boot/dts/zynq-microzed.dts
>>> new file mode 100644
>>> index 0000000..a8c7d2b
>>> --- /dev/null
>>> +++ b/arch/arm/boot/dts/zynq-microzed.dts
>>> @@ -0,0 +1,45 @@
>>> +/*
>>> + * Copyright (C) 2015 Jagan Teki <jteki-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org>
>>> + *
>>> + * This software is licensed under the terms of the GNU General Public
>>> + * License version 2, as published by the Free Software Foundation, and
>>> + * may be copied, distributed, and modified under those terms.
>>> + *
>>> + * This program is distributed in the hope that it will be useful,
>>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>>> + * GNU General Public License for more details.
>>> + */
>>> +/dts-v1/;
>>> +/include/ "zynq-7000.dtsi"
>>> +
>>> +/ {
>>> +    model = "Zynq MicroZED Development Board";
>>> +    compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
>>> +
>>> +    aliases {
>>> +        serial0 = &uart1;
>>> +    };
>>> +
>>> +    memory {
>>> +        device_type = "memory";
>>> +        reg = <0x0 0x40000000>;
>>> +    };
>>> +
>>> +    chosen {
>>> +        bootargs = "earlyprintk";
>>> +        stdout-path = "serial0:115200n8";
>>> +    };
>>> +};
>>> +
>>> +&clkc {
>>> +    ps-clk-frequency = <33333333>;
>>> +};
>>> +
>>> +&sdhci0 {
>>> +    status = "okay";
>>> +};
>>> +
>>> +&uart1 {
>>> +    status = "okay";
>>> +};
>>>
>>
>> I would prefer to have full description of this board instead of partial
>> one. In U-Boot there is also qspi enabled. Board has also USB and
>> ethernet that's why all of these should be enabled and tested.
> 
> I have verified what all I added like uart, mmc ie why I described as
> basic support.
> 
> May be we can move this first and rest will add in future like USB and
> Ethernet. For qspi the driver is not mainlined yet.

Adding USB, ethernet should be quite simple. It means if you have the
board please test it and send v2 with that.
Hopefully both 7010 and 7020 microzed boards are the same.

Thanks,
Michal

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-01-12 11:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-12  5:53 [PATCH] arm: dts: zynq: Add MicroZed board support Jagan Teki
2016-01-12  7:33 ` Moritz Fischer
2016-01-12 10:43 ` Michal Simek
     [not found]   ` <5694D8D8.1050204-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2016-01-12 10:49     ` Jagan Teki
     [not found]       ` <5694DA56.70704-oRp2ZoJdM/RWk0Htik3J/w@public.gmane.org>
2016-01-12 11:47         ` Michal Simek

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