From patchwork Thu Nov 30 22:52:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13475145 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C053DC4167B for ; Thu, 30 Nov 2023 22:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XJmh8dk4EMJt8XsQktWNrXk65Kdjgu675Mj5b2AMysc=; b=inZjfCbYa3sDXU ezO69iAvEhumpXHWRL1tFe64qLe7JmM/nEgS5ABKBPmpH9SSnNu1g16O6gBm7KpjGlTcEMg8epzjb ROVT6K+1Ov5SOpTeL5pEEFiwPk3uU+nzxYHgSmbYSCWBHsIzSdfCP6ZiQp5AENHnhvKdM7eFqGRqC WsMSwbl31KEGODXBvwzyXm+nl1HCNGS4rCs3arVo154uMgTssNp8lrW4tKPWkX+BJqHgRbNg/EX6D U7m0qtAgfvXV89YRov0XdFJ+xnaB2US7nadweZCDP3rKH54TcGAx6SnAyegyxtjfFMEdv23DyrhCe EGaQ3wdRzsPzBG2FhltQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8pu1-00C6RF-0Z; Thu, 30 Nov 2023 22:53:01 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8ptx-00C6PC-1z for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2023 22:52:58 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1d03f03cda9so1597965ad.0 for ; Thu, 30 Nov 2023 14:52:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701384774; x=1701989574; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MUKRgd1eTO2JF+wEJYG4KlDqucWkq8lzdJJKjwBewvM=; b=h9+654BkMgMN1ySiqvy3Xqo0GydFrZPja/vEBM03mkl7CRPxOgIyTkFYW7U4gzc2mJ JA6CjbYzGmIK6PozpIQ2fGtSLxS3lSg6LXPaMKVrISR5oeCiA2srWUYGn2hsdeCZFSsI yWbXD4q/bTBnQuBDg7fPBgLqGobUdspntugDka9h8DtcHjkPVIbCG0u4OCG1HsbUAZzz ou3geVey1U/7qhbAQQ6L2LJh9YI3ygndbb8fObjKEOG3T7VdOm8scKtuwbVJ7lCkRvXm /vYLshgCScntnKpyOONvPsGkqDLJcNZxkyw7WiUg4ERmo4PPn4rVyraNNteP3z5a15lm nM9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701384774; x=1701989574; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MUKRgd1eTO2JF+wEJYG4KlDqucWkq8lzdJJKjwBewvM=; b=nFjy5rLAuF/dWd3QXRzc9+qjgYgVnP6NYEk1PkLptFQ48+M/yFPWhN/8MbzchSMh6/ TWstofN7XggXugZ+Oi3DRgmSwbH6R0VH6RLzHH2tesbhcWvRUIHWqAvtUZnSd1c8WuQl p3V6nwJp+0B3qvkUjONEiik6LRr5fKigEu38LHbW0A7yDNSakDVDAjjCYTk+8d2EPV1p 5+uhSv18NXUUkdFlFmhT9xdNzeUN2iXHc32+5e2J/f1QW9eTwJE2tRWKRVosAdc3XhxD eMxHiGuK7Xf6HtT+QNrV5GbmU8NCia6bAK48DH75GBTdewexZw5YzsKesNYauWhAMu0/ HRmQ== X-Gm-Message-State: AOJu0YyhkEY2siJx6DJlpVrwuPhC+50h4nR1F9fjoJSb8TfkUXcB7OJa 2eXvk75njCjl9TiuV4aZbWw= X-Google-Smtp-Source: AGHT+IEFq4afi7bN8Y7vYfFpwRDOS9iZkNL064aQGl2S6xacAHyUOU4R6b3I3c/DTX2EKUv0g+iDSg== X-Received: by 2002:a17:902:ed46:b0:1d0:45b2:d8b0 with SMTP id y6-20020a170902ed4600b001d045b2d8b0mr2112816plb.5.1701384774597; Thu, 30 Nov 2023 14:52:54 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:7fe2:efb7:8d19:3ded]) by smtp.gmail.com with ESMTPSA id h6-20020a170902f7c600b001d0447e7fdasm1127413plw.269.2023.11.30.14.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 14:52:54 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, tharvey@gateworks.com, Fabio Estevam , Rob Herring Subject: [PATCH] arm64: dts: imx8mm-venice-gw7: Adjust PCI Ethernet nodes Date: Thu, 30 Nov 2023 19:52:42 -0300 Message-Id: <20231130225242.988336-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231130_145257_658262_0F5FC94F X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam As per Rob Herring's feedback: "The ethernet device should have a node name of 'ethernet'. The 'pcie' node name and 'device_type = "pci"' is for PCI buses/bridges only." Do it as suggested. Fixes: d61c5068729a ("arm64: dts: imx8mm-venice-gw7: Fix pci sub-nodes") Suggested-by: Rob Herring Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi | 3 +-- arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi | 3 +-- arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi index a337e8f20441..3f3f2a2c89cd 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi @@ -178,9 +178,8 @@ pcie@3,0 { #size-cells = <2>; ranges; - eth1: pcie@0,0 { + eth1: ethernet@0,0 { reg = <0x0000 0 0 0 0>; - device_type = "pci"; #address-cells = <3>; #size-cells = <2>; ranges; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi index 2247d1c4e2af..06fed9376996 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi @@ -198,9 +198,8 @@ pcie@4,0 { #size-cells = <2>; ranges; - eth1: pcie@0,0 { + eth1: ethernet@0,0 { reg = <0x0000 0 0 0 0>; - device_type = "pci"; #address-cells = <3>; #size-cells = <2>; ranges; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts index 7ef17c2b0e9d..c11260c26d0b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts @@ -640,9 +640,8 @@ pcie@0,0 { #size-cells = <2>; ranges; - eth1: pcie@0,0 { + eth1: ethernet@0,0 { reg = <0x0000 0 0 0 0>; - device_type = "pci"; #address-cells = <3>; #size-cells = <2>; ranges;