From patchwork Thu Jan 27 12:16:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amjad Ouled-Ameur X-Patchwork-Id: 1585020 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=vaY82ZQe; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Jl0592bfrz9tB1 for ; Thu, 27 Jan 2022 23:19:23 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C6C18837CF; Thu, 27 Jan 2022 13:18:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.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=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="vaY82ZQe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 57ECC83107; Thu, 27 Jan 2022 13:17:40 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 88BDB83381 for ; Thu, 27 Jan 2022 13:17:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aouledameur@baylibre.com Received: by mail-wr1-x434.google.com with SMTP id u15so4436644wrt.3 for ; Thu, 27 Jan 2022 04:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p0QzODJGiMYph1ArRUSk7yP+rPtuMQqLQyDSALqDGU0=; b=vaY82ZQe5dYURhXMaHNKAk/xSuSvnODy1lulSH+okjbTieO87+3eRMv1/+Q9sStgNd 98DB7pEiXK8AyyzSxOAY6tV/znezDoNgRljkCP64IgX6BmLwhd9uyTn+9OXvjQIjkRaH q/+m07WQJv8+ZIi6GKcUaFgvGPNLrGwHSqBd0G56X6pPGjdCL4n3NKmKjF5gwROMfcKy PB+EjyrTVdldvzABEDwapHaMgLh6G4RKwXiJ0Y9kB1gZ+tSaFLdq+ymLJXQIlDYIWGQ/ as7dmehNfayuW/KRCw5RwpF2zpkUyz7pJCCu/PhJvt8/wjEVzWJ1niUXPZ6SDtsFIKO0 lZQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p0QzODJGiMYph1ArRUSk7yP+rPtuMQqLQyDSALqDGU0=; b=alQoGqaxqWWJVsUPIm8ZY97tej3vxhJ1DGs9OLZb9L2AUsDkDDDkWqL70r3cTydNk6 0Q8cB/HQaIaTuF109pVlMaLqPIySpwnVbZjLjeKif0vH0TQo9Kz+5Qy0bvDviPEUwfLx SimbOlGTGGMFaG93MBAUnQtVpfzKDteQVx4nl00X9f6m1UIe/M+FHd+Nfr5MSN86OFPe FNC2Q0JI2qP00CcykPcK1uCvWwrksszuYHi1GJP9CdShK1WbTTSCnLSadVOlm23ElkWv iiafuvXFqXMm8zdAs9Yt1VeUfHBSGWqPtZJd487Zsvl5+h8ky+zQaVITJTsmryfL7RBz K9mA== X-Gm-Message-State: AOAM532YtNW3Sg5AWPkpp7wUmiHlRO1+DB8wIadQxa6mz5sN5gZeXORF q9ipHJpV0Fz+GrskD98uXmCfzqv6UKox158m X-Google-Smtp-Source: ABdhPJyZty07E4fZUMelmp0gJSs6qiO+qgHn5SmTfqjHskdQaJLKA8oATYoRx7Jk6x+wpm8HvF83Tw== X-Received: by 2002:adf:ebc2:: with SMTP id v2mr2932263wrn.498.1643285849218; Thu, 27 Jan 2022 04:17:29 -0800 (PST) Received: from localhost.localdomain (203.247.120.78.rev.sfr.net. [78.120.247.203]) by smtp.googlemail.com with ESMTPSA id f8sm2345026wry.46.2022.01.27.04.17.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 04:17:28 -0800 (PST) From: Amjad Ouled-Ameur To: u-boot@lists.denx.de Cc: khilman@baylibre.com, Keerthy , Amjad Ouled-Ameur , Tom Rini Subject: [PATCH v4 09/11] arm: dts: dra7: Add ipu and related nodes Date: Thu, 27 Jan 2022 13:16:58 +0100 Message-Id: <20220127121700.130821-10-aouledameur@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220127121700.130821-1-aouledameur@baylibre.com> References: <20220127121700.130821-1-aouledameur@baylibre.com> MIME-Version: 1.0 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 From: Keerthy Add ipu and the associated nodes. Signed-off-by: Keerthy Signed-off-by: Amjad Ouled-Ameur --- (no changes since v1) arch/arm/dts/dra7.dtsi | 45 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra7.dtsi index fd1aea0b1b16..e2e958b36626 100644 --- a/arch/arm/dts/dra7.dtsi +++ b/arch/arm/dts/dra7.dtsi @@ -41,6 +41,8 @@ d_can0 = &dcan1; d_can1 = &dcan2; spi0 = &qspi; + remoteproc0 = &ipu1; + remoteproc1 = &ipu2; }; timer { @@ -263,9 +265,12 @@ }; prm: prm@6000 { - compatible = "ti,dra7-prm"; + compatible = "ti,dra7-prm", "simple-bus"; reg = <0x6000 0x3000>; interrupts = ; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x6000 0x3000>; prm_clocks: clocks { #address-cells = <1>; @@ -274,6 +279,20 @@ prm_clockdomains: clockdomains { }; + + ipu1_rst: ipu1_rst@510 { + compatible = "ti,dra7-reset"; + reg = <0x510 0x8>; + ti,nresets = <3>; + #reset-cells = <1>; + }; + + ipu2_rst: ipu2_rst@910 { + compatible = "ti,dra7-reset"; + reg = <0x910 0x8>; + ti,nresets = <3>; + #reset-cells = <1>; + }; }; scm_wkup: scm_conf@c000 { @@ -2032,6 +2051,30 @@ clocks = <&l3_iclk_div>; clock-names = "fck"; }; + + ipu1: ipu@58820000 { + compatible = "ti,dra7-ipu"; + reg = <0x58820000 0x10000>; + reg-names = "l2ram"; + ti,hwmods = "ipu1"; + resets = <&ipu1_rst 0>, <&ipu1_rst 1>, <&ipu1_rst 2>; + iommus = <&mmu_ipu1>; + ti,rproc-standby-info = <0x4a005520>; + timers = <&timer11>; + watchdog-timers = <&timer7>, <&timer8>; + }; + + ipu2: ipu@55020000 { + compatible = "ti,dra7-ipu"; + reg = <0x55020000 0x10000>; + reg-names = "l2ram"; + ti,hwmods = "ipu2"; + resets = <&ipu2_rst 0>, <&ipu2_rst 1>, <&ipu2_rst 2>; + iommus = <&mmu_ipu2>; + ti,rproc-standby-info = <0x4a008920>; + timers = <&timer3>; + watchdog-timers = <&timer4>, <&timer9>; + }; }; thermal_zones: thermal-zones {