From patchwork Tue Nov 19 23:53:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 3204491 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B17BE9F3A0 for ; Tue, 19 Nov 2013 23:56:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C20C5206ED for ; Tue, 19 Nov 2013 23:56:15 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D48C7206EC for ; Tue, 19 Nov 2013 23:56:14 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Viv89-0002wh-SW; Tue, 19 Nov 2013 23:54:54 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Viv7n-0006jV-Et; Tue, 19 Nov 2013 23:54:31 +0000 Received: from exprod5og108.obsmtp.com ([64.18.0.186]) by merlin.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Viv7S-0006f4-6C for linux-arm-kernel@lists.infradead.org; Tue, 19 Nov 2013 23:54:12 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) (using TLSv1) by exprod5ob108.postini.com ([64.18.4.12]) with SMTP ID DSNKUov6DLwQk2qFJ7WLLdpmzDmUiQT1MqEP@postini.com; Tue, 19 Nov 2013 15:54:10 PST Received: by mail-pb0-f46.google.com with SMTP id md12so2640078pbc.19 for ; Tue, 19 Nov 2013 15:53:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hk7gvNZ08+B0JY4iNbDpCaelN1Gc4lWmVe7CHbKcwa4=; b=D4iqlEuSd+vppaqTg6+UdmNEFEkNcopQh4DZP4nUYgzwT8qV7abRm6gxU+1ote3jth dXDBgK3nc+Ippwra+wbrGhVMg2xGvtIHoHWTgxW/Ed3blz8uD6GpgKsEs2Gw1M2V/FWE +CAqJD10rhQIyVA93y0I7Qf8y4QU4/gdyB8xB/n0QM8CkFFNsuU2oHxAl/KdVl0VHlNu pMIJmV53CV/2dmy31/oQ+agFBP3hMhpGr1wxPKA99uyeg6jOyAJ3G3CjZ6hVAj96WanD jXHEgjpFYOJDig/yk0ly5qnNsZ/zXTQP7PnLaWhB692erbf8ppkarLQ0eUVBP/7kLlu/ ycOQ== X-Gm-Message-State: ALoCoQm29pAqyicMEX+ULC8LmyCdp+L8ghe0v5yIf1WARqVekXSdQ0AqpM9W4RyYJMfykbR53vA2gUhvI5n/ser1+RmzGmCMXfEFcpraGGEiGg0l+4SZGn0n6RCUAD0hrmgCFjd6p8Y6j2JZlJ+tuUsIehPMtV0xBbr6FJtJqgDmOWCKE0xWUKHbZaTA8C6+HOdHJ1JFa7Y6 X-Received: by 10.68.96.130 with SMTP id ds2mr20983727pbb.99.1384905228014; Tue, 19 Nov 2013 15:53:48 -0800 (PST) X-Received: by 10.68.96.130 with SMTP id ds2mr20983720pbb.99.1384905227936; Tue, 19 Nov 2013 15:53:47 -0800 (PST) Received: from localhost ([198.137.200.11]) by mx.google.com with ESMTPSA id yh1sm33214875pbc.21.2013.11.19.15.53.47 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 19 Nov 2013 15:53:47 -0800 (PST) From: Loc Ho To: olof@lixom.net, tj@kernel.org, arnd@arndb.de Subject: [PATCH v2 4/4] arm64: Add APM X-Gene SoC 6.0Gbps SATA PHY DTS entries Date: Tue, 19 Nov 2013 16:53:17 -0700 Message-Id: <1384905197-3566-5-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1384905197-3566-4-git-send-email-lho@apm.com> References: <1384905197-3566-1-git-send-email-lho@apm.com> <1384905197-3566-2-git-send-email-lho@apm.com> <1384905197-3566-3-git-send-email-lho@apm.com> <1384905197-3566-4-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131119_185410_498282_9CB9FA5B X-CRM114-Status: GOOD ( 10.49 ) X-Spam-Score: -4.2 (----) Cc: devicetree@vger.kernel.org, Suman Tripathi , linux-scsi@vger.kernel.org, jcm@redhat.com, linux-ide@vger.kernel.org, Loc Ho , Tuan Phan , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP arm64: Add APM X-Gene SoC 6.0Gbps SATA PHY DTS entries This patch adds the DTS entries for the APM X-Gene SoC 6.0Gbps SATA PHY driver. The PHY for controller 0 and 1 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index 359d7b6..1d1c8bc 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi @@ -193,5 +193,33 @@ reg = <0x0 0x17000014 0x0 0x100>; mask = <0x1>; }; + + sataphy0: sataphy@1f210000 { + compatible = "apm,xgene-ahci-phy"; + reg = <0x0 0x1f210000 0x0 0x10000>; + #phy-cells = <0>; + status = "na"; + txbooster = <0x2 0x2 0x2 0x2 0x2 0x2>; + txskew = <0xa 0xa 0xa 0xa 0xa 0xa>; + }; + + sataphy1: sataphy@1f220000 { + compatible = "apm,xgene-ahci-phy"; + reg = <0x0 0x1f220000 0x0 0x10000>; + #phy-cells = <0>; + status = "ok"; + txbooster = <0x2 0x2 0x2 0x2 0x2 0x2>; + txskew = <0xa 0xa 0xa 0x5 0x5 0x5>; + }; + + sataphy2: sataphy@1f230000 { + compatible = "apm,xgene-ahci-phy2"; + reg = <0x0 0x1f230000 0x0 0x10000 + 0x0 0x1f2d0000 0x0 0x10000>; + #phy-cells = <0>; + status = "ok"; + txbooster = <0x3 0x3 0x3 0x3 0x3 0x3>; + txskew = <0xa 0xa 0xa 0xc 0xc 0xc>; + }; }; };