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: 10599899 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 C968213B6 for ; Thu, 13 Sep 2018 18:06:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6DD52B367 for ; Thu, 13 Sep 2018 18:06:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A83E22B41E; Thu, 13 Sep 2018 18:06:27 +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 BFC0A2B367 for ; Thu, 13 Sep 2018 18:06:26 +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=h4KaA6IvdjtE63i6aE/kAaeRjrSMTVqG68nZ6yAc7OA=; b=nBt +qoya9vjUFcdaH4HOe9G+Dn6d6rBx3DYpNBppssOdINIRHYDehMOFbVGWlP0PuSJv7eggcMz7LnE/ gxlwJWRu5LOodFQKdxt9bLiNUJuMvhUrJe8cya851cT2btcapmCQ50HleXNay7XLa4QtInwecYuPm lzgwTHQ+d0m5hMNm2YQ3Wkp3SPXz5FJtXxJuj8HEctidrlQtmN/Z42fn4Wo0wswXmHezDUQ5X+LtS oQWqDjUGU0dTeqva04H2GGtHa0gyMilPCVa0tfxJHP++hrcW+TRjIF9fpq6dQY4G7hsUlzOYnxxKH E8xFA64SqJUv2/AQ8+rlTNgbu0P0mDQ==; 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 1g0W0N-0002ES-BS; Thu, 13 Sep 2018 18:06:15 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0W0I-000200-4U for linux-arm-kernel@lists.infradead.org; Thu, 13 Sep 2018 18:06:12 +0000 Received: by mail-pf1-x441.google.com with SMTP id l9-v6so3016725pff.9 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=h7GeLsxJu0Gc344x38X+aqWKxp8SFpZL1QkCjMMOwaGlbQVLqZTd5dzEdbXGd7G87L QK7pqUaoDvmzkA3RyeLQlpdPC4/t1TFfz/rxxpeWTYWwz3aCnxnogaz5lwjZxRI6cxyt sorf0yTRP+kVQU7A/XQCoZkFJCJX8tvAmJS0g47HHpW0g76+0jehIayLKjGH+ReGR8iY gkx4qUJ3dd3dfFNL0z1KB/D+xbrqF8BAQHTlH0kPKCSxdZKaH+WqbWCFQIWjP8pRJfGE 0r5kIKj7/ibNzFinDlo+Yuy/Hgy0hVUhlGJdk5U1ff7Q7m8BOFzq59Z8hGj1WK6rvH5z aKTg== X-Gm-Message-State: APzg51C28L6pAtBSAkvb+dPCzEBmym3rywCY/edo5xxX/6gJbY5edQpJ 5olxQrZwVwyTDV7VLSKwEPiZ X-Google-Smtp-Source: ANB0VdZtfdwO7ISvl3OEXqGKoZsXEIH8prm6wmWdtPUih43nrp02TGRUG3uaw+e0w3AoRD2nrZZuyw== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_110610_199993_53A7D27F X-CRM114-Status: GOOD ( 13.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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. 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