From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965065AbcALLZe (ORCPT ); Tue, 12 Jan 2016 06:25:34 -0500 Received: from server159.web-hosting.com ([68.65.120.118]:49983 "EHLO s159.web-hosting.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S933917AbcALLZc (ORCPT ); Tue, 12 Jan 2016 06:25:32 -0500 X-Greylist: delayed 2116 seconds by postgrey-1.27 at vger.kernel.org; Tue, 12 Jan 2016 06:25:32 EST Message-ID: <5694DA56.70704@openedev.com> Date: Tue, 12 Jan 2016 16:19:58 +0530 From: Jagan Teki User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Michal Simek , linux-kernel@vger.kernel.org CC: devicetree@vger.kernel.org, Soren Brinkmann Subject: Re: [PATCH] arm: dts: zynq: Add MicroZed board support References: <1452578026-4496-1-git-send-email-jteki@openedev.com> <5694D8D8.1050204@xilinx.com> In-Reply-To: <5694D8D8.1050204@xilinx.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server159.web-hosting.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - openedev.com X-Get-Message-Sender-Via: server159.web-hosting.com: authenticated_id: jteki@openedev.com X-Authenticated-Sender: server159.web-hosting.com: jteki@openedev.com X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> Cc: Michal Simek >> Signed-off-by: Jagan Teki >> --- >> 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 >> + * >> + * 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