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 36724C433FE for ; Tue, 18 Jan 2022 10:15:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 07EA98384B; Tue, 18 Jan 2022 11:14:24 +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="SdnT9nAF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 714E7837FB; Tue, 18 Jan 2022 11:13:57 +0100 (CET) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 28ADE83818 for ; Tue, 18 Jan 2022 11:13:47 +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-wm1-x32c.google.com with SMTP id p18so26466170wmg.4 for ; Tue, 18 Jan 2022 02:13:47 -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=SdnT9nAFPcy5IDCamGcC+7ipvZTqC44FOauYD14H/5ZMqbD2gruucjN7KJB8JOCJv4 lFAUGckp5nLkk01Sr4JOo3fCUOh8T3qIHU/OlOUSCbjFDANNEAiqzto9ZoocOgjmi2wI sM0ri8Z1VT1znP08fkCTF1LXSyrrwBArRA0pRQXv3A0h2T2C0sZgqGWEKGQTRA/kVkCk 1cLAdO2siLc9/QAm6dvm4pSvCKRuQ3Ym3tEi+v8bSKI22dVeTwMfiuj4ZkshTnDDw9yj B5Y+UMxXj+tZYKlv81cCpVt7TywG8C2fxSOFSekjpDsGs5bQLgUcaPkZtc1EJ4ZAq70f 6MUg== 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=fwH/pBzfzMV6vTW5v7w8pd46OsWAog+vdMB2ZMYpb0S25lPqX4gBzA2vSgppPhtHQ0 MpAfJoSuDrzOiXWwncUv79ABBWymcm9FQsA0MKT8z5n6NhT46vbezVsE9RdlySUZtxr1 AMRBH1IbsXv5B8eRd0X+4X3rWOkWLhsN17habHy/y5BJ2IB0HTC4BSuRA3ctaM3rO7gy qTIFkSpQW+DGVp0E8T79Kj9iJ5GLvJmYVxLmLSmIZVWTLCIuiWhP/7P9PMOw39GlSy1b GJlqgEsqjscbYdmJS3q5hliSOFZippkBS34egxMEJKdC+BMiR0J+x2LxwhCRv5edoSUo EHQA== X-Gm-Message-State: AOAM532RbnpydtlvyOgCW9ae++pZc/52CaPlb1nXjCl6Hz3mDFFeuQNj KzUHzHgJ0MQKBf0rXyxdlFS/W9SG2K5EZA== X-Google-Smtp-Source: ABdhPJxni2ahntR412tw1CllnQyTdpRkT7UPIBsWvlSiVX5nQRzgwK/Nhu3lSjXiHYBj9eXkfGHxrA== X-Received: by 2002:adf:dd88:: with SMTP id x8mr24070241wrl.586.1642500826654; Tue, 18 Jan 2022 02:13:46 -0800 (PST) Received: from localhost.localdomain (203.247.120.78.rev.sfr.net. [78.120.247.203]) by smtp.googlemail.com with ESMTPSA id f16sm2213622wmg.48.2022.01.18.02.13.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jan 2022 02:13:46 -0800 (PST) From: Amjad Ouled-Ameur To: u-boot@lists.denx.de Cc: khilman@baylibre.com, Keerthy , Amjad Ouled-Ameur , Tom Rini Subject: [PATCH v3 09/11] arm: dts: dra7: Add ipu and related nodes Date: Tue, 18 Jan 2022 11:12:47 +0100 Message-Id: <20220118101249.87031-10-aouledameur@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220118101249.87031-1-aouledameur@baylibre.com> References: <20220118101249.87031-1-aouledameur@baylibre.com> MIME-Version: 1.0 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.2 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 { -- 2.25.1