Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1465457imu; Wed, 28 Nov 2018 09:57:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/WGNLTKzViFV+edRcEoPd92juvgLvgGeI3tHKXhIS46Npk7ntqsgKWxMpO5hB/r/F8qv48F X-Received: by 2002:a63:451a:: with SMTP id s26mr34347909pga.150.1543427821826; Wed, 28 Nov 2018 09:57:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543427821; cv=none; d=google.com; s=arc-20160816; b=dCfWVFy/YHNfsJfEJAvoD/xXZZsLyg8t8QkGB3hhI9GwDJStWKMpTsaKsYdT3GKC9t i3Mxx1rYAzJUODqx7Zt5SMaO5/WWL7E0weKlufo8aEf+/AypYYw6nVUm5WIq8g2ooLKW +j6Ex9B7GJov2gR665YBJzt/uCZoa52t6wXSwJP0jVLzIAXZr5+ZWR15S/dDdi4MYJz4 25mNpsg1mqwQRdPT+zbkbSOnjick+SIb7M1GYFbMmvW4yw11+QXY20vQQ+1LjTVkFzhZ IyvhTem51q++Mopo5Yspi/1fjHrkaWDI1lSFQH2d76scWcnHbB0rng/TPf7V8v8hUlcv gBQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=bg1+htXU8eQ82dHrHiPkai1p+De7rOQPr/HlS/Z8bDs=; b=Pyqx2xIDfGAgdEwu+YHz9cw9ESu3Z4yk6xBoV3ZhZSPmaLL88F1tekp/ap5+Tom5nt WHMltryAtdbpWAfxISUaJxZAl3Qu6DKFAMCxwQpZJMpd2neLT6Wc5QpQ5MVGX9MssdaA oma64pqLCwx/c0F9az4Sl+cQ7mjfW9baNGd1hVLjiVCvl1w15VTgmCTjjQHVXKntcQP2 yTFu9o7YlsbHnIEIiLnmLprzKzKNhgpX+IhS4Uk5Wn7wfOA8XGuS849kj7nnSNra6wWN mUFms1ELY/UORvcsvT3P3/dWJLkvVX5XgIVumV9gU9qwH8jXc1nF7EWEyEIrzSM/zmhw 9M1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z61si8124400plb.49.2018.11.28.09.56.46; Wed, 28 Nov 2018 09:57:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729568AbeK2E4t (ORCPT + 99 others); Wed, 28 Nov 2018 23:56:49 -0500 Received: from shell.v3.sk ([90.176.6.54]:39506 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729540AbeK2E4t (ORCPT ); Wed, 28 Nov 2018 23:56:49 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 86066999FD; Wed, 28 Nov 2018 18:54:19 +0100 (CET) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id X6g6Az3bFM78; Wed, 28 Nov 2018 18:53:58 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 5C66799BE7; Wed, 28 Nov 2018 18:53:39 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id i_e2eqEx6tsK; Wed, 28 Nov 2018 18:53:34 +0100 (CET) Received: from belphegor.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id 05F7499986; Wed, 28 Nov 2018 18:53:31 +0100 (CET) From: Lubomir Rintel To: arm@kernel.org, Olof Johansson , Arnd Bergmann Cc: Eric Miao , Haojian Zhuang , Russell King , Robert Jarzmik , Pavel Machek , James Cameron , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lubomir Rintel Subject: [PATCH v4 10/20] DT: marvell,mmp2: Add SSP controllers Date: Wed, 28 Nov 2018 18:53:14 +0100 Message-Id: <20181128175324.163202-11-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181128175324.163202-1-lkundrak@v3.sk> References: <20181128175324.163202-1-lkundrak@v3.sk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Despite Marvel keeps their base addresses secret there's a good chance they're actually correct. SSP1 and SSP3 bases were taken from OLPC 1.75: OpenFirmware and kernel respectively. SSP2 and SSP4 addresses are from James Cameron who actually has a copy of the data sheet. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- Changes since v2: - Added SSP2 and SSP4 (thanks James Cameron ) Changes since v1: - Dropped the aliases arch/arm/boot/dts/mmp2.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index 0c5a51b98c3f..ee03e0846740 100644 --- a/arch/arm/boot/dts/mmp2.dtsi +++ b/arch/arm/boot/dts/mmp2.dtsi @@ -346,6 +346,38 @@ resets =3D <&soc_clocks MMP2_CLK_RTC>; status =3D "disabled"; }; + + ssp1: ssp@d4035000 { + compatible =3D "marvell,mmp2-ssp"; + reg =3D <0xd4035000 0x1000>; + clocks =3D <&soc_clocks MMP2_CLK_SSP0>; + interrupts =3D <0>; + status =3D "disabled"; + }; + + ssp2: ssp@d4036000 { + compatible =3D "marvell,mmp2-ssp"; + reg =3D <0xd4036000 0x1000>; + clocks =3D <&soc_clocks MMP2_CLK_SSP1>; + interrupts =3D <1>; + status =3D "disabled"; + }; + + ssp3: ssp@d4037000 { + compatible =3D "marvell,mmp2-ssp"; + reg =3D <0xd4037000 0x1000>; + clocks =3D <&soc_clocks MMP2_CLK_SSP2>; + interrupts =3D <20>; + status =3D "disabled"; + }; + + ssp4: ssp@d4039000 { + compatible =3D "marvell,mmp2-ssp"; + reg =3D <0xd4039000 0x1000>; + clocks =3D <&soc_clocks MMP2_CLK_SSP3>; + interrupts =3D <21>; + status =3D "disabled"; + }; }; =20 soc_clocks: clocks{ --=20 2.19.1