Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1307001 > unrolled thread

[PATCH] arm: dts: zynq: Add MicroZed board support

Started byJagan Teki <jteki@openedev.com>
First post2016-01-12 07:00 +0100
Last post2016-01-12 13:10 +0100
Articles 5 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] arm: dts: zynq: Add MicroZed board support Jagan Teki <jteki@openedev.com> - 2016-01-12 07:00 +0100
    Re: [PATCH] arm: dts: zynq: Add MicroZed board support Moritz Fischer <moritz.fischer@ettus.com> - 2016-01-12 08:40 +0100
    Re: [PATCH] arm: dts: zynq: Add MicroZed board support Michal Simek <michal.simek@xilinx.com> - 2016-01-12 11:50 +0100
      Re: [PATCH] arm: dts: zynq: Add MicroZed board support Jagan Teki <jteki@openedev.com> - 2016-01-12 12:30 +0100
        Re: [PATCH] arm: dts: zynq: Add MicroZed board support Michal Simek <michal.simek@xilinx.com> - 2016-01-12 13:10 +0100

#1307001 — [PATCH] arm: dts: zynq: Add MicroZed board support

FromJagan Teki <jteki@openedev.com>
Date2016-01-12 07:00 +0100
Subject[PATCH] arm: dts: zynq: Add MicroZed board support
Message-ID<qQ09P-55e-1@gated-at.bofh.it>
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";
+};
-- 
1.9.1

[toc] | [next] | [standalone]


#1307050

FromMoritz Fischer <moritz.fischer@ettus.com>
Date2016-01-12 08:40 +0100
Message-ID<qQ1IB-6a2-3@gated-at.bofh.it>
In reply to#1307001
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

[toc] | [prev] | [next] | [standalone]


#1307252

FromMichal Simek <michal.simek@xilinx.com>
Date2016-01-12 11:50 +0100
Message-ID<qQ4Gu-8a9-25@gated-at.bofh.it>
In reply to#1307001
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

[toc] | [prev] | [next] | [standalone]


#1307292

FromJagan Teki <jteki@openedev.com>
Date2016-01-12 12:30 +0100
Message-ID<qQ5jc-cc-23@gated-at.bofh.it>
In reply to#1307252
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@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.

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

[toc] | [prev] | [next] | [standalone]


#1307328

FromMichal Simek <michal.simek@xilinx.com>
Date2016-01-12 13:10 +0100
Message-ID<qQ5VT-FV-15@gated-at.bofh.it>
In reply to#1307292
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@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.
> 
> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web