From patchwork Sat Dec 30 11:18:01 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: 183992 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp3037034dyb; Sat, 30 Dec 2023 03:28:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEWwss3nmVAolX0TqXrC5LHd/CxVvk0jwCXqrIg+wWpAXh1bt3owhKV7/XgTQT9+/9nUkP X-Received: by 2002:a05:6808:2108:b0:3bb:f2e4:23ea with SMTP id r8-20020a056808210800b003bbf2e423eamr961965oiw.53.1703935730973; Sat, 30 Dec 2023 03:28:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703935730; cv=none; d=google.com; s=arc-20160816; b=sxhHHVgUb8fE83pRGRJ64KklBnqdEmLOcKxNRdN1333L0VrqrbofhmeZI00F+OdkR3 j6FQovViFqD9yOYvxoffPfxhXPoNbMKZFyH1tff2leN80l0D/+dJhKUP02hufZYLxWdx 1y69a5jpCZkUst+u89N6WaHbdkO3+YAoPBvKNyhmosr4bQqIn24/gw2JtqAnsJsiw9G4 eZ47YKFofpeztyLeEJ48puujdaqzzbcmKauD1ip7CqcAR3R/dhqi1ytrcptWsdLHU+kz l9CUT0Lk/yCDe9PExJkdOMWl9yhTJyhthIo5tJwsbcozSfRSDWlTvSS+Kv9daL9ExfQo L5MA== 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=n47Gea6rGFU10OYrbHw+VPcV6QRBypXud2PYckOKEwc=; fh=BggoWngAsdVyPlmxuufaBABrj2nYUF4ewY0F+wAvFUk=; b=mYtMB4Rs42VJzXmfVtiPByUF6dEmaFyQpVkgIDcJTFv/GAvvhXXfpd8gqJ5Ygvr3wi mner1Qf1Nt4A7c/YgCBSlH6FOlgGk4/E7+PhDMsuAcEhyW2XZWfme7ZQ+iXlhhfXfL1j H5pQUdq1K7g0X8EnUCCAcOxC5l9UxfviRHp4wqYpT0L/ddA3QExa39kqj+2TttX56AaB 20txCeFs3AsVgN2wEynynnYtlFbhO2R+kGnnGBNxAjB5BO+CWbf6UXh8AVbDC81i2oNM WVcPyM3fUvs9WCgypEgA5WHlKAgbLC/uPepST4WnG59keHFVSMXSpO7lPAVsDtkKIB20 9Czg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=W8zgIgCt; spf=pass (google.com: domain of linux-kernel+bounces-13398-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13398-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k5-20020aa792c5000000b006d511505de0si15578933pfa.166.2023.12.30.03.28.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 03:28:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13398-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@6tel.net header.s=mail header.b=W8zgIgCt; spf=pass (google.com: domain of linux-kernel+bounces-13398-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13398-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 40BE0B20CD1 for ; Sat, 30 Dec 2023 11:28:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 401D88F66; Sat, 30 Dec 2023 11:28:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=6tel.net header.i=@6tel.net header.b="W8zgIgCt" X-Original-To: linux-kernel@vger.kernel.org Received: from forward501c.mail.yandex.net (forward501c.mail.yandex.net [178.154.239.209]) (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 4442B8813; Sat, 30 Dec 2023 11:28:13 +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-46.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-46.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:12ac:0:640:b64e:0]) by forward501c.mail.yandex.net (Yandex) with ESMTP id 40E7360E6D; Sat, 30 Dec 2023 14:18:28 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-46.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 3IVUxO8g5Ko0-5KxRwi7a; Sat, 30 Dec 2023 14:18:27 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6tel.net; s=mail; t=1703935107; bh=n47Gea6rGFU10OYrbHw+VPcV6QRBypXud2PYckOKEwc=; h=Message-ID:Date:In-Reply-To:Cc:Subject:References:To:From; b=W8zgIgCtuNeM5x2ACniLjtz5qpWGIoyAWFaKAoiHL4ZQSorjY2WmZqsUwWX3nIbz2 7WGgZ4V4rsE5bKYeW752PGYcQtDVlbkHF57zGNwogBabWnGFtk+pqAKWWIkbxCyluL 218FQG1R4C3GO3sNmIyWmIZLxzpz5IXzEn71UH/I= Authentication-Results: mail-nwsmtp-smtp-production-main-46.myt.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, inindev@gmail.com, Muhammed Efe Cetin Subject: [PATCH v2 3/3] arm64: dts: rockchip: Add support for NanoPi R6C Date: Sat, 30 Dec 2023 14:18:01 +0300 Message-ID: <0f9ee0baa6c9de4d54dd6d13957ca15a63ec934f.1703934548.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: 1786706113130307116 X-GMAIL-MSGID: 1786706113130307116 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 | 1 + .../arm64/boot/dts/rockchip/rk3588s-nanopi-r6c.dts | 14 ++++++++++++++ 2 files changed, 15 insertions(+) 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 634b9be47..f2d13482e 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -115,3 +115,4 @@ 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 +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6c.dtb 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..497bbb570 --- /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 = "friendlyarm,nanopi-r6c", "rockchip,rk3588s"; +}; + +&lan2_led { + label = "user_led"; +};