All of lore.kernel.org
 help / color / mirror / Atom feed
From: nobuhiro.iwamatsu@cybertrust.co.jp (Nobuhiro Iwamatsu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] arm: dts: zynq: Add Digilent Zybo Z7 board
Date: Wed, 28 Feb 2018 10:52:53 +0900	[thread overview]
Message-ID: <20180228105253.13b8f8f7@debmouse> (raw)
In-Reply-To: <19b6dce3-4ff0-24a6-4777-71ac33a9e7f6@xilinx.com>

Hi, Michal.

Thanks for your review.

On Tue, 27 Feb 2018 14:02:24 +0100
Michal Simek <michal.simek@xilinx.com> wrote:

> On 26.2.2018 01:59, Nobuhiro Iwamatsu wrote:
> > This add a DTS for the Digilent Zybo Z7 board.
> > This board is the successor board of Zybo, these are almost the
> > same except for ps-clk-frequency specifications.
> > 
> > Signed-off-by: Nobuhiro Iwamatsu
> > <nobuhiro.iwamatsu@cybertrust.co.jp> ---
> >  arch/arm/boot/dts/Makefile         |  3 +-
> >  arch/arm/boot/dts/zynq-zybo-z7.dts | 65
> > ++++++++++++++++++++++++++++++++++++++ 2 files changed, 67
> > insertions(+), 1 deletion(-) create mode 100644
> > arch/arm/boot/dts/zynq-zybo-z7.dts
> > 
> > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> > index ade7a38543dc..62605d600681 100644
> > --- a/arch/arm/boot/dts/Makefile
> > +++ b/arch/arm/boot/dts/Makefile
> > @@ -1067,7 +1067,8 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \
> >  	zynq-zc702.dtb \
> >  	zynq-zc706.dtb \
> >  	zynq-zed.dtb \
> > -	zynq-zybo.dtb
> > +	zynq-zybo.dtb \
> > +	zynq-zybo-z7.dtb
> >  dtb-$(CONFIG_MACH_ARMADA_370) += \
> >  	armada-370-db.dtb \
> >  	armada-370-dlink-dns327l.dtb \
> > diff --git a/arch/arm/boot/dts/zynq-zybo-z7.dts
> > b/arch/arm/boot/dts/zynq-zybo-z7.dts new file mode 100644
> > index 000000000000..97e487913f8f
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/zynq-zybo-z7.dts
> > @@ -0,0 +1,65 @@
> > +/*
> > + * Digilent Zybo Z7 board DTS
> > + *
> > + *  Copyright (C) 2017 Cybertrust Japan Co., Ltd.
> > + *  Copyright (C) 2017 Nobuhiro Iwamatsu
> > <nobuhiro.iwamatsu@cybertrust.co.jp>
> > + *
> > + *  SPDX-License-Identifier:	GPL-2.0+  
> 
> This should be the first line with starting //

OK, I'll fix this.

> 
> > + */
> > +/dts-v1/;
> > +#include "zynq-7000.dtsi"
> > +
> > +/ {
> > +	model = "Zynq ZYBO Z7 Development Board";
> > +	compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000";  
> 
> Please based it on this series:
> https://www.mail-archive.com/linux-kernel at vger.kernel.org/msg1618031.html
> or https://github.com/Xilinx/linux-xlnx/tree/zynq/dt
> 

OK. I will rebase dt branch.

> And you should record digilent,zynq-zybo-z7 compatible string.
> 
> I have not a problem if you want to extend xilinx.txt file with it.
> Documentation/devicetree/bindings/arm/xilinx.txt
> 

I see. I'll add this into next patch.

> 
> 
> > +
> > +	aliases {
> > +		ethernet0 = &gem0;
> > +		serial0 = &uart1;
> > +	};
> > +
> > +	memory {  
> 
> this should be memory at 0

My bad. I will fix it. Thanks!

> 
> > +		device_type = "memory";
> > +		reg = <0x0 0x20000000>;
> > +	};
> > +
> > +	chosen {
> > +		bootargs = "";
> > +		stdout-path = "serial0:115200n8";
> > +	};
> > +
> > +	usb_phy0: phy0 {
> > +		#phy-cells = <0>;
> > +		compatible = "usb-nop-xceiv";
> > +		reset-gpios = <&gpio0 46 1>;
> > +	};
> > +};
> > +
> > +&clkc {
> > +	ps-clk-frequency = <33333333>;
> > +};
> > +
> > +&gem0 {
> > +	status = "okay";
> > +	phy-mode = "rgmii-id";
> > +	phy-handle = <&ethernet_phy>;
> > +
> > +	ethernet_phy: ethernet-phy at 0 {
> > +		reg = <0>;
> > +		device_type = "ethernet-phy";
> > +	};
> > +};
> > +
> > +&sdhci0 {
> > +	status = "okay";
> > +};
> > +
> > +&uart1 {
> > +	status = "okay";
> > +};
> > +
> > +&usb0 {
> > +	status = "okay";
> > +	dr_mode = "host";
> > +	usb-phy = <&usb_phy0>;
> > +};
> >   
> 
> Thanks,
> Michal
> 

Best regards,
  Nobuhiro

      reply	other threads:[~2018-02-28  1:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-26  0:59 [PATCH 1/2] arm: dts: zynq: Add Digilent Zybo Z7 board Nobuhiro Iwamatsu
2018-02-26  0:59 ` [PATCH 2/2] arm: dts: zynq: Extract common Digilent Zybo board support Nobuhiro Iwamatsu
2018-02-27 12:54   ` Michal Simek
2018-02-28  1:49     ` Nobuhiro Iwamatsu
2018-02-27 13:02 ` [PATCH 1/2] arm: dts: zynq: Add Digilent Zybo Z7 board Michal Simek
2018-02-28  1:52   ` Nobuhiro Iwamatsu [this message]

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=20180228105253.13b8f8f7@debmouse \
    --to=nobuhiro.iwamatsu@cybertrust.co.jp \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 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.