From patchwork Mon Oct 30 18:32:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13440811 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 73CE9C4332F for ; Mon, 30 Oct 2023 18:32:58 +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=QBzGvm6tHJ9AUuUt+bFrW7V9tvJLlzxq88crb2WAt8E=; b=l7OaGRTJroNwY3 r9wwGqMsz84tOfeCyd/rqq0SleIYFb3zB+f37kzhO8x+j3wp39RLdAZzaz803AczhfQ1b72l7sKPL RiEDBPKIdMePHZDmUx3UbUw8Y7bnsgDWh7eZsbq1kpatdPOdTnLoFjVEZeOaReb0Qdl3uTGEsTY6f 3K+PxVDIF8T1XNrw/cT1K4MhGmfFjTkk3Iuq7Rtewi9AlzTpokqRdZnzvctHetlfyObAJO5bvKXna XT7rfEF+9rsMXh4ua2YqN+viKexO/Wbri/21Bc4kjG9cTzNk3FVKG0+LqQyo5JazCzKOmp+dJoj8n XZ0rotKNVcNd045Vdd6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxX3s-003r7m-00; Mon, 30 Oct 2023 18:32:28 +0000 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxX3n-003r7T-2Z for linux-arm-kernel@lists.infradead.org; Mon, 30 Oct 2023 18:32:25 +0000 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-5a833089db6so3141307b3.1 for ; Mon, 30 Oct 2023 11:32:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698690741; x=1699295541; 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=II7NR9hagom2yYuMGjegCihs6Ll2eELwAt+r2Jc9i4Q=; b=QRkrVdCafsENFnUJzVIQ5a7ao+OH5Fve2CFYl2cN8NLg0A6CdHEC1AG+ki6qMrXazn DOdl0mWYoSkqb6uR9nBKRmKRRFu7a0VJY3yhG2JpSIhcvhXZcnDMb4+r/q4E6emNEa0F HsxWb50JjVCG4yBtVtTEzrZlv2uaMGsP1ITX0Wd08qgtFEZF0cDVJculrXZpHkdveGdo Au5UwZ5h6XSlgdCJIDX5+CAgO25o6EiX6fBlizJVos6W0lj+9OcenzdRlYykCOfC5Wqf KiIWAOyrQ46SesWv9QYAnpSY7IUA2FwA7joJXOuKcZnU4dilCHWYaxhU0o9iV3gxAwy6 rTnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698690741; x=1699295541; 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=II7NR9hagom2yYuMGjegCihs6Ll2eELwAt+r2Jc9i4Q=; b=fJi88Zc15zjLKcXwHGyAqFfsIs4tuJjrME7LNQKU4ZxT32m5zI5PHnRSnvT/Bm2gy3 NcnyfibmTrxSaeHG0Dc0vROoSZWmFCa7MGpZsiL6A3sdce9asKS3rFJWd7velQCCKNrc iJEA4XR5gYTxckE2yQL4Gw34Ak6qrGaly5PKQ3oUgFv1jvN9typNGyNIh1C+eTvhg7P4 sVEz2KDbw+eGHVqRE2IxmzmTlRzVhUks/66CTUqSv9478v5IBzFzH613Tdemu79Q8gMZ lTiKl9pLvH2DfvUNsd/a7N7X8FVAO+JsaSnfR1BoCG3lxcgWHzajmqM1GBYDwxvyyQGy ouJQ== X-Gm-Message-State: AOJu0Yy/l2nO2YLty+5ImZtYVbWIeWsMrKXuWXaE0X0MC4MNyd8Rnaow 7j28cAHoAI3ptHFdb8Q4b2eZHv8vcYo= X-Google-Smtp-Source: AGHT+IG0uJLTqBfiGPhf9INkWiBuUHKIAwG5UWNKd6pMfw2vHB8BZzWh4655g9Fo+2B+aMfZxBqYDw== X-Received: by 2002:a05:690c:eca:b0:5a7:da7e:effa with SMTP id cs10-20020a05690c0eca00b005a7da7eeffamr7828907ywb.5.1698690740975; Mon, 30 Oct 2023 11:32:20 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:66aa:2795:43dd:fd3d]) by smtp.gmail.com with ESMTPSA id d14-20020a81ab4e000000b005a8c392f498sm4653630ywk.82.2023.10.30.11.32.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 11:32:20 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: tharvey@gateworks.com, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] arm64: dts: imx8mm-venice-gw7: Fix pci sub-nodes Date: Mon, 30 Oct 2023 15:32:13 -0300 Message-Id: <20231030183213.615162-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-20231030_113224_231460_9A6FD115 X-CRM114-Status: GOOD ( 10.11 ) 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 Several schema warnings are seen when running: make dtbs_check DT_SCHEMA_FILES=pci-bus.yaml Fix them. Signed-off-by: Fabio Estevam Acked-by: Tim Harvey --- .../dts/freescale/imx8mm-venice-gw72xx.dtsi | 30 ++++++++++++------- .../dts/freescale/imx8mm-venice-gw73xx.dtsi | 30 ++++++++++++------- .../dts/freescale/imx8mm-venice-gw7902.dts | 14 +++++---- 3 files changed, 47 insertions(+), 27 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi index 3a0a10e835a2..02807c5fc979 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi @@ -152,23 +152,31 @@ &pcie0 { pcie@0,0 { reg = <0x0000 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; - pcie@1,0 { + pcie@0,0 { reg = <0x0000 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; - pcie@2,3 { + pcie@3,0 { reg = <0x1800 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; - eth1: pcie@5,0 { + eth1: pcie@0,0 { reg = <0x0000 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; local-mac-address = [00 00 00 00 00 00]; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi index 4f859d0fec69..7830b724ccd8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi @@ -172,23 +172,31 @@ &pcie0 { pcie@0,0 { reg = <0x0000 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; - pcie@1,0 { + pcie@0,0 { reg = <0x0000 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; - pcie@2,4 { + pcie@4,0 { reg = <0x2000 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; - eth1: pcie@6,0 { + eth1: pcie@0,0 { reg = <0x0000 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; local-mac-address = [00 00 00 00 00 00]; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts index 06a394a41d7c..7ef17c2b0e9d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts @@ -635,13 +635,17 @@ &pcie0 { pcie@0,0 { reg = <0x0000 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; - eth1: pcie@1,0 { + eth1: pcie@0,0 { reg = <0x0000 0 0 0 0>; - #address-cells = <1>; - #size-cells = <0>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; local-mac-address = [00 00 00 00 00 00]; };