From patchwork Thu Sep 13 18:05:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 146636 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp892505ljw; Thu, 13 Sep 2018 11:06:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYHaUd573vtUVkAXOMc9jpa5dc/gKd8ZcZSbdo6h11DEUVEu79wgtHqlre5CJB7sLAUR/zg X-Received: by 2002:a63:d09:: with SMTP id c9-v6mr8267981pgl.314.1536861961172; Thu, 13 Sep 2018 11:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536861961; cv=none; d=google.com; s=arc-20160816; b=dDaQe4rcUcUAwH/Vd/0H0wnr8YcHsTX/+ul1cR7eXg0cuBBc5ZpqNlbRtK8Lhgn/ra RZdpOYngUs9FMMboq95sW0FAyakV2ckSVcbecYT7cESyK370wGrdSgk0Ey1cJCuJxpgj AwACQCygG0+7Y/oiwStAZPHgdWKInhI7kc0ZR8yI7T31WSqj782gW+kCvJr4jKC0OhL5 C0fEeVgeoxnlJ+fFztHwjNs6dH47fswMprsOsQs4xxPQZI9GPr4eyW9pm/EzBLpHiPPm kGfJE8YkFBkOakH6DJnpGSRwbcesH2KPTOqlIJRYu4xtUcIEunuraKlvOOA4IUq6r4C2 N94w== 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=59lQH9Q/QmZtcJtpBlnVqOngV0HBlFi1sO1Cx4uHtJ8=; b=w45KfbnCGrYWthU2t89tjMemZO3PgcKwyRzjJvcJl+Dt9axixQ0yPPysp4hbEUyn2B Ck5Ldx4kR2Y8a2hskyRM9UUjh+YZy+IWpZkXYdDk6FVNKstIdaqJfAEDP4QFyTgy9rzh xGI6hL3REhDWd5gzejlY4UqiHAp0tcxqKLbjkSWp4rWslRdqBAP2BbOOkT5n4Lbz5Eog DMi3LgyYIOyk74QK/DVFjRJyGXLQdd2dKyK0p6iR6JtkuoPhvL2jesT3bUhmDFwSmtw4 MeeGI+isw6/IuDkrhuA/gtf84n5INJ2GJTkH+DE09ZHG08nZPih1634VXDCT9wi4Xt7j dDrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V0rzI8v8; 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 w20-v6si4512569pgf.434.2018.09.13.11.06.00; Thu, 13 Sep 2018 11:06:01 -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=V0rzI8v8; 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 S1727693AbeIMXQf (ORCPT + 6 others); Thu, 13 Sep 2018 19:16:35 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:41453 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726862AbeIMXQe (ORCPT ); Thu, 13 Sep 2018 19:16:34 -0400 Received: by mail-pg1-f194.google.com with SMTP id s15-v6so3105680pgv.8 for ; Thu, 13 Sep 2018 11:05:59 -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=59lQH9Q/QmZtcJtpBlnVqOngV0HBlFi1sO1Cx4uHtJ8=; b=V0rzI8v8frt3DBR1Pfb4qLiFxuc1VyRv6tO4pOPCjbPZquX/VTIcFljPC2wxVBXWpt fgtoMaZ2m12TEJbMfnVSpGpklJFdxYNWFPXxnPLI8DsQp4XntOfeSgiaBzQ1A/c9QQiC sv65XV0YhCXRa/z/uFCsve/P3nmHE7V5eunNs= 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=59lQH9Q/QmZtcJtpBlnVqOngV0HBlFi1sO1Cx4uHtJ8=; b=Gjb6Q3uQd5qtxDTXBQkwc7WDUUKV0wobTfFU/eFA80p7kD+nYCK0QiiWcRiWXGxu7s vAQejiW/tAs6RhjayIMWef+calPIcfKCSJRUndEsJmydfCeaAqrgIzSKUzkgfJyPy0ck RV5j4CDof+/qjMc2PYSliGEB48FLSiLBHskdVIWww0bDoSo51oIbI4isPL1vYf1UxGND W/dqsQdUdb1IB4eTBLUCR3aCqpICaHIic5HCeBMXNCe2NjUwfBTdJNuIxB8UZ1W6dsSu CQ7Z46hkc8cNKc4KN2aC9T5hPu/vv3AoBM+QaA6my2KcphplEaGnJGdHzQAz73HNJuRy ysxQ== X-Gm-Message-State: APzg51CbD1S0Sg9QwvZ8oDMEdUnEHnNKkNABKfWOiHDAvOkJUnI7OiU/ tZw6FpZ2IsLW1wXzZzvTdlJj X-Received: by 2002:a63:4204:: with SMTP id p4-v6mr8038590pga.200.1536861958922; Thu, 13 Sep 2018 11:05:58 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6115:a36e:955b:f94d:4607:e9b9]) by smtp.gmail.com with ESMTPSA id u184-v6sm8856802pgd.46.2018.09.13.11.05.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 11:05:58 -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 v3 0/4] Add 96Boards Rock960 CE board support Date: Thu, 13 Sep 2018 23:35:41 +0530 Message-Id: <20180913180545.29756-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. Thanks, Mani Changes in v3: * Moved usb and pcie nodes to common dtsi and kept only the properties which differ in board specific dts. * Updated the common dtsi commit description. 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 | 524 +---------------- .../boot/dts/rockchip/rk3399-rock960.dts | 52 ++ .../boot/dts/rockchip/rk3399-rock960.dtsi | 542 ++++++++++++++++++ 5 files changed, 604 insertions(+), 519 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