From patchwork Wed Jan 17 14:41:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 10169393 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A5DB6603B5 for ; Wed, 17 Jan 2018 14:41:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9318D26AE3 for ; Wed, 17 Jan 2018 14:41:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 877EA274D1; Wed, 17 Jan 2018 14:41:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AD1C226AE3 for ; Wed, 17 Jan 2018 14:41:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=/dMPWCq/X8vOkX00N9h+zcBraa1/rLjC9fyNKkqnIIk=; b=TSl3EM5FkOY3QimjnC2kSAsiCB JbyDVchhmR9m/fqF5FXUuWe0skUsJiaP0WbTTdQO/q2mnVq6GnMIMeHES5zjcIYoMGaktr2q/+pII Uorpyuj7hDh/cPT+NHHJqewgwXkcSEFLkVnpv7XkO5YORewKLzL4k5HIYnVksB7RxWq7r7OSqn0mh yXXeHfzIRWjgr2ehfN7VQhBi1fSt35MW5N+muO2atQM07g5IQLQAgm3Sw0JU4Kr32X0EiTpywi4Ez mNjqGOgnhOtpfM7ZbRgWZcNe4osZtJ4pkpnzk4jokCoeghYbOLksHhZJzETKg2A0b8xpkKAivvOZZ unTdUGcQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eboua-0003XR-Ea; Wed, 17 Jan 2018 14:41:56 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ebou7-0003JA-5d for linux-arm-kernel@lists.infradead.org; Wed, 17 Jan 2018 14:41:42 +0000 Received: by mail-wr0-x244.google.com with SMTP id f11so8618444wre.4 for ; Wed, 17 Jan 2018 06:41:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=zAncI/p028RhvN+DFv2PKvVQN5w527cOPTXRSiadymU=; b=CSg9LkBqbXA07b7Vd6/wzAZFY3yPR0bQ82RxFUTCklP4DrdqtSRNA8atv0zTHgCI10 OzbLKbNtwZ7nGgD5j0oupOqv773AFuocJRHUtisEU2mYH/akiFekScncZSyHdJDSyrxN vxgUCDQSYLQtbwMCt5I2S0mXy6g3gCPPigJiHn8q/M56zt8KCvwFi1ByCJhiaAyu3cGr bkeY6q1aZWa3hBYzLLvZtCYIquIhgH67VTI45ZZKiUY+CcS9gRMo74922xk8p1fzuuOP T/9Lz5Y9+BOBJCbLTsbNLqA45guGHUdBue07udtlmTgd0gUlQLoeorrKKV0cmMPj+yVy fokQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=zAncI/p028RhvN+DFv2PKvVQN5w527cOPTXRSiadymU=; b=jrfEF71bGI8Q6gQz38zs8wLcrBNV586Mh0fu1P0veKVtvUaWZ2GjeFNlOihbKvXVCJ yGS3Ca3KpxIJ0PlLeMMAAcebwTEaRn5536aCpRraKLZLzH3APnYrQr6EAuq5talN0P2J 6SONbasgpOmuPC54V74F5V5T0jGlsIr1Yyrp4SAmMvHavTMLjlMmSz0J9YORKSwEg4RB X3E3nGEtx+J/opUMRvwbA1b2keYJQ3Er8WG1g0l5dRNiZCb564G/uZUkMeraiT/VC559 abVlaLWeMY3bSbkDdiJlSSLtavBoL47NkNjh9DXG3jMljtnl4DDEn7MFqe8sRlztmyt3 33YQ== X-Gm-Message-State: AKwxytcvFZCr3ESy+nf+2jHjZ5so/YZT54ud5S6ekAJobiQWB1fqcfve 8LVRsq24vhWmK3hmNsOT1pQJbA== X-Google-Smtp-Source: ACJfBotcGn+I/yoC+RxHOU7dpEHO9UtBwmje1cg/R4pNbOyedjee2iM0XnzgrvT0wcmkq2uTYvEj3g== X-Received: by 10.223.162.142 with SMTP id s14mr2769962wra.175.1516200076724; Wed, 17 Jan 2018 06:41:16 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id y19sm3675353wrg.84.2018.01.17.06.41.16 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 17 Jan 2018 06:41:16 -0800 (PST) From: Michal Simek To: devicetree@vger.kernel.org Subject: [PATCH 1/5] arm: zynq: Add Xilinx cc108 board Date: Wed, 17 Jan 2018 15:41:09 +0100 Message-Id: <2dd39101153bb1985180c856f17bd60ca79d620f.1516200065.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Josh Cartwright , Peter Crosthwaite , monstr@monstr.eu, linux-kernel@vger.kernel.org, Rob Herring , Rob Herring , Russell King , Steffen Trumtrar , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The board contains 7z010 with 512MB memory, ethernet, qspi, uart, usbs and sd. But board is not supporting booting from sd card. Signed-off-by: Michal Simek --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-cc108.dts | 75 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-cc108.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d0381e9caf21..679cd258bc1f 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1036,6 +1036,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \ wm8750-apc8750.dtb \ wm8850-w70v2.dtb dtb-$(CONFIG_ARCH_ZYNQ) += \ + zynq-cc108.dtb \ zynq-microzed.dtb \ zynq-parallella.dtb \ zynq-zc702.dtb \ diff --git a/arch/arm/boot/dts/zynq-cc108.dts b/arch/arm/boot/dts/zynq-cc108.dts new file mode 100644 index 000000000000..1a0f631c1d8d --- /dev/null +++ b/arch/arm/boot/dts/zynq-cc108.dts @@ -0,0 +1,75 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Xilinx CC108 board DTS + * + * (C) Copyright 2007-2018 Xilinx, Inc. + * (C) Copyright 2007-2013 Michal Simek + * (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd + * + * Michal SIMEK + */ +/dts-v1/; +/include/ "zynq-7000.dtsi" + +/ { + compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; + model = "Xilinx Zynq"; + + aliases { + ethernet0 = &gem0; + serial0 = &uart0; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x20000000>; + }; + + usb_phy0: phy0 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + }; + + usb_phy1: phy1 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + }; +}; + +&gem0 { + status = "okay"; + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy>; + + ethernet_phy: ethernet-phy@1 { + reg = <1>; + device_type = "ethernet-phy"; + }; +}; + +&sdhci1 { + status = "okay"; + broken-cd ; + wp-inverted ; +}; + +&uart0 { + status = "okay"; +}; + +&usb0 { + status = "okay"; + dr_mode = "host"; + usb-phy = <&usb_phy0>; +}; + +&usb1 { + status = "okay"; + dr_mode = "host"; + usb-phy = <&usb_phy1>; +};