From patchwork Tue Sep 11 02:30:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 146384 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3139718ljw; Mon, 10 Sep 2018 19:30:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZcW07LaYC/QX0WGj+ReklSjqjJZqRtNbIvRWG1W8HmYscuvkiFVw13Vf5C1IEiR/rb+T+y X-Received: by 2002:a62:d113:: with SMTP id z19-v6mr26623152pfg.98.1536633050871; Mon, 10 Sep 2018 19:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536633050; cv=none; d=google.com; s=arc-20160816; b=0bVYz/W87JcF5qRTF1M0a07KFEiSGro6xhT96m6ZDCfbn+lsjse39/KZ0+hImxP1aW s8r8y/0xHr8PUKfL4nypK7gZCdIL2hn5WhVE5KUDHJ+06CMWLuQ1g5cUDYIvkfb39YfO afDPpzYQAZ/hhwunq9DYxHjvGomBqz1FSYgZ68j5v1N16RHZreeRdm7GsS4/sQlkrkuY g6UyuMNByIdQuglWzx082Gi7JDwdUi7GeTAMCuEf1KHGJ+AP1ZDSBCX4OX+PUMCzgHXc 0LRyYyIjcc4pkgKxo1RAQT4WivxzPQnnMCt80wkDS4dJW15NM2NrzfKCC974eAvvpXM/ MEMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Qk2/AFdbILgUG5e4boID6f7lJW8Mo8x0myVk+54ZP84=; b=P8bKcUq+9rFc1/MDOiyzsLas3GZISP4rjifypEAzrygidUzDlgAxb4MiZeVFiOYz8e S3AQITWikZSJethrasdjfHK2iQK5GHtchOQL6QUFcHY0vi5wnVX+xVWKZ1ontp2ldupm RfVaDMDLO4Cwh9xYlIDwb9dftnIffo7ZKvkoXl5RlfgnGCX2akXnpLsH61f10pp5B5Qq ajt013Q6qjxGkkzCvfY6rn6VYzOsuzWtWSsNv8LX2W+IRxlIeWCS2dnLWEMcE4yxAYnL O0WNcRI/I+LJJk+ufswgC4WDUHzUukan8LbSS6bjoRKFZd3d6sHfvWL+92/om515QE1T TyhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OGFkCLET; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12-v6si15995458plr.32.2018.09.10.19.30.50; Mon, 10 Sep 2018 19:30:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OGFkCLET; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726722AbeIKH1q (ORCPT + 6 others); Tue, 11 Sep 2018 03:27:46 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:42479 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbeIKH1q (ORCPT ); Tue, 11 Sep 2018 03:27:46 -0400 Received: by mail-pf1-f196.google.com with SMTP id l9-v6so11426121pff.9 for ; Mon, 10 Sep 2018 19:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Qk2/AFdbILgUG5e4boID6f7lJW8Mo8x0myVk+54ZP84=; b=OGFkCLETkuMWAbCxGJ68yThZayy0RYgj5fJIMNHtkBQO+jSdSuMCJyerJntU9/WQ64 /Mp38w9zlzXG8H8QzNbsx5W3cGwhWEzRj4znb9tfoe6ZYMXGbZU28UhY5p07+UJuePLc 4oQsDoUC9vNQke9M5DXpSy1pb/J8wWSlSPfyY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Qk2/AFdbILgUG5e4boID6f7lJW8Mo8x0myVk+54ZP84=; b=hr5fTQVUtlXgA16FiXhou5sXxqcgSpMoNheBPcc/smS7ahNivGIPKTC7wc5WFGbauR zp35UYcfLVKtWSq3Sr1o5DE/pxOubobSU8Xq3i5da5vVT5EdaS6J2jTzED+s4pY/VfQa SjZ1HBele/LjtU916Sdi6isVi9vlP96q2KvZqYHuPUjIac+vySQ018Q/22hrqbza2CG6 i/taaW1DS/Cjbm+H8mKvBLg7p1JwzM+xAx3VV1pdl+ieY1oFVbaRwD9SC75KvoURPZwZ AVoPa9b7Zq3vz++9on+8qRnBkQvtp+Zej1GTRE8ksCr7ain9BPxRCF3RKccb69/vLDRt SL2A== X-Gm-Message-State: APzg51CbgNzrTuXZ5kELXlbJg/158K/DiF87JJHAJJbtxg7Xa9wFGWmB d5vT7NiEOTO3bSNHord5FXdQ X-Received: by 2002:a63:fd06:: with SMTP id d6-v6mr25199955pgh.348.1536633048177; Mon, 10 Sep 2018 19:30:48 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7200:d313:f895:c3fd:ee92:ac72]) by smtp.gmail.com with ESMTPSA id y85-v6sm27025893pfa.170.2018.09.10.19.30.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 19:30:47 -0700 (PDT) From: Manivannan Sadhasivam To: heiko@sntech.de, robh+dt@kernel.org Cc: vicencb@gmail.com, shawn.lin@rock-chips.com, ezequiel@collabora.com, enric.balletbo@collabora.com, pbrobinson@gmail.com, tom@vamrs.com, dev@vamrs.com, stephen@vamrs.com, amit.kucheria@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v2 0/4] Add 96Boards Rock960 CE board support Date: Tue, 11 Sep 2018 08:00:27 +0530 Message-Id: <20180911023031.4892-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patchset adds 96Boards Rock960 CE board support. Rock960 CE (Consumer Edition) board is one of the member of 96Boards Consumer Edition and AI platform and is manufactured by Vamrs Limited. Most of the board configuration is shared with the Ficus board manufactured by vamrs, which is an Enterprise 96Board. For the sake of avoiding code duplication, a common rock960.dtsi file with common DT nodes for both boards and separate board specific DTS files has been added. To be specific, below are some of the key differences between both boards: 1. Different host enable GPIO for USB 2. Different power and reset GPIO for PCI-E 3. No Ethernet port on Rock960 While adding the board support, SD card Chip detection support is also added to the common dtsi file, shared by both boards. This series has been tested on Rock960 CE v1.2 board and expecting the Ficus board maintainer to test the relevant Ficus part. Thanks, Mani Changes in v2: * Changed the board compatible to "vamrs,rock960" Manivannan Sadhasivam (4): arm64: dts: rockchip: Split out common nodes for Rock960 based boards dt-bindings: arm: rockchip: Add binding for Rock960 board arm64: boot: dts: rockchip: Add support for Rock960 board arm64: dts: rockchip: Enable SD card detection for Rock960 boards .../devicetree/bindings/arm/rockchip.txt | 4 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3399-ficus.dts | 429 +---------------- .../boot/dts/rockchip/rk3399-rock960.dts | 139 ++++++ .../boot/dts/rockchip/rk3399-rock960.dtsi | 440 ++++++++++++++++++ 5 files changed, 585 insertions(+), 428 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock960.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi -- 2.17.1 Reviewed-by: Ezequiel Garcia