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 55EDCC433F5 for ; Thu, 2 Dec 2021 18:23:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3454B83799; Thu, 2 Dec 2021 19:23:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.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=gmail.com header.i=@gmail.com header.b="EzTymAAW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CC1D383633; Thu, 2 Dec 2021 19:23:46 +0100 (CET) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 01FC6837B1 for ; Thu, 2 Dec 2021 19:23:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=atomar25opensource@gmail.com Received: by mail-wr1-x42d.google.com with SMTP id l16so546367wrp.11 for ; Thu, 02 Dec 2021 10:23:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6ckeKfp/ILpcGE6vQ9ZPvlNnMwTpdoDqDhKPqXw3fnY=; b=EzTymAAWxoBhpOuhv+lWtkjkL1kQzPiACvvM15eGGDoN15Qj3CfihBD+RsRr24JZ/R dUm327HmrZuJ4DqvtKfQvagMMgOLcNNXBxpOlalEFzOUoeFRXxTtCqKoxnaISm/mRfj0 KvzMp/w515yKs0ASD67vQDPqZpKhNZBPI9N3w0JYfVWUtJabb2Jejd2+wE545hqmMT9f 05bE25YPuM9EKeh7MGeErHcTBVc9zBetzSW0IWpXSIh8BA9dDY2s4TS2y1LC9RrvpLF0 rKC6s83MuFgo5h11JOC25TIr0wfVdA7JMKRVagiiErIY0y4gkvy0P9BxbF5SeM4gjDeG 9RfA== 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=6ckeKfp/ILpcGE6vQ9ZPvlNnMwTpdoDqDhKPqXw3fnY=; b=44/4LRho3Sf6P6OVRgxIZuTdDQ4e2vtudcgvCzSFTbFijhlKYrJQfvloM3gptUE6Qc vX079jLCC8BmV1bzQ/DOxy98/f+NIumQb7C2cjFzdAP4e68+pZlCbs/8q1OIOJX4nh73 wz9aS24BOwcsPDfrQfAY4jkVh3qjJJ/xX8r6FFGzFdK0aLZCC66NaNlK5H/qaxpLJjzO I8g5aOYAnVETMfjpMc8K77rpPK9JP+m4v2rE0t8caL7xb+ZIUVodG+AzY/YKTw6NYhsp weAGhmrGGPYxZE5LI7FGLno19ML4QRsfXqyDrEDURREhTpv1b7ut4+0Nq9cZXrArO0tX lGnA== X-Gm-Message-State: AOAM532f1YB9LI9rWM13O0fpAjg9ZZjxvKsLzYsca08U0he6UT2+XUT2 CSuFbQx/dmQHnYbzhuWe5FgEqDixp3W2 X-Google-Smtp-Source: ABdhPJyZVp8SJ2xfiPfpnS2/RtI5KQp0ceFWBnD7yre+HCZ7VQigHvcsOv+aFnm3F2JjC2cqptc0Jw== X-Received: by 2002:adf:f749:: with SMTP id z9mr16417676wrp.379.1638469420205; Thu, 02 Dec 2021 10:23:40 -0800 (PST) Received: from amit-VirtualBox.world.mentorg.com (nat-inn.mentorg.com. [192.94.34.34]) by smtp.gmail.com with ESMTPSA id k37sm387965wms.21.2021.12.02.10.23.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 10:23:39 -0800 (PST) From: Amit Singh Tomar To: u-boot@lists.denx.de Cc: andre.przywara@arm.com, manivannan.sadhasivam@linaro.org, trini@konsulko.com, joe.hershberger@ni.com, jh80.chung@samsung.com, Amit Singh Tomar Subject: [PATCH v4 3/6] ARM: dts: sync Actions Semi S700 DT from Linux v5.16-rc3 Date: Thu, 2 Dec 2021 23:53:28 +0530 Message-Id: <20211202182328.25905-1-atomar25opensource@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20211128113225.3992-4-atomar25opensource@gmail.com> References: <20211128113225.3992-4-atomar25opensource@gmail.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.38 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: Amit Singh Tomar This Synchronizes the Actions Semi S700 SoC DT changes from commit "g58e1100fdc59" ("Linux v5.16-rc3"). Signed-off-by: Amit Singh Tomar --- arch/arm/dts/s700.dtsi | 17 ++++++++++++++++- .../dt-bindings/power/owl-s700-powergate.h | 19 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 include/dt-bindings/power/owl-s700-powergate.h diff --git a/arch/arm/dts/s700.dtsi b/arch/arm/dts/s700.dtsi index 2006ad5424fa..2c78caebf515 100644 --- a/arch/arm/dts/s700.dtsi +++ b/arch/arm/dts/s700.dtsi @@ -5,6 +5,7 @@ #include #include +#include #include / { @@ -231,7 +232,7 @@ pinctrl: pinctrl@e01b0000 { compatible = "actions,s700-pinctrl"; - reg = <0x0 0xe01b0000 0x0 0x1000>; + reg = <0x0 0xe01b0000 0x0 0x100>; clocks = <&cmu CLK_GPIO>; gpio-controller; gpio-ranges = <&pinctrl 0 0 136>; @@ -244,5 +245,19 @@ , ; }; + + dma: dma-controller@e0230000 { + compatible = "actions,s700-dma"; + reg = <0x0 0xe0230000 0x0 0x1000>; + interrupts = , + , + , + ; + #dma-cells = <1>; + dma-channels = <10>; + dma-requests = <44>; + clocks = <&cmu CLK_DMAC>; + power-domains = <&sps S700_PD_DMA>; + }; }; }; diff --git a/include/dt-bindings/power/owl-s700-powergate.h b/include/dt-bindings/power/owl-s700-powergate.h new file mode 100644 index 000000000000..4cf1aefbf09c --- /dev/null +++ b/include/dt-bindings/power/owl-s700-powergate.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Actions Semi S700 SPS + * + * Copyright (c) 2017 Andreas Färber + */ +#ifndef DT_BINDINGS_POWER_OWL_S700_POWERGATE_H +#define DT_BINDINGS_POWER_OWL_S700_POWERGATE_H + +#define S700_PD_VDE 0 +#define S700_PD_VCE_SI 1 +#define S700_PD_USB2_1 2 +#define S700_PD_HDE 3 +#define S700_PD_DMA 4 +#define S700_PD_DS 5 +#define S700_PD_USB3 6 +#define S700_PD_USB2_0 7 + +#endif -- 2.27.0