Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1683247pxj; Fri, 18 Jun 2021 12:34:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDakD+pGasXd/XIeIk7/f8Co24HcOA1wwse3ircMTHKsIFxfzKpW0ikJew+wWrb8EUhlk8 X-Received: by 2002:aa7:dccb:: with SMTP id w11mr7047370edu.96.1624044844514; Fri, 18 Jun 2021 12:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624044844; cv=none; d=google.com; s=arc-20160816; b=DMO5GfsnmRJ42z94dfMzC46xL2m696fUuy3mQPrypk29B5vY63CtVcc/J/bURsMtte tcP9ORvyrBsYygxN1z6HwefH5D0KtwRngsVZG6MoPGSBrUk8i6GzvWpY3XJ2EMzBKjAE iSEx8KydWXeLwzsJVswyK8v9aKCRm+pC4+mdFo/ZH7pbIgNTjtJR2Oj20m4et+ElXlwg grcf79s6CGY0yIj8RIaT60GVB5+TLcyficogb+jd+Yofsyapik+3FrxuZlAj9moSzrbO kX/J22dVb7AwHUi3Ye+1Uynys04muvF8HmA+PQhwHXsx7aMnwOSMs+b1kGiQXDkLlPCd pMpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kn98Ll5NtpVpipbgUQvn4hSMRQNojtQUAei8tOm3g58=; b=J79CONL3g6kX9JdGUzjarHQERqHNELF67KFBbyMmWmdIpFYhKfga0BmoHLfAInPgVP GBRAu475KZ7pJn2acouy3bt+v7jq+YFDN/hQm4/pM4rrQZJYMMicOyzgYxkW+52vTBvy AtIaFmB5ZYAWA3uqdKxgZckLJbogYEkUVOFIsC+labJ0bWFMIoPZsfuB9eZ7yP02wFW7 0Gb1X1Aq4ysa+QDiaPxHT62FMAUqTmWpLlGKlFReMl92AsPQ9l/ZiyEUm80gcJSN5SmX Tt9iY+xqWfZE5MJxEh7E9Ww1SKarDRRJ9DrkQ9ijIyL9ECE543yR/V8c2h8BVNrw07jZ wz6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NIX0oLDf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si4113233ejy.628.2021.06.18.12.33.41; Fri, 18 Jun 2021 12:34:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NIX0oLDf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236202AbhFRSPh (ORCPT + 99 others); Fri, 18 Jun 2021 14:15:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235139AbhFRSPd (ORCPT ); Fri, 18 Jun 2021 14:15:33 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0029AC06175F; Fri, 18 Jun 2021 11:13:22 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id n7so11709833wri.3; Fri, 18 Jun 2021 11:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kn98Ll5NtpVpipbgUQvn4hSMRQNojtQUAei8tOm3g58=; b=NIX0oLDftDi6biHsi+LL0gntF8jwaNG+amkxSzoGyPBQI7xlAmcR3NfrZ54USdFQP4 q1QegsItPIubfkqLRpRe+0HpO9mszszJ9Br7N+0RkFmDUCcgKnGiRMrq/QfCHZlMIAzj AAWcjADKNmqy6kcwwvqI2Km/yTMcdaRIkrxiBw+VwKZe9Sf7Q7D87H7ddAr195ElfWQH k3OgTjecka+toNHRxZXYD5NQ+re7SluV3OXE6xGbKKRkktxz8qRoaYIXLVXMxAYYcpcd +LrCFT8+nLsvOdnXT3gSrACevK8+AbHb13URNoQaCmz8sf0VHBeR6gnUPWS0YiY36qmH 8qNg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=kn98Ll5NtpVpipbgUQvn4hSMRQNojtQUAei8tOm3g58=; b=lkUOnerx+0uCVjhF4p5GxIRkjxS9gfg95H51yDqu1jFOYNjNBYqp8Jk+nIr63gB1qF WfyPekjij3PRvTbA9VLUE3i7sH1Sho1qXo+JX8+iAi5bTzYLrrihkT6igWjCWkgkZJcw lnTVk34dEnhA15qGBvEtFH9okHObPiR3vVGk3gJ0NH3QKUZKgL4HL1m8fsY7ZVUTR1Tj pMqqKqUtT+Dc7MJiEb4KmVpkirW+WaJkChGXrNwcP+NozlUEV8aeQpaxrYrZ3G8ZTMbJ fwnxIkfB/RYl0PFiG5IALuvhda8elAo0jrgvEYrKFlYRasUxUcM/ilv4ftilIuKfjSUl 2xUA== X-Gm-Message-State: AOAM531AphLPKyDortO3bKLRYYmCoAYDrC+0nkX8Ukp23S89ZMW1VLqo Ze8YUsaaotYuePJeCbPHGw== X-Received: by 2002:adf:e502:: with SMTP id j2mr7001313wrm.275.1624040001599; Fri, 18 Jun 2021 11:13:21 -0700 (PDT) Received: from localhost.localdomain (ip5b434b8b.dynamic.kabel-deutschland.de. [91.67.75.139]) by smtp.googlemail.com with ESMTPSA id l10sm9306782wrv.82.2021.06.18.11.13.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Jun 2021 11:13:21 -0700 (PDT) From: Alex Bee To: Heiko Stuebner , Rob Herring Cc: Johan Jonker , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 3/5] arm64: dts: rockchip: Add RK3399 ROCK Pi 4B+ board Date: Fri, 18 Jun 2021 20:12:54 +0200 Message-Id: <20210618181256.27992-4-knaerzche@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210618181256.27992-1-knaerzche@gmail.com> References: <20210618181256.27992-1-knaerzche@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ROCK Pi 4B+ board is the successor of ROCK Pi 4B board. Differences to the original version are - has RK3399 OP1 SoC revision - has eMMC (16 or 32 GB) soldered on board (no changes required, since it is enabled in rk3399-rock-pi-4.dtsi) - dev boards have SPI flash soldered, but as per manufacturer response, this won't be the case for mass production boards Signed-off-by: Alex Bee --- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3399-rock-pi-4b-plus.dts | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index dbd7d37950f1..e867e5889d44 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -45,6 +45,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc-mezzanine.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4a-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4b.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4b-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock960.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64-v2.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts new file mode 100644 index 000000000000..dfad13d2ab24 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Akash Gajjar + * Copyright (c) 2019 Pragnesh Patel + */ + +/dts-v1/; +#include "rk3399-rock-pi-4.dtsi" +#include "rk3399-op1-opp.dtsi" + +/ { + model = "Radxa ROCK Pi 4B+"; + compatible = "radxa,rockpi4b-plus", "radxa,rockpi4", "rockchip,rk3399"; + + aliases { + mmc2 = &sdio0; + }; +}; + +&sdio0 { + status = "okay"; + + brcmf: wifi@1 { + compatible = "brcm,bcm4329-fmac"; + reg = <1>; + interrupt-parent = <&gpio0>; + interrupts = ; + interrupt-names = "host-wake"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_host_wake_l>; + }; +}; + +&uart0 { + status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&rk808 1>; + clock-names = "ext_clock"; + device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; + }; +}; -- 2.27.0