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: 10599901 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 3ED5513B6 for ; Thu, 13 Sep 2018 18:07:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CC7F2B367 for ; Thu, 13 Sep 2018 18:07:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F3F52B41E; Thu, 13 Sep 2018 18:07:04 +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=unavailable 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 BDBBB2B367 for ; Thu, 13 Sep 2018 18:07:03 +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=TmF3uj2YygGxAHC/WNTlyK/BiiPOXnE5kccLGa5snwE=; b=PUt iM1DxujZYzmbpQZB5KwCwqM9SOohU2oKMdUz31sD8aBoq82Vd1CfNwWR2bgDAupEL7Bi31Mn/vi+P CmTS5rxW419MZrcxyu1gDe4k+6saopsC2qMpQIt+RgJ2bNKkgufDbFz5VWbnRb3y85vVSmHPFVKBd vaSNC5RsbGp86cAHl46eUbNt8jCriXTtmh/WTqy90pAH87yjBVEHlJbWCm1vhDmMdBLFt3+lJDh1G vKam7cIFEQGER1UTDO25ytFsCzRyPzlSsxDaWrIJPiPa9GMfaLJ6/QQ/pHyMNbPLzAN/53+v0JMMC CX27m8laTzS1EOrZXay1pdeyf3hCg9w==; 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 1g0W10-0002g2-Kv; Thu, 13 Sep 2018 18:06:54 +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-0001zz-3y for linux-rockchip@lists.infradead.org; Thu, 13 Sep 2018 18:06:12 +0000 Received: by mail-pf1-x441.google.com with SMTP id j8-v6so3031200pff.6 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=FDry9eM4GzX4PW9ufLOuASyf9ab/Oc16KNgMTd1m8kB6mb4gEZQH1R+4u70ylwxWub QbUfgyolkLhV+lbOjUGCGWhxTdCGDOcFFi+tAVliaexodLllT2OVAYnKhr8V3znc+iax N9kIFlH3Qrw+fucNDE3itpN1DaSaznd0GTynooOJAInYfPwXZJIFQB1jOTWmMl47I59p 0QK+60Uharzmd0ksupEu9WpdJ3ZUZiEdDQwGElYrbAHBuTL7BqpW1CwW0pp2RrSF/U8K wkk1q5n0vUg/bDSeH+q+Sn6WHtFVOeawVATqtHpWKRAqbxSisn6BFZTs2yyNyE3F3SkM lnNQ== X-Gm-Message-State: APzg51BmqxjJFkS7QLIhsfmHocwvQiUWAkk3xz7U48GZMXRgFanwhyHP Xfk8jcuWGwhGbXi23Z9CmB03 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_198825_5F3FE53D X-CRM114-Status: GOOD ( 12.31 ) 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. 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