Received: by 10.223.185.116 with SMTP id b49csp802805wrg; Fri, 23 Feb 2018 07:04:27 -0800 (PST) X-Google-Smtp-Source: AH8x225xjriMT/QJQYxIWiXH8PIx6BOYGn9Raq4uacPTYbBH8ADy0jtlcBwBrAGqOby6tPlYMOik X-Received: by 10.101.74.208 with SMTP id c16mr1701233pgu.116.1519398267098; Fri, 23 Feb 2018 07:04:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519398267; cv=none; d=google.com; s=arc-20160816; b=Jqqc2N5LEeaFfWWM3o5xfNtxTQjs26FAvCqREQiPlH7MzIz9RB0Wnay/uwxb+ZX98l e0ZSuCOGVRPAmvxWfyXz23tzcvw7V6fPE0irtDPCn30munfqusSe3MBNvLENkaZ+9AWL HS4lJitR8aTd6dNBgIKtS+Bq8dkVAK5ZQoyi5gL+/jOOKULXtAhGMXMBmadXpnKedl9f JvykH5h3aF5fRV39jxPdRaY0G2vwNrELorhJ8YyU5V3DdiDJ3DM624gV5/qHXBWSYcdQ mVFhrmK/FWRNh+SqkFeGS7HBFvHAwv2F0ZLnC6MQmTYqmQNy2pwShQRFI9kQotmonHLO aP+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=XTBmTo3ZtnNhAx9ldUB0WuEamZioC+uMNMg7cIF/LUs=; b=oPFIRv45/rCepzx7qKVKMYisRG3N5/+gTPdg+i9+JpcOM/xiTpFvz/iiID0xO91aSs xWg+33Z8FNRvgS2cUg6hILMS1uw3CFctIE8Q8UAP9qG6FLJODLwwMvTvTiRJSYbzubSX iSlepgAV2zNrahZSOYb4Mq/CDTkmg489sw0mjJy9XC6YR7i1LQ2eS51to002BiDeiz2q iXp7JoHD2o/kQ/QuNdm0Bl6krnezL+Brxxw5n9LF+/8ptXrnGmssDB8iFmo0xlwYvYxb RuoCU261gRL30ii5aV3TC6j4kb8RNhJLQMSrErEMWVNAHPwNHcKcrwAPFM0nFx5wSmt+ 2clA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=W0OoXgRn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3-v6si988368plo.608.2018.02.23.07.03.57; Fri, 23 Feb 2018 07:04:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=W0OoXgRn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751717AbeBWPB3 (ORCPT + 99 others); Fri, 23 Feb 2018 10:01:29 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:55435 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751579AbeBWPA2 (ORCPT ); Fri, 23 Feb 2018 10:00:28 -0500 Received: by mail-wm0-f65.google.com with SMTP id q83so5201474wme.5 for ; Fri, 23 Feb 2018 07:00:27 -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=XTBmTo3ZtnNhAx9ldUB0WuEamZioC+uMNMg7cIF/LUs=; b=W0OoXgRnqxuo9J2SIdifFdL7/O+1dCffC/8//C6AFDn9/Wl3CdQIkosW+dnaCiXlHw 7yIiS2Okv6URvG29w8WQBNPsAnUJ5pLMEhI7KyCreYzyOp+6weXEjspgXUeA7LRt3bwC e3m3yiP8A4SnYGJA4wZOB4uAXsKrUiT5QmDPSs04QIYptiuJN2XuEmygBKzz2J0HuaYY oAxhzCMHgsLnE9T1pxLSAXy6LZHZdtbcuyO1aYsRypu0CFIFjrgqhkUsx7J9CrOoqGJ5 Xra8HqJeotSDhX3CTsIFyHa/FF/IhVvCl4rB46w9STVqV3gNX21Wwvp8+dh+aehhr9Ew Eysw== 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=XTBmTo3ZtnNhAx9ldUB0WuEamZioC+uMNMg7cIF/LUs=; b=rHGn4bT5Uom4tc1X3BNiPP1jKToXBp0JyQUxT70aL0cGVN4Zwh4I3IQDeARXbAeC2v ByBBUWQBFsJYxmuNha3+b27c7WqnkHvA94UoYgOMEKvpFCapLK2qDJYxNpKpX3TBXoF/ hF0kMucZc5VD8l556BJgFNdUuTCUG6k4R2N9RBzO+hsoSChtdXcZlS4TWPDyItwZg3aD EYIB5eRsvgMgMc2PPpLTFrCP90Mi7+vwreYGRAC9I0iOgnayhAZlayflveIg2XITBigc MVS+E+QaXm7pJNjIhEtiSijv6euLI4QStC/GHhXNZj71t/nF76JQ6b6bWrPZuik/9PoI Zz2g== X-Gm-Message-State: APf1xPCWYtBI1Fc+TIeRn1ER1rSS1PXHTJ6xeNQmZtgccjCdGFzDEu/J VeSecOUGnChKK9VzbRPohY5OcQ== X-Received: by 10.28.91.17 with SMTP id p17mr1940261wmb.151.1519398026874; Fri, 23 Feb 2018 07:00:26 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id k13sm2436845wrd.61.2018.02.23.07.00.26 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 23 Feb 2018 07:00:26 -0800 (PST) From: Michal Simek To: devicetree@vger.kernel.org Cc: monstr@monstr.eu, Steffen Trumtrar , linux-kernel@vger.kernel.org, Peter Crosthwaite , Rob Herring , Rob Herring , Mark Rutland , Josh Cartwright , Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/5] arm: zynq: Add Xilinx cc108 board Date: Fri, 23 Feb 2018 16:00:19 +0100 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Changes in v2: - Record compatible string to xilinx.txt Documentation/devicetree/bindings/arm/xilinx.txt | 5 ++ arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-cc108.dts | 75 ++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-cc108.dts diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt index 549e70a022cb..425c74fcc560 100644 --- a/Documentation/devicetree/bindings/arm/xilinx.txt +++ b/Documentation/devicetree/bindings/arm/xilinx.txt @@ -6,6 +6,11 @@ shall have the following properties. Required root node properties: - compatible = "xlnx,zynq-7000"; +Additional compatible strings: + +- Xilinx internal board cc108 + "xlnx,zynq-cc108" + --------------------------------------------------------------- Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindings diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ade7a38543dc..c6810e84d4d7 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1062,6 +1062,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>; +}; -- 1.9.1