From nobody Wed Oct 30 22:17:02 2024 Received: from xn--80adja5bqm.su (xn--80adja5bqm.su [198.44.140.76]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 595452837A; Thu, 1 Aug 2024 18:04:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.44.140.76 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722535480; cv=none; b=UlkS8MmXR9Y0ppw7Ra+fiMVq9y5l22v8x5oKEfP0sKIUO1Xuu6zySJdX64llrLzuXYWFhIavzbHlSI/FZcFyq92rUJBRcbgtQFSXxnrueBHQDFnoEPd8cCH78Ua4kGdyGRppleJCSleBgz4JqVspP9OvFi0DcAjRpdPc3r18dPc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722535480; c=relaxed/simple; bh=JbmVol+m2/+t5o5qhdXnygoxInat8B0PE4SRRzzcJGY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=L9YMKVE62+hZXvOoaoktJ80AP7Y8s6q6eZTGf7qbkakmwL5WjI/eNQvNj6cFv9CZzKv1xY6ohYphJIhs+u/bUY5em0C/CrZoIQAKBvYcZP3e4LU7nWZJugKN9RtABMRN6sEBQK/z/ifB0W31J+S+6cXA9IJEctIbDzgf3p7MQiI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mediatomb.cc; spf=pass smtp.mailfrom=xn--80adja5bqm.su; dkim=pass (2048-bit key) header.d=mediatomb.cc header.i=@mediatomb.cc header.b=BniVt1rf; arc=none smtp.client-ip=198.44.140.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mediatomb.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xn--80adja5bqm.su Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mediatomb.cc header.i=@mediatomb.cc header.b="BniVt1rf" Received: by xn--80adja5bqm.su (Postfix, from userid 1000) id A660F40460CD; Thu, 1 Aug 2024 17:58:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 xn--80adja5bqm.su A660F40460CD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mediatomb.cc; s=default; t=1722535090; bh=JbmVol+m2/+t5o5qhdXnygoxInat8B0PE4SRRzzcJGY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BniVt1rf6y9Q4y5stTxHkq8c56aaUL8fdLqEeEG4KLMC604HpzbKfoTvzGOJTd/HD 0YGpianEaLogTjQSssUTx0Yk39VkuYHIB9rEmymFZq/bwxSgtwX9Ybhwocv33Vmz0p TQ8PPVviSOjItJJTTRy7D2k1cKlVLQ9ansZHqHo8Mh5/KTTbS6XAqtFTdPPXLUtrK1 wTiJof9B3nvl5RP8iMJOwKu9/j8RSifWdOP9UAWVPpByXuEHUmPRcBS+tV/fhfdz/o h4s7vTqaYim8lVD4ufnrvqDf/fjktbc2/8jhqORIhZQy3cYbHau4rL6RAYZPLeQJUu hok/rsxsLRr8g== From: Sergey Bostandzhyan To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Sergey Bostandzhyan Subject: [PATCH V2 1/2 RESEND] arm64: dts: rockchip: Add DTS for FriendlyARM NanoPi R2S Plus Date: Thu, 1 Aug 2024 17:57:35 +0000 Message-Id: <20240801175736.16591-2-jin@mediatomb.cc> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240801175736.16591-1-jin@mediatomb.cc> References: <22bbec28-41c1-4f36-b776-6e091bf118d9@kernel.org> <20240801175736.16591-1-jin@mediatomb.cc> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The R2S Plus is basically an R2S with additional eMMC. The eMMC configuration for the DTS has been extracted and copied from rk3328-nanopi-r2.dts, v2017.09 branch from the friendlyarm/uboot-rockchip repository. Signed-off-by: Sergey Bostandzhyan --- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3328-nanopi-r2s-plus.dts | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/ro= ckchip/Makefile index fda1b980eb4b..36258dc8dafd 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -20,6 +20,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3328-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3328-nanopi-r2c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3328-nanopi-r2c-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3328-nanopi-r2s.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3328-nanopi-r2s-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3328-orangepi-r1-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3328-orangepi-r1-plus-lts.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3328-rock64.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts b/arch= /arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts new file mode 100644 index 000000000000..7b83090a2145 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * (C) Copyright 2018 FriendlyElec Computer Tech. Co., Ltd. + * (http://www.friendlyarm.com) + * + * (C) Copyright 2016 Rockchip Electronics Co., Ltd + */ + +/dts-v1/; +#include "rk3328-nanopi-r2s.dts" + +/ { + model =3D "FriendlyElec NanoPi R2S Plus"; + compatible =3D "friendlyarm,nanopi-r2s-plus", "rockchip,rk3328"; + + aliases { + mmc1 =3D &emmc; + }; +}; + +&emmc { + bus-width =3D <8>; + cap-mmc-highspeed; + supports-emmc; + disable-wp; + non-removable; + num-slots =3D <1>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&emmc_clk &emmc_cmd &emmc_bus8>; + status =3D "okay"; +}; --=20 2.20.1 From nobody Wed Oct 30 22:17:02 2024 Received: from xn--80adja5bqm.su (xn--80adja5bqm.su [198.44.140.76]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 868D73A1B5; Thu, 1 Aug 2024 18:04:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.44.140.76 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722535479; cv=none; b=gb1Ipsi5Q44dmaNp9QKUS26Qd+mb+pgpbwFmnRGudhCWbHQR3BkO39vDbb+f56wMHRPNQmp8h43rHEDAvJkT7nHz0OuCbgs5aFJZsaYHWCyFQwX7TYmhz1nhHbuRGa2B+rdGrC7iWkunQ/LbbECPNuzO6dSFvjLCfrujSJYnZi0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722535479; c=relaxed/simple; bh=4jtqVeRk8i45uB6Vce88P8reMQMRwNTaDj7OWx8+YiE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mENfcRAja8i6DF+WOxWVh+CkX6QYLwU/9ixqXNK8antKehoUTVNF0HB9EBVk+MLZHQS0YgKeHRxb9GYzdHQ+G+px3fENIKGZiMmK2EvfugGFFCxRP9Fqdy/VKqrwuA6WgJ6U84vwkq8xbLErKZngKystZYV0VUftLD+2C4OWHvg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mediatomb.cc; spf=pass smtp.mailfrom=xn--80adja5bqm.su; dkim=pass (2048-bit key) header.d=mediatomb.cc header.i=@mediatomb.cc header.b=Sd+HjG3d; arc=none smtp.client-ip=198.44.140.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mediatomb.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xn--80adja5bqm.su Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mediatomb.cc header.i=@mediatomb.cc header.b="Sd+HjG3d" Received: by xn--80adja5bqm.su (Postfix, from userid 1000) id 5542A40460CE; Thu, 1 Aug 2024 17:58:12 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 xn--80adja5bqm.su 5542A40460CE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mediatomb.cc; s=default; t=1722535092; bh=4jtqVeRk8i45uB6Vce88P8reMQMRwNTaDj7OWx8+YiE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Sd+HjG3do+tDc9TVIStTiBaOqpRZKquT1h3myjJ+FI99O1rm4oHA3d9D1XrKsZrxS a+XCLHZKP6EjQBr6RfmonsW926jSsVQYOKiumHVge0B1QBoAGBk9J/dM85xS1Upizg aYmT3VEKgrPAuWzLU5OXNo5W9FA1wN2/cNTXV4f4upPEOJO1QgqK9GRkRE3I0k0SDf Kc2OrZ+0fCexidUtwjT5TqDGxAGJRQVSYW+85gMkDZjmE7gDcCVL0BeOlBMTWow3zq hLK9AxrwrOgGx2fZl2Nk0MX1vlPWxNQQemV89ERFaTTRiQ7bszywKF6LQm6y0uv4yL Qm9BxdUttSLxA== From: Sergey Bostandzhyan To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Sergey Bostandzhyan Subject: [PATCH V2 2/2 RESEND] dt-bindings: arm: rockchip: Add NanoPi R2S Plus Date: Thu, 1 Aug 2024 17:57:36 +0000 Message-Id: <20240801175736.16591-3-jin@mediatomb.cc> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240801175736.16591-1-jin@mediatomb.cc> References: <22bbec28-41c1-4f36-b776-6e091bf118d9@kernel.org> <20240801175736.16591-1-jin@mediatomb.cc> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add the NanoPi R2S Plus variant, which is an R2S with eMMC. Signed-off-by: Sergey Bostandzhyan Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/arm/rockchip.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Document= ation/devicetree/bindings/arm/rockchip.yaml index 1ef09fbfdfaf..e3121d4eba18 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -216,6 +216,7 @@ properties: - friendlyarm,nanopi-r2c - friendlyarm,nanopi-r2c-plus - friendlyarm,nanopi-r2s + - friendlyarm,nanopi-r2s-plus - const: rockchip,rk3328 =20 - description: FriendlyElec NanoPi4 series boards --=20 2.20.1