From patchwork Mon Sep 10 15:13:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10594427 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8E95F109C for ; Mon, 10 Sep 2018 15:14:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C49428CB3 for ; Mon, 10 Sep 2018 15:14:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F78B28EEA; Mon, 10 Sep 2018 15:14:41 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 0ACD528CB3 for ; Mon, 10 Sep 2018 15:14:40 +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: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:In-Reply-To: References:List-Owner; bh=ebVMd1rlchWQoM5SvWq9gQs30C8jDMNXua8Ilubev84=; b=jht 2GPfPWPUBogjPBtmcFFR3ggGVOhe6jkJihNaRZS7zvwOazd65VByWsLVQbhN3MNT8Vu342JQlzsdO MuRqHsFQpnNTPo4SclkYzHMrz68W79Bw3g3jLp76LIHQ1h0HzYNjiGzF/603MVRkWl0S3BbjmflV0 KHSPmGufKWtCJvslWjBGdQHNlvj7hEYmeMuued0Is5ptgM49bxq14bQZaTwZQ6nZa6+STOiyorD3O pPg96/Gkazwy83pVu2/DgHVCh6AJnKUqdFYdHdOcGkfssogv4gs6zlZAohLcwd6XGggh5j7p4ZZL1 dJzpSkcSxfTHCiZiPkINKehTwyIOkag==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzNtb-0007te-6n; Mon, 10 Sep 2018 15:14:35 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzNtW-0007qq-Dy for linux-rockchip@lists.infradead.org; Mon, 10 Sep 2018 15:14:32 +0000 Received: by mail-pg1-x543.google.com with SMTP id y4-v6so10627160pgp.9 for ; Mon, 10 Sep 2018 08:14:19 -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=xUcd32/ZeufovhewLUv7VmgLTZI+Vf4BmqIl8W0Ph1U=; b=HMqqFOAde+L4VU12b2OQY8lx2fcZDkpR2FcByzoduFLhX/HRajr7IzewRyU1FFci3M zCN7oo94FLtM23f0v078bPUQqbHeqW6bttEqDo07pDrX2eDX5noMt/6yc4+VNUP2JWRg rZ0FTtnBneMhEI3rCyT/F4/DTaNKL0rC6MWqI= 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=xUcd32/ZeufovhewLUv7VmgLTZI+Vf4BmqIl8W0Ph1U=; b=Des/nlmtc0OacIv50EY0l8e34S6qnAOxn1cKKoZNSgnloXjwjtGra/aYgMwMUjt97T pMV7K6EMfbwm39BrqwrILcPS4lK8GxPtaTE+tgjDrzTwLYkRz1E8i+XyVuAiQ/HG24OH THA5S8J4cqOmrRdJgDvCGt7eRXDPQhxLm9w0ahtEHCEXPFGASAWNjTTNsv4QSxdVgjyK 8LoO6ylJAKffuUZ7jN/0LjK9fBGGx/3JIMPGH6vs7R2oc1U2MT2g7yv8USx0kCekRrh1 f491GeWsxRyf9aIG7WYRpr81YgAa4p5XPcz8RixvKIxLl/N4na1WSPccMOvZw7tbqlfr jB5A== X-Gm-Message-State: APzg51DGULzWblmJm2mH1udA/ypbLFu4uzKnz91EnqdecOXFZ2GJhlxm KoByy0ijsxmLSSXs3azOKwIQ X-Google-Smtp-Source: ANB0VdbGARGs+XTWBJx2GGLZthBmT1swY1QypNvI3R5eSGuXYb7hJA4FHQNETKhrQB1nAWb23oYyIg== X-Received: by 2002:a63:e60c:: with SMTP id g12-v6mr23618172pgh.308.1536592459180; Mon, 10 Sep 2018 08:14:19 -0700 (PDT) Received: from localhost.localdomain ([2405:204:728c:6bba:60a8:6c40:2817:7ee1]) by smtp.gmail.com with ESMTPSA id e202-v6sm26703907pfh.16.2018.09.10.08.14.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 08:14:18 -0700 (PDT) From: Manivannan Sadhasivam To: heiko@sntech.de, robh+dt@kernel.org Subject: [PATCH 0/4] Add 96Boards Rock960 CE board support Date: Mon, 10 Sep 2018 20:43:52 +0530 Message-Id: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180910_081430_493654_2DBE81D1 X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, tom@vamrs.com, amit.kucheria@linaro.org, shawn.lin@rock-chips.com, linux-kernel@vger.kernel.org, vicencb@gmail.com, dev@vamrs.com, linux-rockchip@lists.infradead.org, pbrobinson@gmail.com, Manivannan Sadhasivam , enric.balletbo@collabora.com, ezequiel@collabora.com, stephen@vamrs.com MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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