From mboxrd@z Thu Jan 1 00:00:00 1970 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 A6AA2CD1284 for ; Tue, 2 Apr 2024 19:32:20 +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=2fQeTuOo5RuB06bLbOAf29Yspa+mFEd6emh9LXwoUrQ=; b=jE+noa684oj4l4 LCFEn+GI/b39bs3sPkHx8sLU8exZm0e0tNHyHGIuEFqm2nEfvCutni87eWRRvbBa06nRgGD8werqq Azct0yzEv0LCTG6guK0vKdJcpCm7r8aURq/dsel4xof+umt6ynsqj7IQTzgUa/amLBIWD1i3BgPEZ sJJYK90oFtyUTQNq+JrUbRPiOzp5Hgf1xYeg2Q6PZaCbbpkLAkb6kn6qzMTTmXjMISKVEnvrfvC5V Q1xDuohkB2ticFtqpwVXiH+laURUTDqcJFASWC0GvzNYhWyO7MUgq0AO7yr6u2q2wLGnM7RrAflhg keCs37NDwPR3GvFPLY1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrjrb-0000000CWFI-2wsr; Tue, 02 Apr 2024 19:32:07 +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 1rrjrY-0000000CWDA-3wCd for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2024 19:32:06 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E43B36106E; Tue, 2 Apr 2024 19:32:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCB63C43609; Tue, 2 Apr 2024 19:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712086323; bh=wG11ncl3WgULZllIP/mSrmwpOObY8MxFmus9ByKXpDQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gvxRnSf/H3oGFer9vqb0DeEp42erbKInddEUSf/qIuCOTzuoT3iXoGOfGcu7UcERo R8Ty85QtK5DJAEBOziczewKdaTf+MDrmw6vC9pxXNzLqYnbTz9j+PAZG6MI17fiqMF Sil6PFYUl+LoNWHsvCQk5D+zUamtJEYDxxDT+aK0W5Wt2HUDlEHOHZn2iG0xpGHtzO TgBUsQHYzb4z6/xuv+tK9M1N3cAKm18apaqkkqKmnv+zGj7imyNmT/LPV04pVuuD6j eOY3BsTytCkRP9SLklwlyNwxC1mqA7jwZaGAYbh6fNp9OMjOOW5eR1bCEuB3RxcKBz 67jFxXZE1qdvg== 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 3/9] arm64: dts: hisilicon: hip06: move non-MMIO node out of soc Date: Tue, 2 Apr 2024 21:31:42 +0200 Message-Id: <20240402193148.62323-3-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_123205_088647_A90DFEBF X-CRM114-Status: GOOD ( 10.43 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: hip06.dtsi:377.18-381.5: Warning (simple_bus_reg): /soc/refclk: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/hisilicon/hip06.dtsi | 84 ++++++++++++------------ 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hip06.dtsi b/arch/arm64/boot/dts/hisilicon/hip06.dtsi index f46c33d10750..249ca3b4b703 100644 --- a/arch/arm64/boot/dts/hisilicon/hip06.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip06.dtsi @@ -258,6 +258,48 @@ its_dsa: msi-controller@c6000000 { }; }; + 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; + }; + + 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; + }; + + refclk: refclk { + compatible = "fixed-clock"; + clock-frequency = <50000000>; + #clock-cells = <0>; + }; + timer { compatible = "arm,armv8-timer"; interrupts = , @@ -374,12 +416,6 @@ uart0: serial@2f8 { }; }; - refclk: refclk { - compatible = "fixed-clock"; - clock-frequency = <50000000>; - #clock-cells = <0>; - }; - usb_ohci: usb@a7030000 { compatible = "generic-ohci"; reg = <0x0 0xa7030000 0x0 0x10000>; @@ -570,42 +606,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; - }; - sas0: sas@c3000000 { compatible = "hisilicon,hip06-sas-v2"; reg = <0 0xc3000000 0 0x10000>; -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel