Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp107783pxj; Thu, 13 May 2021 22:40:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUdbnNZv1w7nX+EkxjBc3Qev2B0GLR79ZztaNemM7ALQH9L0gymf9/YVddJiR4V9alM5AU X-Received: by 2002:a50:fc87:: with SMTP id f7mr53270251edq.215.1620970849427; Thu, 13 May 2021 22:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620970849; cv=none; d=google.com; s=arc-20160816; b=UpEqNDOOxLMUibr3LRmH8ZkXzRCpDJ9T+yQcc8dEdf+pDs1h7mvvjdilWQik0RGJKl 5wtUl7cPrJZ3++SvMHBanUQEr5df1lpSX1YQT4/iwCqjyDMQFkcLDARLJYnveyAS4NBM zDmXSnpdp52jcaH7P4v6iKRQTRlOUiDWn1eXbxAfzMSMcJBDPEcqsvBOQTboB/QVn28e E0O+iaW5TjVBOMeu9GhX5iqiH4GYy8sXtTkn3XFcVv3LJ53V0i2i8ZhwhzuEzG7/YW/h cB1MeiJSPiZKTIm6sSahFZk1ULXu9JI9+AMmIbVNDOsJaUL3tbcYzcu9c1fIJmQeB4JE fxKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=06LqRTUzSdT9Tov+g4m798kBb4tvLoxjyHzqJan8amc=; b=WoS2N9yK1Mt/dl0RSosNfI0J2+QZ3LQrinQYjx6NLTjGFQAo7/DcG4CKwMP7PEPmI+ XGbGseS8u0hCLciH3Wvr59NhgnUSLAO1t552ABxgcNEx5ashUBnZsc1jW5PKS1hxNDZU 26KNwqtDs19DqclEqIFw20hsv8ZuhiKzc9yKVf4uS1dv5j/d4fajBNSUFDV+DazqeAcb TMPl2xddtqMsBN38XoKYbNVikYQXgt+tSuROIVu8tcyroCsNgGKJGPPhA/Bkip/T/d9h MQLV3rGhA1GIhcBG9dMJ2x8JCJE/1itRFGChP0jz1HRZ45jUfh7KFwnGklB+InjglW9E eMIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ho35si4866908ejc.3.2021.05.13.22.40.26; Thu, 13 May 2021 22:40:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232280AbhEMTKd (ORCPT + 99 others); Thu, 13 May 2021 15:10:33 -0400 Received: from mail.manjaro.org ([176.9.38.148]:42494 "EHLO mail.manjaro.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232196AbhEMTKY (ORCPT ); Thu, 13 May 2021 15:10:24 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id B6D2B221121; Thu, 13 May 2021 21:09:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at manjaro.org Received: from mail.manjaro.org ([127.0.0.1]) by localhost (manjaro.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ITykIUlOmmXw; Thu, 13 May 2021 21:09:08 +0200 (CEST) From: Tobias Schramm To: Rob Herring , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Tobias Schramm Subject: [PATCH 4/4] ARM: dts: sun8i: V3: add I2S interface to V3 dts Date: Thu, 13 May 2021 21:09:49 +0200 Message-Id: <20210513190949.2069235-5-t.schramm@manjaro.org> In-Reply-To: <20210513190949.2069235-1-t.schramm@manjaro.org> References: <20210513190949.2069235-1-t.schramm@manjaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Allwinner V3 SoC features an I2S interface. The I2C peripheral is identical to that in the Allwinner H3 SoC. This commit adds it to the Allwinner V3 dts. Signed-off-by: Tobias Schramm --- arch/arm/boot/dts/sun8i-v3.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3.dtsi b/arch/arm/boot/dts/sun8i-v3.dtsi index c279e13583ba..0061c49523f2 100644 --- a/arch/arm/boot/dts/sun8i-v3.dtsi +++ b/arch/arm/boot/dts/sun8i-v3.dtsi @@ -1,10 +1,30 @@ // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (C) 2019 Icenowy Zheng + * Copyright (C) 2021 Tobias Schramm */ #include "sun8i-v3s.dtsi" +/ { + soc { + i2s0: i2s@1c22000 { + #sound-dai-cells = <0>; + compatible = "allwinner,sun8i-h3-i2s"; + reg = <0x01c22000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; + clock-names = "apb", "mod"; + dmas = <&dma 3>, <&dma 3>; + dma-names = "rx", "tx"; + pinctrl-names = "default"; + pinctrl-0 = <&i2s0_pins>; + resets = <&ccu RST_BUS_I2S0>; + status = "disabled"; + }; + }; +}; + &ccu { compatible = "allwinner,sun8i-v3-ccu"; }; @@ -25,6 +45,11 @@ external_mdio: mdio@2 { &pio { compatible = "allwinner,sun8i-v3-pinctrl"; + i2s0_pins: i2s0-pins { + pins = "PG10", "PG11", "PG12", "PG13"; + function = "i2s"; + }; + uart1_pg_pins: uart1-pg-pins { pins = "PG6", "PG7"; function = "uart1"; -- 2.30.1