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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 659ECC433EF for ; Wed, 9 Mar 2022 09:26:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 055E58399C; Wed, 9 Mar 2022 10:25:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.b="KClEd9Bi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D35E180331; Wed, 9 Mar 2022 10:25:42 +0100 (CET) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [IPv6:2001:4b98:dc4:8::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C1B2C83989 for ; Wed, 9 Mar 2022 10:25:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clement.leger@bootlin.com Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id B59D320000A; Wed, 9 Mar 2022 09:25:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646817932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7ZGcF66vg1ERsAJUq9zJMNVsbPjvQhoBU3FKGqXH4IY=; b=KClEd9BiG3+hoOCmXs+L6BzDhF5opT3IUPkY7g+tG/rXabyJdWbwl/U8siOUjQlE//bREq TSpJoFPIe6RZ+qWF+uyp+HYMl5KsDf6jDXDIdKeScusa2ameQvHQSPPxFntmc8NodXpuHx 85IRU65QdqG6n4vLZAwYoVGEwRRNKnnlw3z8v91SGB5eO+f6QBeSRgEgmU6GCuSxTksUG2 +vqm03PLhOzUav/JRZd7j4TXeot5Nu6nw4XQA0xeibIrrAmyxpZe7D+/6hBdamvxdWUmHg La6s3z2DM+MLD2dWIfwbdJ67z2ikg0yu9A8jL2CYtVKX+TFOaqwFtKexQFuX8Q== From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: Eugen Hristev , Ludovic Desroches Cc: u-boot@lists.denx.de, Nicolas Ferre , Thomas Petazzoni , Claudiu Beznea , =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= Subject: [PATCH v6 2/4] ARM: dts: at91: sama5d2: add AIC node Date: Wed, 9 Mar 2022 10:22:57 +0100 Message-Id: <20220309092259.76543-3-clement.leger@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220309092259.76543-1-clement.leger@bootlin.com> References: <20220309092259.76543-1-clement.leger@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean When using interrupts property, a global interrupt controller needs to be added to avoid warnings when compiling device-tree: arch/arm/dts/at91-sama5d2_xplained.dtb: Warning (interrupts_property): /ahb/apb/timer@f800c000: Missing interrupt-parent Add AIC node as the sama5d2 global interrupt controller. Signed-off-by: Clément Léger --- arch/arm/dts/sama5d2.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index 038cd73c03..1904f16eb6 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -3,6 +3,7 @@ / { model = "Atmel SAMA5D2 family SoC"; compatible = "atmel,sama5d2"; + interrupt-parent = <&aic>; aliases { spi0 = &spi0; @@ -762,6 +763,15 @@ status = "disabled"; }; + aic: interrupt-controller@fc020000 { + compatible = "atmel,sama5d2-aic"; + reg = <0xfc020000 0x200>; + #interrupt-cells = <3>; + interrupt-controller; + atmel,external-irqs = <49>; + status = "disabled"; + }; + i2c1: i2c@fc028000 { compatible = "atmel,sama5d2-i2c"; reg = <0xfc028000 0x100>; -- 2.34.1