From patchwork Tue Apr 2 19:31:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13614513 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 294EAC6FD1F for ; Tue, 2 Apr 2024 19:32:28 +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:References:In-Reply-To: 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: List-Owner; bh=rmRL160p1muhhcilaziSU2kuunWhNJUxWpWactGF8XM=; b=k5ZRjvGiW+OAbp VyH949gjpgwDUy/BPX5p1GaGUpbFVKjI9qIUW2qY3JEYjlymteGE8z91TLHdTWUeZ7z33NHKOlODT d5FNbVw3KoRco7jYRHR2/YSFl70xzZzshE9fx7SCHdXtNguBrLrb02km7IRttg7+YJu35n8WKqlaW vsyC7y/nTDHujQ8O5wVesaR9KjDSGeM4uqZU6Ij9lEuKeHmncOG12ImoegduSVlj62tbwpnORSO5L 71Ggg9Jd55VYdxxPz9D66hwAaRRBbV7jZNA1MIlNm89+hWw73V6elC5doovk/ACq7sKFhxJl+zjuO Jo2d8kESMlaZaCVzwkqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrjri-0000000CWK3-2cBF; Tue, 02 Apr 2024 19:32:14 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrjrd-0000000CWGb-2Szf for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2024 19:32:11 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0512B61068; Tue, 2 Apr 2024 19:32:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C49B0C43609; Tue, 2 Apr 2024 19:32:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712086328; bh=IoXDQBtmVgaeXIlwlG+jx/SKEEu6yvyEik+151mgSHw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j/ssOeRv+ftFtH8fmPSo84ZaVft9OfkwuSKXD8cXCuXcO8DpAcvpVyzjqLA6ktP5W 6YlIoWcQ8vml6v5OiTzw8WTvdBWDv1THhody4IteY/sG1YkP3Ki5akq9vkR+kXUV+A tTSyciSNDCLkMUdR/xjdAh4Unmiq29q0TgjhlYgAFW7RAuCkYuKl58o7eCzPZp/Ahb 68u7zmUS6HOTOCFx5wOsbarvIAi6C4XjENV2uIkbGmd6LWrJEm+6CVkOwNJmFBbgvF gRd9O9hyxGG+tmIkGIs4/itsDIx4DaRkMp7Hr/F3otshmTnx1hsd9L0MShEdiWJsM2 U1ozjuaBy/Cmg== From: Krzysztof Kozlowski To: Wei Xu , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/9] arm64: dts: hisilicon: hip07: move non-MMIO node out of soc Date: Tue, 2 Apr 2024 21:31:44 +0200 Message-Id: <20240402193148.62323-5-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240402193148.62323-1-krzk@kernel.org> References: <20240402193148.62323-1-krzk@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240402_123210_056728_4AA874F1 X-CRM114-Status: GOOD ( 10.84 ) 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 Non-MMIO devices, which are BTW not really part of the SoC, should not be within simple-bus, as reported by dtc W=1 warning: hi p07.dtsi:1486.20-1493.5: Warning (unit_address_vs_reg): /soc/ethernet@4: node has a unit name, but no reg or ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/hisilicon/hip07.dtsi | 72 ++++++++++++------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hip07.dtsi b/arch/arm64/boot/dts/hisilicon/hip07.dtsi index 81d907ef43ed..9d1e86553ea8 100644 --- a/arch/arm64/boot/dts/hisilicon/hip07.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip07.dtsi @@ -1013,6 +1013,42 @@ p1_its_dsa_b: msi-controller@408c6000000 { }; }; + eth0: ethernet-0 { + compatible = "hisilicon,hns-nic-v2"; + ae-handle = <&dsaf0>; + port-idx-in-ae = <4>; + local-mac-address = [00 00 00 00 00 00]; + status = "disabled"; + dma-coherent; + }; + + eth1: ethernet-1 { + compatible = "hisilicon,hns-nic-v2"; + ae-handle = <&dsaf0>; + port-idx-in-ae = <5>; + local-mac-address = [00 00 00 00 00 00]; + status = "disabled"; + dma-coherent; + }; + + eth2: ethernet-2 { + compatible = "hisilicon,hns-nic-v2"; + ae-handle = <&dsaf0>; + port-idx-in-ae = <0>; + local-mac-address = [00 00 00 00 00 00]; + status = "disabled"; + dma-coherent; + }; + + eth3: ethernet-3 { + compatible = "hisilicon,hns-nic-v2"; + ae-handle = <&dsaf0>; + port-idx-in-ae = <1>; + local-mac-address = [00 00 00 00 00 00]; + status = "disabled"; + dma-coherent; + }; + timer { compatible = "arm,armv8-timer"; interrupts = , @@ -1483,42 +1519,6 @@ port@5 { }; }; - eth0: ethernet@4 { - compatible = "hisilicon,hns-nic-v2"; - ae-handle = <&dsaf0>; - port-idx-in-ae = <4>; - local-mac-address = [00 00 00 00 00 00]; - status = "disabled"; - dma-coherent; - }; - - eth1: ethernet@5 { - compatible = "hisilicon,hns-nic-v2"; - ae-handle = <&dsaf0>; - port-idx-in-ae = <5>; - local-mac-address = [00 00 00 00 00 00]; - status = "disabled"; - dma-coherent; - }; - - eth2: ethernet@0 { - compatible = "hisilicon,hns-nic-v2"; - ae-handle = <&dsaf0>; - port-idx-in-ae = <0>; - local-mac-address = [00 00 00 00 00 00]; - status = "disabled"; - dma-coherent; - }; - - eth3: ethernet@1 { - compatible = "hisilicon,hns-nic-v2"; - ae-handle = <&dsaf0>; - port-idx-in-ae = <1>; - local-mac-address = [00 00 00 00 00 00]; - status = "disabled"; - dma-coherent; - }; - infiniband@c4000000 { compatible = "hisilicon,hns-roce-v1"; reg = <0x0 0xc4000000 0x0 0x100000>;