From patchwork Fri Dec 15 13:55:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muhammed Efe Cetin X-Patchwork-Id: 179325 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9301877dys; Fri, 15 Dec 2023 06:09:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6BSlDNv2R+yhoAwSl7G11dtDw25LudqrVCtz4WUHPjzdeWgDWTkZt1hPo7Uf9l6n1z0d5 X-Received: by 2002:a5b:985:0:b0:dbc:bc71:57bf with SMTP id c5-20020a5b0985000000b00dbcbc7157bfmr4069255ybq.16.1702649344551; Fri, 15 Dec 2023 06:09:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702649344; cv=none; d=google.com; s=arc-20160816; b=J3UygR4Wy9mg8DQGHXCp494TtWX8bHuFp3OxwCMT0OzpJ1Pe9odHrEeLxa6ybcCmld OiG3511Us8YdojefjhDJPv75MjSqWcVC51OAOXASfqVNnupkUCt+34VpWqY39ZHQVhZC 4Sfz0IXJaO+WB3e/Y0oCSUdsLNv7MbwxucyeVXTfdUQmlNajxL3wZyyw5ioD8eoY6A5B goB91lSelxvxWPmOMjnFtMP6a7Muji31m+gEGQTGWO6FBQ5FKcOdxGmDWnF6JIPT1cf6 dkRxB3At2nY89diSGlYH6wV1ikrEWKyamltwMMnwVR2aL/ZXB9apV16VZMr6/WU9ZS5z FZlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qYb5Ttl2BmZknzLQ7LVuYyWA70iNupQuE0s2VFIsLCU=; fh=zo7HUsbDSmCvTWfwob/PKOSTyx/iIiO6I55AbijQJ9Y=; b=DVIBSKEd30t33crrtg8tEqKjWOjjxLZeJE6weqEqR0DZcbH9ATcO17817B/Bfa/Heb K8cpU1jh2oF6/1T9POhIuCeq5NPJVSaGGmIXqQNexCI1yU7wXK0qRrFwKiu8lcQ3vsoY sh3ipt+F3QaYXYJLJl+EnvvLVuv+AlqTJ0m1aoZwVKZaRNgeDlLWXJ34BMZkg8nCiDV4 CzQZBiec00MEcPx/F+hQabm6c7G7HrBZMnpBrfGSORRS0QjaRTfvIyQqTtTyIdBPwHvf r4Cvg9CJvPkG8vTSpdIiNOdrPXQcXcnm5o4J6v68ak7Pw1o/7dHrG2AllYd8IAPgAidV 0bhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=WMlai898; spf=pass (google.com: domain of linux-kernel+bounces-1085-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1085-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id n12-20020a25808c000000b00da2b4bbc86fsi10283731ybk.331.2023.12.15.06.09.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 06:09:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1085-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=WMlai898; spf=pass (google.com: domain of linux-kernel+bounces-1085-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1085-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 386D01C236B3 for ; Fri, 15 Dec 2023 14:09:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BE4931A9C; Fri, 15 Dec 2023 14:06:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=6tel.net header.i=@6tel.net header.b="WMlai898" X-Original-To: linux-kernel@vger.kernel.org Received: from forward501a.mail.yandex.net (forward501a.mail.yandex.net [178.154.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E92734558; Fri, 15 Dec 2023 14:06:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=6tel.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=6tel.net Received: from mail-nwsmtp-smtp-production-main-17.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-17.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:96a1:0:640:9109:0]) by forward501a.mail.yandex.net (Yandex) with ESMTP id A4AE46173B; Fri, 15 Dec 2023 16:56:07 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-17.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id VtlX2gDOoGk0-5YAYSIs1; Fri, 15 Dec 2023 16:56:06 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6tel.net; s=mail; t=1702648566; bh=qYb5Ttl2BmZknzLQ7LVuYyWA70iNupQuE0s2VFIsLCU=; h=Message-ID:Date:In-Reply-To:Cc:Subject:References:To:From; b=WMlai898TK7If/TGhvbpDx+JcGAI4X0/PR/r/hCSCS1zTNLP1qN8Hu9Gndxk8Dz58 dV97EFmNU6TLin8JryskzFbryjGtdwNYjL9g8FWKevghiEwxrw/qJmPl47rc3MiAt/ An2dHPUX5p+WS6tvRH4GXg/dKAechI4S3r3qdXzw= Authentication-Results: mail-nwsmtp-smtp-production-main-17.iva.yp-c.yandex.net; dkim=pass header.i=@6tel.net From: efectn@6tel.net To: linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, heiko@sntech.de, sebastian.reichel@collabora.com, jonas@kwiboo.se, Muhammed Efe Cetin Subject: [PATCH 3/3] arm64: dts: rockchip: Add support for NanoPi R6C Date: Fri, 15 Dec 2023 16:55:23 +0300 Message-ID: <923b4d9bb60fecd080e7c348ec0d4630392eb091.1702647349.git.efectn@protonmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785357239515573056 X-GMAIL-MSGID: 1785357239515573056 From: Muhammed Efe Cetin NanoPi R6C is mostly same as R6S variant. It has M2 port instead of a NIC port and different led labeling. Signed-off-by: Muhammed Efe Cetin --- arch/arm64/boot/dts/rockchip/Makefile | 3 ++- .../arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index ed2583dcd..261505081 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -114,4 +114,5 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-indiedroid-nova.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-khadas-edge2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb -dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6s.dtb \ No newline at end of file +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6s.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6c.dtb \ No newline at end of file diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts new file mode 100644 index 000000000..8031098c3 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3588s-nanopi-r6s.dts" + +/ { + model = "FriendlyElec NanoPi R6C"; + compatible = "friendlyelec,nanopi-r6c", "rockchip,rk3588s"; +}; + +&lan2_led { + label = "user_led"; +};