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: 10595011 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 4778A14DB for ; Tue, 11 Sep 2018 02:31:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3513F291F8 for ; Tue, 11 Sep 2018 02:31:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2892B29207; Tue, 11 Sep 2018 02:31:07 +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 8E660291F8 for ; Tue, 11 Sep 2018 02:31:06 +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=+W2YOFzAQGS5Zxl4lEe2J02CrL2Nu22ZPGH1r3CeSDE=; b=T+m v1r3MCb5rOxWk2iaUsiTPD5ETE+Nwvk9jGhQaleBXT7BOsbVMZ8oDkUiiJCa983CfMG6TI824Fkmp 8LHfhJtlIjXpuxMiJa30QldGieRluW9d3gqFZ/cZ5WIPfvPOby+DuxcY3PM02gNVP/vUNgTsYqNcp CR69Y60tP53WMk2lX53vpn222xSHjk2ZuRLaWsFYvWUALYQ05pdPbdVvl7gR5n7Lz0rYBcwCKpRD1 ZnGPObS10vbOx4IATdbcBRCBYkG9bPzCYwjyMrMuIMhlcfLQLE59HlwxndkNuFfV4wBh3sdqDOafZ XYHacXbIirXWavLB/a6z248AuJYvvng==; 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 1fzYSE-0000T9-Gu; Tue, 11 Sep 2018 02:31:02 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzYSB-0000QQ-Co for linux-rockchip@lists.infradead.org; Tue, 11 Sep 2018 02:31:00 +0000 Received: by mail-pg1-x542.google.com with SMTP id 2-v6so11437747pgo.4 for ; Mon, 10 Sep 2018 19:30:49 -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=LVOsBtQws/IZFNjWPXQkMBhpwJnbSSlmsIx5IwMuz3WmURRysGXwjizK+S/a8ewu7M H1i91sCXhsj/zkUuMfuYyT7s/d06CqdUlJdLpXjyH+oowQR8ATUKJlwvcnjj87xKh6U3 9+RCK5BSGNrFkLCrm0nQttPD4+V91ivwuwTLeaaZFsaTZhPXNzayw5xdAWAE/R6PsSaq 6mw5M++aufi/V689HfrGT3FzQ+B430XFXsE5M9Hx3FXqK/1Dn9uQF2dTQCmZWsbm0XM4 icZCNLUmU0S26EnGsCXvQmFuMvyMNnMHuWeH52CtojUI7Y50LG1qXLd83Z38Bw7OBUHh rpxQ== X-Gm-Message-State: APzg51BTaPISC4n8nI5YvmN8yE3lRPScZgGjUfmVyj/O3GUDimx+aiKr j0kFm8Rpx2dlcRvE5HrTJWfmQEUpIQ== X-Google-Smtp-Source: ANB0VdYdwMxR2iucIHxZAk3PE17KLoESxlwGpoooqlbqJE5r/3GU19AkNAvHfcq09TgkTOkrwi5MoQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180910_193059_447663_93292276 X-CRM114-Status: GOOD ( 12.35 ) 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 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