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 451EBC433F5 for ; Sun, 28 Nov 2021 11:33:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D697A81244; Sun, 28 Nov 2021 12:33:18 +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="aiGDNcNn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DA79381420; Sun, 28 Nov 2021 12:33:09 +0100 (CET) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (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 1221681432 for ; Sun, 28 Nov 2021 12:33:00 +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-x42f.google.com with SMTP id j3so30039057wrp.1 for ; Sun, 28 Nov 2021 03:32:59 -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=rRAaowKbXOIT8n8ZSHkpE8ERn1iU4nfjXKZZ4A+xz90=; b=aiGDNcNnLhLLAAm6IFvc7tonPBtd5tRBUHDZhGCAo2xSJN2DeNQaDLot2i5+Am/wQR LKT3OflwCHfEX3PkS0WQBlgMn5UpuM/8OgjbXXcltQiqUeq6Maj1hsWQY681rXPTyIEg cOTyuWFDQ5Rca9c2+vNMFBqPKCPtW4n+jkZgWFnlVJ6kTpJI/D/6nkbZQ7hSP+Q8rcw0 9FV2T0Qiy61to0U70gdJqSn+bPHgfaERIouOj4gX9LytCJFI9mW6ly5zLZzWrbvz0Ff8 m0J3KzW+qztgewt8mym6l4kks3iKx4EKV88r661OAWsxjexkHZTl897PY3tyntdqFpuh mPeA== 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=rRAaowKbXOIT8n8ZSHkpE8ERn1iU4nfjXKZZ4A+xz90=; b=qhRYcd/jkju5aO5kgaK2aVyp8f/U6XteR3ui6io0uDtzBdMLk9PhgSgZBD+FCVOvAk VZNY8LeimoRqOUj23olIuyYV93H64atBWblon+9Tt6/74Nq+P59z1aQRhdErmIEQc345 t05hWTDcz9aAoSJf7+AZjGOMD5jE/xcfVjRM8knaM/+yYFoIi/zfrIMYwSOAVKisI5zv 9UMz5ikr+jgerAK5p+icCcse8tiuCzb90N6D6H4jakyCSCjM4XIAqhIzuL5MKyDkB7bm NkCwqc2s4F0NEvosW6Kmd5RRIthMdd9tapAYdcswn7rMFfi4zrGJDT2TXZNwwcUq1Ftk dW8g== X-Gm-Message-State: AOAM531MN/uO6dVDmyRohomkd1Su+e9vm8ywemUr2P6em4RDsM9CYSbN 4g9+09nWdZybKqXyvHpWVhc5GNd0/6/M X-Google-Smtp-Source: ABdhPJyEoF+OiozbZ3u45bPTDB6GlSJqI25mGNuozSTTQsXVGF6/QKkF1n4Dg/mE1mC9OXpLwdEnMQ== X-Received: by 2002:adf:e391:: with SMTP id e17mr26331378wrm.613.1638099179412; Sun, 28 Nov 2021 03:32:59 -0800 (PST) Received: from amit-VirtualBox.world.mentorg.com (nat-inn.mentorg.com. [192.94.34.34]) by smtp.gmail.com with ESMTPSA id b6sm17335285wmq.45.2021.11.28.03.32.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Nov 2021 03:32:59 -0800 (PST) From: Amit Singh Tomar To: u-boot@lists.denx.de Cc: andre.przywara@arm.com, manivannan.sadhasivam@linaro.org, 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 5.10-rc7 Date: Sun, 28 Nov 2021 17:02:22 +0530 Message-Id: <20211128113225.3992-4-atomar25opensource@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20211128113225.3992-1-atomar25opensource@gmail.com> References: <20211128113225.3992-1-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.37 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 "0477e9288185" ("Linux 5.10-rc7"). Signed-off-by: Amit Singh Tomar --- Changes since previous versions * No change. --- 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