Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4292032rba; Tue, 2 Apr 2024 12:33:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrzsCuMrz9UzbINtSPQ1UOMVqhbjczfxLLaYu9JukosDazf0E2/DSCkf2gJSdxYfOUf7eyyP+7HZ6cn5eew+u49TxVRUV3mu/NaN6lpQ== X-Google-Smtp-Source: AGHT+IGHFHilvEr+hhgNrCA8XA6YBF//2cNK3ZN8BB5oKgmeavxXCYwRYJVLPfyFJcZR8SUgUULS X-Received: by 2002:a17:907:9414:b0:a4e:7a8f:2101 with SMTP id dk20-20020a170907941400b00a4e7a8f2101mr5059845ejc.2.1712086406196; Tue, 02 Apr 2024 12:33:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712086406; cv=pass; d=google.com; s=arc-20160816; b=AOBnORmZZcP8Rq113MzUGZcNYOSNeKK0JZ5DqGV/t9l1ftGgGOZ1sJf15v5N0blOcc FxwzF6/fUl7XZh0Kr+JFUMpOFtIRsiinK34hkPntBbg/i8pZMvOTxu2x29SQZSEsqw91 +Ph67h7YEmAMYC3snqYLjwAfmbzNzXSDH3X3FO1UTShtx7QC00bcI3/wOezQnSQM+WCn /Yn9Feum81glrVU+v2Dp0X0ucQzSxYXXQpML4TtRoKzyK7K2n51EUJuSQFbAXdxTCEA7 xCU/SE1bjWpiK1sjLKfmoA7f2XI5B7CgHEvGxHW8HwpJRKMCe1wVuPIyHiN1TmFaQo7U 2TLA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jZ68Y4WhSZNS4OFVIjAutCxSGV0YolTGQFsDsFB+w40=; fh=rfOWAFgmqoECowkfxLY7jbEgdwZ3c6/MJnXD3hs8kpo=; b=rr17C+NH4uKsCMOVtCTyOD+eWoxEpTFI9Rmth4kscL/nLhe/pEb8TAmP2hlHEBXhph v42NW3D4RAaICfVehpuBYlPSygk4ceNlmTt96dFzjxhrS2tNaj1drX2oiALlUpbNJAoG ZWVpn2Kp5x4ys5202AyZ/c6ujPcQHw7TdATZhweHrG3C3vE+ryc4DPp0UX6RkP6jMsUx F0kd4eLdFNtDm3tsjHJDqzkx5tXL1bZlZLTIsgyB9v7av8VpEwrtGkPDZWiEAj/ERscw 3SbpxxDTxRDE8E0caoggQWOiHaTmHh+/HnLw1YHhcjl0jkUX0Py+A8HqUCnPaf/FZIjL JUcw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gvxRnSf/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qf13-20020a1709077f0d00b00a4e5c249b14si3082830ejc.881.2024.04.02.12.33.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 12:33:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gvxRnSf/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0DEA61F24130 for ; Tue, 2 Apr 2024 19:32:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD3A715CD6B; Tue, 2 Apr 2024 19:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gvxRnSf/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF49515B96C; Tue, 2 Apr 2024 19:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712086323; cv=none; b=pf2FTVq2JvdihgqFNpjAO9sYmaIQEWt0J/r4qlJCpIKYLNzh6GAeV4wFxL5K+6CyuRjR//wSFJ1xO4/J2Z/YuLc8cysm5C0T8OnzjFnTuXCsOteLc8DVHkjOREKOwsNWEeZ3M3tYiw8yd+/1VxJ303zXwHWQ640Ub5AFYTOMfwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712086323; c=relaxed/simple; bh=wG11ncl3WgULZllIP/mSrmwpOObY8MxFmus9ByKXpDQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RHw23wdZ9HAFQAlu3SPd7UoLI9i+vO/1z5ROhqlM6aEziI+Nnb7pp1fTorU5h0k35JAaeE9LykcDKUhxcXi1RZTDdeTzurVFs1i2E9bmp/ICPQcAL4xK11VP7zkvE3yDaUjssgHkiyNLGHbRX54VApcCtHPwBQZPpR8UoaV+Zuw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gvxRnSf/; arc=none smtp.client-ip=10.30.226.201 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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