Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1746843lql; Wed, 13 Mar 2024 07:12:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUkNH/tlgyc3Tai5ViLA8fmNtWrsfcOm6sLuB5CdJV6RQrJUO2aKXNIWTU2a9hkrV1eyXounQviqVEcarGmyVeComp66hiHsPf7uajxlw== X-Google-Smtp-Source: AGHT+IGvejDDmL7rZVuMKH4036L4CF0y45xXp/cKzYu3sd5aihFgJG9I+4BomEmdV2gKx+7qPcnA X-Received: by 2002:a19:915a:0:b0:513:ca5e:ae87 with SMTP id y26-20020a19915a000000b00513ca5eae87mr1092833lfj.19.1710339134818; Wed, 13 Mar 2024 07:12:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710339134; cv=pass; d=google.com; s=arc-20160816; b=lLgpM/GY4M/556cwTScxf0lheSDhqcFTF6Ydu8hQHmde4FjPjeZYnjZ8WF2NQ3RAag 7WDZgL5x8VxwL2fVpxtoD/RLBVnVoB1te1dFTBW8hO27UsSFX/1zUrIc4PwekVw/7Wfi DSUZ+Z1WJU7WLlZprxd1hsV07X2CxbQ01u0nm+ul+0M/FPo5Rduk5YMs4Ymx9yAeLS17 fBFXhXy3k3FahplO6PJyhcrYjl7tDeQ/ImHE3o1o8bEs1vfoYAhwGFFhoM45QCr/CgMd 4BkszlcP4LORerqmYLoxeXB+uGwCKyg5LB5BSP2+lO+VC3efXq3lvnOHpAJYa+6ZtxMG MG0g== 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=GZRpUUNRnIq77pI2eAogF8VwCXAgFL/1g3LqDmhWq/Q=; fh=ieNZcEzmskpT8d3TkghutjG4EOjJC5OJnAdHCuEADaM=; b=RVPXMI67GqjSqQv4MJc0dz4wHielQ6R90k6p961x8xTO15CQmTCHHoFB8b63Yp8hGZ jS0csINePQyVIGr+Pw+0ckoodVlKutGWL9XV38FwZ4KIRlQnjhMH8UKB06Zo9TzNo1Y2 vJCVx42uuKp/fQGQPXeHkdrHlKzfNfW3w2L/aFRqYbrtaPFtYuvABE6OJ0Qce4oiNmtD MPcgoSd9TCj4BWt4vJok7Q/3Xqc9Kf/O89Vx+XWn9p1SHyD5P90cU9QHZ1+LXbv5dKQt cVlsJlwBZR8ITK4lPOr3PaDdKqpxiP2wOzqcpXPPDQuE52oz2cdQSjp96M2AsOiOlCWe rn7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=V30hA1Qa; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-101603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101603-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f21-20020a170906139500b00a3e66296cdfsi4608252ejc.753.2024.03.13.07.12.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 07:12:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101603-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=@suse.com header.s=google header.b=V30hA1Qa; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-101603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101603-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com 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 35BB61F245FA for ; Wed, 13 Mar 2024 14:11:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D0804778C; Wed, 13 Mar 2024 14:09:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="V30hA1Qa" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85F4254F8D for ; Wed, 13 Mar 2024 14:09:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710338952; cv=none; b=q0TG9Ow1lGVV4zbH7POph7cPm1laYBeJOZp0EmFstrO6Q5ByPdhi7ftZvyTYWUE755UbtQwVOd6AQ1z03Rjirw+ioHhwl0IqTL5CUCGKzLQOPb7+vlAUfbKwaQvgFHWwEdoJeMLnZk4bYBgRb4d26HYS0Ckukfv3KnS5r98KGj8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710338952; c=relaxed/simple; bh=kVdZlNo+N/KnAT/Z2kOTskJN7eca2zSo5mLfoyTSMUY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fpjUd8GYpnrpyPwaYj7Ko6/gHdGmJZhrVbr25xCOznusESek8IejOi5YP0iA2YOhYzo93w/vGmsSP4L0tAdeMf/1OUhhNPUEbpo32IbIiWIyrGVtlqFJ8mD6v8RFPKdPo/U5JWIVmNYrwY9JdW/C3xXVTh+rcfN4iuKn/BIJFAk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=V30hA1Qa; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-568307fe62eso7246721a12.1 for ; Wed, 13 Mar 2024 07:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1710338948; x=1710943748; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GZRpUUNRnIq77pI2eAogF8VwCXAgFL/1g3LqDmhWq/Q=; b=V30hA1QaJl/pohCPP2spu8V8TnfLYQFGL9b5M9aaNJn6LFvmUsA9B6YAtWeBA/dpx7 Vgnay6FkJdGmznWb7C6LELOEq4djOfr/bORVf0z0Lxvu0kAS7Cbex0ToFx7BP9xlzq6k qlA/e706OyPG50TN2g/FJltK6NmkIXaQX73OqD8brHKlAuiLXi9WJ8o6hO2YYNRZlmsu wSxn5fxKAnwD/PE3LdxDv4R6qHoIaaO0niz0pt6dF4i9j/knuKyQHVj7G/zV1ypnEUgk C3XfUud7yj/AAOhUJBRuXmLs/TXr8ohGaMa+eh4R7oxRIaViMGFTWwqKWiywZLvbkDuJ BWLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710338948; x=1710943748; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GZRpUUNRnIq77pI2eAogF8VwCXAgFL/1g3LqDmhWq/Q=; b=duaVrwrFJ/JPH8iAq+sZFa4Dqtp3Py/m//kX3ooFMnHSuT+wTRkdLJjyMH+IpK6++h khu4MciQZiqTQbPig6WqGReXL654jLxES29IDltv++MiR43HACVvtPo3UT3L8Iw1TmVG 510VrMQ/VHI42CSWZhZ0EMOEnrTdk9kEY4nRiBT0GOT402Fr6SGKTWsfs09Fn3mf0gpC lHO27i0ivIYpQH6l3yoxgiZfpGvgv9/81mM91MQtnLMPn/UO4kuIKuuzNmAIIwXBmftM K+xJ+pnuKI/JesRzlu+BKZGnLYU1sQLpKCwnmwv0LEbj7NtdeHX8Kmv3fnWVSSBPUpSN 6yPg== X-Forwarded-Encrypted: i=1; AJvYcCXyTN8i5/lb0+Ti2CtLMzSurj4XevbTrecS0Y/OfAjR22mckrw71fFML5S/YAY0sA8MJQMSHd9gvMaUTnWjyu/pl38Pk92BLAuEYLZd X-Gm-Message-State: AOJu0YxE4gcsGzIrRy/y/ADtFeXNHVBcPfZTYao1/fdGaATkf8hAfp2P MEHF/OqGBvZj79XU4s7p/WnmWs3vhFDHzOio/hnVDqmOuqphlbDHBKuf830gDuc= X-Received: by 2002:a17:907:1819:b0:a46:5941:8927 with SMTP id lg25-20020a170907181900b00a4659418927mr1199309ejc.68.1710338947965; Wed, 13 Mar 2024 07:09:07 -0700 (PDT) Received: from localhost (host-82-56-173-172.retail.telecomitalia.it. [82.56.173.172]) by smtp.gmail.com with ESMTPSA id lf8-20020a170906ae4800b00a4657cad7e8sm701392ejb.127.2024.03.13.07.09.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 07:09:07 -0700 (PDT) From: Andrea della Porta To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Saenz Julienne , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dave.stevenson@raspberrypi.com Cc: Phil Elwell , Maxime Ripard , Stefan Wahren , Dom Cobley , Andrea della Porta Subject: [PATCH v2 15/15] ARM: dts: bcm2711: add bcm2711-dma node Date: Wed, 13 Mar 2024 15:08:40 +0100 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit BCM2711 has 4 DMA channels with a 40-bit address range, allowing them to access the full 4GB of memory on a Pi 4. Adding a new node to make use of the DMA channels capable of 40 bit addressing. Signed-off-by: Stefan Wahren Signed-off-by: Andrea della Porta --- arch/arm/boot/dts/broadcom/bcm2711.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi index 22c7f1561344..d98e3cf0c569 100644 --- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi @@ -552,6 +552,22 @@ scb { ranges = <0x0 0x7c000000 0x0 0xfc000000 0x03800000>, <0x6 0x00000000 0x6 0x00000000 0x40000000>; + dma40: dma-controller@7e007b00 { + compatible = "brcm,bcm2711-dma"; + reg = <0x0 0x7e007b00 0x400>; + interrupts = , /* dma4 11 */ + , /* dma4 12 */ + , /* dma4 13 */ + ; /* dma4 14 */ + interrupt-names = "dma11", + "dma12", + "dma13", + "dma14"; + #dma-cells = <1>; + /* The VPU firmware uses DMA channel 11 for VCHIQ */ + brcm,dma-channel-mask = <0x7000>; + }; + pcie0: pcie@7d500000 { compatible = "brcm,bcm2711-pcie"; reg = <0x0 0x7d500000 0x9310>; -- 2.35.3