From patchwork Fri Oct 23 01:44:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaedon Shin X-Patchwork-Id: 534694 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 1E1B014131F for ; Fri, 23 Oct 2015 12:45:51 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Ev4pqSe+; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753223AbbJWBpu (ORCPT ); Thu, 22 Oct 2015 21:45:50 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:35318 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753209AbbJWBpt (ORCPT ); Thu, 22 Oct 2015 21:45:49 -0400 Received: by pasz6 with SMTP id z6so102443979pas.2; Thu, 22 Oct 2015 18:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=25YOqwcgnwWREQy1OgTvvczIDJGRQxqOOe7xBGvT17A=; b=Ev4pqSe+OMNCOb8uVEW81Hb7ZiUvNyZcw9ZmeD47B30UX7HMRdsfuLlp1nxCppea6Y TzzTFQLGL9kDrn+g0tdSn+aybnw6FOJtNjIzdnXjHKuTOqiXnX4gidD0V2e14cqUGTq6 nGmhrINBfJf5ePxKjmqmmfWtNK8BsBvkwuVqxw/WwA7WtPHgDG77TAy6+lOj/Ytgg/U9 VtzmVV25CyYOFNg6GyxmSGYHUKpA2vjAQYjNb02RrdxvZx5UOT5BxI+uudvRua3rguqG XSoreT/HBePuZscFj0fugCoVoikPZcf0jA+vUvJ4mwiHjzceAr6DD8lrdbiQzVBBDhix SfBA== X-Received: by 10.66.152.44 with SMTP id uv12mr7638890pab.110.1445564749071; Thu, 22 Oct 2015 18:45:49 -0700 (PDT) Received: from localhost.localdomain ([125.176.118.36]) by smtp.gmail.com with ESMTPSA id u10sm15955594pbs.63.2015.10.22.18.45.45 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Oct 2015 18:45:48 -0700 (PDT) From: Jaedon Shin To: Tejun Heo , Kishon Vijay Abraham I , Ralf Baechle , Florian Fainelli , Rob Herring Cc: linux-ide@vger.kernel.org, linux-mips@linux-mips.org, devicetree@vger.kernel.org, Jaedon Shin Subject: [PATCH 08/10] MIPS: BMIPS: brcmstb: add SATA nodes for bcm7346 Date: Fri, 23 Oct 2015 10:44:21 +0900 Message-Id: <1445564663-66824-9-git-send-email-jaedon.shin@gmail.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1445564663-66824-1-git-send-email-jaedon.shin@gmail.com> References: <1445564663-66824-1-git-send-email-jaedon.shin@gmail.com> Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org Add AHCI and PHY device nodes to BMIPS based BCM7346 platform. Signed-off-by: Jaedon Shin --- arch/mips/boot/dts/brcm/bcm7346.dtsi | 40 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 8 +++++++ 2 files changed, 48 insertions(+) diff --git a/arch/mips/boot/dts/brcm/bcm7346.dtsi b/arch/mips/boot/dts/brcm/bcm7346.dtsi index d817bb46b934..bf5b2d7a8b75 100644 --- a/arch/mips/boot/dts/brcm/bcm7346.dtsi +++ b/arch/mips/boot/dts/brcm/bcm7346.dtsi @@ -246,5 +246,45 @@ interrupts = <76>; status = "disabled"; }; + + sata: sata@181000 { + compatible = "brcm,bcm7346-ahci", "brcm,sata3-ahci"; + reg-names = "ahci", "top-ctrl"; + reg = <0x181000 0xa9c>, <0x180020 0x8>; + interrupt-parent = <&periph_intc>; + interrupts = <40>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + sata0: sata-port@0 { + reg = <0>; + phys = <&sata_phy0>; + }; + + sata1: sata-port@1 { + reg = <1>; + phys = <&sata_phy1>; + }; + }; + + sata_phy: sata-phy@1800000 { + compatible = "brcm,bcm7346-sata-phy", "brcm,phy-sata3"; + reg = <0x180100 0x0eff>; + reg-names = "phy"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + sata_phy0: sata-phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + sata_phy1: sata-phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; }; }; diff --git a/arch/mips/boot/dts/brcm/bcm97346dbsmb.dts b/arch/mips/boot/dts/brcm/bcm97346dbsmb.dts index 3fe0445b9d37..e147c61178cc 100644 --- a/arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +++ b/arch/mips/boot/dts/brcm/bcm97346dbsmb.dts @@ -64,3 +64,11 @@ &ohci3 { status = "okay"; }; + +&sata { + status = "okay"; +}; + +&sata_phy { + status = "okay"; +};