Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2304140lqz; Tue, 2 Apr 2024 13:09:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUNiaxFGVIx1dcqUPnym4UpiEeZvmWX1Y6ImnqjYxCHns2AIDz8Fiw01OKVukpPLO56bpZ9zoGQ9AcLYWMkcQ21fDqqzR0QxtKYNomROw== X-Google-Smtp-Source: AGHT+IEspfDwVtOMjoBiVa0hyx/2rMi6Bzc8CZBqpaHA8vBPhlDIkPVe9CQNFe7vCakaFZdw/ogv X-Received: by 2002:a05:6359:7c06:b0:183:ef80:1e7 with SMTP id xm6-20020a0563597c0600b00183ef8001e7mr802707rwb.14.1712088555004; Tue, 02 Apr 2024 13:09:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712088554; cv=pass; d=google.com; s=arc-20160816; b=EMMnAYkSR0ho0r+jyEsbzqhYo5Q2YiNMiApNj0/japgWE0P+/BHd3VeqajXZSw89fG JDkBDQ/0xwDnTZTXv+Hf8PtpODwgV5prLv0PGg/rE6uljRB86JvrwwoHS/xgydxtLS62 ZCQF7Xlv4Qv2c8LlfPgPerL5LL7Fiu6SH/sIBnMLdFNV/k/lLONTj8vP9aYuUNKMRyD5 o1dBF+hYF6/vfKfPdBreYLJmdBfmo8vpMx8KrytR3VzqykJgdN3uZcvc+fesKtC4KVBa +9Q9fDZSk0HU2g4Su+3oI/8xa/vMa5257u/ogznmhPiM2jQ8p5QJ02PdwVVNfsfJOIts TzZg== 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=6xFp+Pz7WEpFjHr2DBKe2sZ6ZAJE3FE+07SiB3TjEAQ=; fh=11GcaAd8R6f4t09/65VUodsYwsDcgZm2HHXokQ3YmIc=; b=L4Ss6J2w1990elxnOAUbakpqzofSSmIYzhbn8NHUfjoNAEfk4FXjDt87B2Qi09CYdR ycMoyWtZDYgKPmXX7s6vfEUN98KizOxab+Iel/o9ybfjsQ87Am7zXbLOwb5P73udMtQq BIT+cnVS2BWDxodqeDVSN1w0rdJQvEMdaFbgX/h+o8ekJDkD6YezZXTxQWeTbQQBMUH9 JfX1MxeCyFqn9xE7RfIXwp5679tHpPU7KaGwpaHx3qzMQKnRLEQkKqr97ingS4IHE1zy vs23QN7QCNhp7qklvhBD98bFd01hiO7TJg3uwM3kdJVAFubPuno4nc1UotmuWMuQNRVE fkag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l3X34J4w; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128633-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q27-20020a63f95b000000b005dc491389b1si11305725pgk.679.2024.04.02.13.09.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 13:09:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l3X34J4w; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128633-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CF59328BED3 for ; Tue, 2 Apr 2024 20:08:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACDAF15D5CF; Tue, 2 Apr 2024 20:07:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="l3X34J4w" 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 D10B515D5BE; Tue, 2 Apr 2024 20:07:55 +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=1712088475; cv=none; b=deU7LW0W+OPUfBbs4r2crMZYx2OHugJ2gqwd4dFIwrY21qn8w1BDZjnYjdFBhWvpb/m6BicIE5lyaENpKLR5Rpkzn3gRWtxKCXva9d8LO6QguJTUNeFtbkQq4gqYMrlofNt1EV/PsO00Qqzg08v3JIAemZJfMC1M8+45wmnqDwA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712088475; c=relaxed/simple; bh=fQtdRGcuT1arJCs0mUc7nrp+KeOPsHpW6nViZkBBPEo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=e9RDfWeSuUmM8ZOUUEgmrQ8N81gkUqAmW9b9DTIsAfN9PRkXvV+J6R9r8BMkuTAIr2rI726BVVutFdEUj/viJyMrvjW5phL3CDFgiNAk9zUVlm2SgvcrbmqqpBCDHoYmvxgOM5UytGL/52OP5sjE5DiVpuxh0bsgTTX53FqrK38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=l3X34J4w; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5DE4C433B1; Tue, 2 Apr 2024 20:07:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712088475; bh=fQtdRGcuT1arJCs0mUc7nrp+KeOPsHpW6nViZkBBPEo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l3X34J4wQnMsrtnO6oaY+c471ieTWJoMAZJRrJxe+NhiIMsY9IO6QIyyFaGIHZoKr sVKd72D6Y2s16WQgKpiHCznqh8zEZDq0pXxx8dhVlTpmIlNvY00hbLbVIEbsrqeQpu 6G2jAi/gNfaE6aOg4n9dJMYEsdTDYhCAkhcaJgLO2+ufYIVz2T9dXLQcuQWKP0J25N a9VqUooGF5XempjITfU+EsKtgrY5dVGGalMkAfqsfjzcJs3ShYUv3ZXTujGjYJqLll zYILn7oC3BTwbXlqt7UJ+RU4vOQGVQdFoSn3ANDJCH1AOPWnvRUBWN1XfBkAAZvkir 3hT0beXFdWNIg== From: Krzysztof Kozlowski To: Tsahee Zidenberg , Antoine Tenart , 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 2/5] arm64: dts: amazon: alpine-v2: move non-MMIO node out of soc Date: Tue, 2 Apr 2024 22:07:41 +0200 Message-Id: <20240402200744.79349-2-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240402200744.79349-1-krzk@kernel.org> References: <20240402200744.79349-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 should not be within simple-bus, as reported by dtc W=1 warning: alpine-v2.dtsi:100.9-106.5: Warning (simple_bus_reg): /soc/timer: missing or empty reg/ranges property alpine-v2.dtsi:108.7-114.5: Warning (simple_bus_reg): /soc/pmu: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/amazon/alpine-v2.dtsi | 33 ++++++++++++----------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/amazon/alpine-v2.dtsi b/arch/arm64/boot/dts/amazon/alpine-v2.dtsi index 32b6ac8a5352..5b6b58dd44cb 100644 --- a/arch/arm64/boot/dts/amazon/alpine-v2.dtsi +++ b/arch/arm64/boot/dts/amazon/alpine-v2.dtsi @@ -39,6 +39,7 @@ / { model = "Annapurna Labs Alpine v2"; compatible = "al,alpine-v2"; + interrupt-parent = <&gic>; #address-cells = <2>; #size-cells = <2>; @@ -89,6 +90,22 @@ sbclk: sbclk { clock-frequency = <1000000>; }; + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; + + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = , + , + , + ; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; @@ -97,22 +114,6 @@ soc { interrupt-parent = <&gic>; ranges; - timer { - compatible = "arm,armv8-timer"; - interrupts = , - , - , - ; - }; - - pmu { - compatible = "arm,armv8-pmuv3"; - interrupts = , - , - , - ; - }; - gic: interrupt-controller@f0200000 { compatible = "arm,gic-v3"; reg = <0x0 0xf0200000 0x0 0x10000>, /* GIC Dist */ -- 2.34.1