Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1463899imu; Wed, 28 Nov 2018 09:55:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vv8UmpaJoLwpZNzENEwkJTYkhOHCEqRZeo2pquLldwNEljpZiNJ/yxtGrdIn4ewxePbSOU X-Received: by 2002:a62:1709:: with SMTP id 9mr4023354pfx.249.1543427740139; Wed, 28 Nov 2018 09:55:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543427740; cv=none; d=google.com; s=arc-20160816; b=yHfu6NsQ0S+qU5REpGrKrpJe7qTCuxfcjNL4hg5GeS43dVsVNeuwgoDblLztAPijM7 CfBKjKXYrKwGFQcrcvQ72VwqL0MsTFenYOXkb/5AJVKIMO0mwL1XkhAzCJpVHzH0e2c3 ujSqna+suVrSwV41FyBkLnQQWZN66pc/f2bb8XWtqHi5JBXfNITxcFlEJfgymJL/7nx7 lVNEcSs+aX/fIHwgQ6fk2uFZm88jJz+moB+jvB/nrdha8g8tEcv6wY6lLX5Vs9ygIkrU O71VzAvOM2z1OhPGo1O+8EudnkydcKb8ckH90OIDFLYu0QlX9N/TpO7iXN1pmI2tawsr ovyg== 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=uKnAvMAKsI23gDLXakIyduuMfd5qBT6wvT9+uDlrTQY=; b=NgnO7NczZHL6Mt2Q3x46w8V9pA4p5ky5p4BuSDmM6swyelfoWBMnAZ6Ix9Dwi6mSn+ yKScG2kVi85X3n9clhgz3ZPtYj6EuZszwHYHjHjjMSz4KPrlN4sGS3pMBieHMHlvGVmf 2VWYAVDJ0bu8WB37qPAkhszUmd5o2Yorp8/LAlWZAXe2iyxQos6bQXYeJk9KgdOnKocs mhIr6Dd06dWs9HuKJDriAssWvQY/JmXPj4Sw4lTZ25rc3pda2BViQnal5CSgHCArnthp o40z3sUlGnSFGqHTRSgC4jTr263XV1vsEHokgCsR+nneAxwiVCBUI06oJHZi0puZeHEq aCVA== 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 i13si7766525pgc.41.2018.11.28.09.55.22; Wed, 28 Nov 2018 09:55:40 -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 S1729485AbeK2E4e (ORCPT + 99 others); Wed, 28 Nov 2018 23:56:34 -0500 Received: from shell.v3.sk ([90.176.6.54]:39418 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729387AbeK2E4e (ORCPT ); Wed, 28 Nov 2018 23:56:34 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 0094399A93; Wed, 28 Nov 2018 18:54:04 +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 PfmE0zDODrht; Wed, 28 Nov 2018 18:53:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 16D8C99AB6; Wed, 28 Nov 2018 18:53:35 +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 qVk-QmR5mnfo; Wed, 28 Nov 2018 18:53:30 +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 9D16B99A2C; Wed, 28 Nov 2018 18:53:29 +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 05/20] DT: marvell,mmp2: add MMC controllers Date: Wed, 28 Nov 2018 18:53:09 +0100 Message-Id: <20181128175324.163202-6-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 There's apparently four of them on a MMP2. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- Changes since v3: - Fixed the mmc4 node name Changes since v1: - The controllers seem to be on AXI bus, not APB. Move them. - Remove aliases. arch/arm/boot/dts/mmp2.dtsi | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index 4743a1288280..1120fe6abbdc 100644 --- a/arch/arm/boot/dts/mmp2.dtsi +++ b/arch/arm/boot/dts/mmp2.dtsi @@ -117,6 +117,42 @@ reg-names =3D "mux status", "mux mask"; mrvl,intc-nr-irqs =3D <2>; }; + + mmc1: mmc@d4280000 { + compatible =3D "mrvl,pxav3-mmc"; + reg =3D <0xd4280000 0x120>; + clocks =3D <&soc_clocks MMP2_CLK_SDH0>; + clock-names =3D "io"; + interrupts =3D <39>; + status =3D "disabled"; + }; + + mmc2: mmc@d4280800 { + compatible =3D "mrvl,pxav3-mmc"; + reg =3D <0xd4280800 0x120>; + clocks =3D <&soc_clocks MMP2_CLK_SDH1>; + clock-names =3D "io"; + interrupts =3D <52>; + status =3D "disabled"; + }; + + mmc3: mmc@d4281000 { + compatible =3D "mrvl,pxav3-mmc"; + reg =3D <0xd4281000 0x120>; + clocks =3D <&soc_clocks MMP2_CLK_SDH2>; + clock-names =3D "io"; + interrupts =3D <53>; + status =3D "disabled"; + }; + + mmc4: mmc@d4281800 { + compatible =3D "mrvl,pxav3-mmc"; + reg =3D <0xd4281800 0x120>; + clocks =3D <&soc_clocks MMP2_CLK_SDH3>; + clock-names =3D "io"; + interrupts =3D <54>; + status =3D "disabled"; + }; }; =20 apb@d4000000 { /* APB */ --=20 2.19.1