Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp636246lqb; Fri, 15 Mar 2024 01:57:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcEk6yku08FHPU9a8YvHmZpoK+PmM983ly5rbkeBl0KeKsBLM4GWbTp0kgmhte9hGfIgUVAsoVGCDnQWBlhwM9Afrr0vpUuKMlxVTvBg== X-Google-Smtp-Source: AGHT+IFKfVZRCWN6Bo0Lnx+nAX08IoRHjjJGk0EwzTqzxxaRPVwUCzMsI45LiJ67tKotT6Kunwym X-Received: by 2002:a05:6122:202a:b0:4d4:3716:5d99 with SMTP id l42-20020a056122202a00b004d437165d99mr1506003vkd.5.1710493019919; Fri, 15 Mar 2024 01:56:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710493019; cv=pass; d=google.com; s=arc-20160816; b=SB99QwtNJqmY9nBdutLDC/ZI9X0HYXkX7LW2+ou+CqTxKRIU9X6p8d3Oh/QYydaLf9 aEaMKDowSTOZSw5RyEROjKyF21uM/1XPhs3aJuSj7Qw1ZWwsdDySUm7ob8hfAfUL9lQ9 S7ipT2MjuQ+maxyk88dxWn6aOI3qtnYjSt5WS2/lBQ2zjbnV31P5y/LwBHok7qAEFSIu MXx8Jox/05V+uDBj8FRkhVsPBnhkL1AHqex7yg+WYQ26HYT8N6QWE3dSEtk+9svr4t31 KgtdtQspnEN7zgmPJvr4lzSfeBIEcUJUt/wTougUfIzz8nrGtD0hsMRnIQZMN5hD0tHd yiCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:dkim-signature:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=6kUz6qpyy9cdZkFMKb4gBD1woiTAQDRac1rAs4MrKdg=; fh=A7wob/E1KupIwL+9OeerIuWnmrqaigaKNZs7nAnyMZU=; b=mDwGH2Umnu871AFLFJqrLGjJAsJFQgvhc+ICkOUsvAoDw+cBDsFFnQgsHW4a6vuX8e iBhbySJ0xObjM1bORBJpbdqqhRyCde4BVeXeSqa7Vcp7TGpoDH8jg3IUP2Z63hDSuvJc MCZZUfIsh9kWeybgmEDI0LJhDrOEXcaGtLFr9O2csjJsf73LF00Io0BmhFCUTmcaYvLv uP4tQKjn6T8eNHzG5cspgUdDO4U/WvojUr0VdyXDlgHyQggPvAKeI7oZ9lGKJGQdE74x vsnyPDD6s/vTLOXNXDIIUG1S3rBXqRWh0yMQCsdUG8XpLPnNHKpVt9RGF9+FubD1RymS 9jrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b=coxq74mW; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-104179-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q15-20020ad4574f000000b00691826f8448si117305qvx.162.2024.03.15.01.56.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 01:56:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104179-linux.lists.archive=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=@manjaro.org header.s=2021 header.b=coxq74mW; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-104179-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.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 A44221C220C3 for ; Fri, 15 Mar 2024 08:56:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C140175A1; Fri, 15 Mar 2024 08:56:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b="coxq74mW" Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 150F813FF6; Fri, 15 Mar 2024 08:56:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.91.91 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710493011; cv=none; b=UbFCfI4ep7Zsw3O4Je7B3kki+xkC94j2Bl4m8Oc/siHFBNx7vNB86OlkOLYAe05Ti9AcR9mJAUfsAvNvXig6MNqUpNMAN7BnqjGb8VG0gaQiCgQQMV32rc4eUzcMYxOaoSv/RcvCuzJm19lw2mCHf8E4LdihtINJ2kBwSVy5fEg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710493011; c=relaxed/simple; bh=qb61K5pWeATihhGuwsVduoUDAauKR/JGszeuHTFfYMg=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=SIKxlQzcSBno/+p0dCMaliTqePj0BTk/hw3OqbOEOU/NUneyPkMFr1WINB/GwZNvq1zNQ3cpPai3SSMpJi/eXFoWt+YxAajnOnNNrNT4ASwhNpgLoWe7c82VrMeAlJXJaqc3aB/WLtpjM9jr6ZqcFfOYjRLTXC9yLS5W2g6BBZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org; spf=pass smtp.mailfrom=manjaro.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b=coxq74mW; arc=none smtp.client-ip=116.203.91.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manjaro.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1710493005; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6kUz6qpyy9cdZkFMKb4gBD1woiTAQDRac1rAs4MrKdg=; b=coxq74mW/0rF9Q0Rb/Z800rMexLRbjJb9WGZ6alpM9dg172em/APKVn1/PIYdkysuh9srS ysoors/+/3TRH2kQXs7ndD0JpkITwRzrtFc+FnA+AIdwNjxbeNtewEzyzmLlRwaL0D1gxX IP1lkYFgq6xsJoASbM0iAm2nms5C780y7S5OLogioumm+X3lBRpvPIi3leDKTmguAsvalV 1nwAYeDCFvqD5vIf3/0k4O9AUcpA3R1qB+Q6qy0oRKokgXbwnw1CN/AjJFYJkEMfcOPGp5 JS5NPfigVcy83NZvHsgNjFN9rUB8mtt1bZ/tP9x3h1A+yaZQQ8Piond9FXEaDg== Date: Fri, 15 Mar 2024 09:56:44 +0100 From: Dragan Simic To: Himanshu Bhavani Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, Conor Dooley , Heiko Stuebner , Lorenz Brun , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: rockchip: add &gmac2phy in rk3328-rock64 In-Reply-To: <20240315084018.2200581-1-himanshu.bhavani@siliconsignals.io> References: <20240315084018.2200581-1-himanshu.bhavani@siliconsignals.io> Message-ID: <96a53f8560b3563328eaf7b9d6f63d87@manjaro.org> X-Sender: dsimic@manjaro.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org Hello Himanshu, On 2024-03-15 09:40, Himanshu Bhavani wrote: > Add '&gmac2phy' node to enable ethernet1 on rk3328-rock64 > > Signed-off-by: Himanshu Bhavani > > diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts > b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts > index 229fe9da9c2d..cb919367db54 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts > @@ -12,6 +12,7 @@ / { > > aliases { > ethernet0 = &gmac2io; > + ethernet1 = &gmac2phy; > mmc0 = &sdmmc; > mmc1 = &emmc; > }; > @@ -392,3 +393,7 @@ &vop { > &vop_mmu { > status = "okay"; > }; > + > +&gmac2phy { > + staus = "okay"; > +}; Unfortunately, this isn't an acceptable change to the Rock64 dts file. Yes, there's the second built-in Ethernet interface in the RK3328 SoC, but the Rock64 layout doesn't expose it as a separate physical network interface, i.e. it isn't available as a port. Such a change would be fine to be applied to the dts by hand, by someone who actually adds a second physical network port to their Rock64.