From patchwork Tue Nov 26 05:46:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 3236541 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7DBDCC045B for ; Tue, 26 Nov 2013 05:49:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A61CB20357 for ; Tue, 26 Nov 2013 05:49:50 +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 8B2532034F for ; Tue, 26 Nov 2013 05:49:49 +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 1VlBVp-0006Ha-O5; Tue, 26 Nov 2013 05:48:42 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlBVR-0000QX-OD; Tue, 26 Nov 2013 05:48:17 +0000 Received: from exprod5og119.obsmtp.com ([64.18.0.189]) by merlin.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlBVC-0000Nd-5Q for linux-arm-kernel@lists.infradead.org; Tue, 26 Nov 2013 05:48:04 +0000 Received: from mail-pb0-f45.google.com ([209.85.160.45]) (using TLSv1) by exprod5ob119.postini.com ([64.18.4.12]) with SMTP ID DSNKUpQ1/GqfI6allBZrgVCu8Hgguj6BNAOt@postini.com; Mon, 25 Nov 2013 21:48:02 PST Received: by mail-pb0-f45.google.com with SMTP id rp16so7304716pbb.4 for ; Mon, 25 Nov 2013 21:47:40 -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=qZx+DkOHA4joJM7TvR8GNuHmE+soYU8lAEWGiOasAqw=; b=eunCvFTkE97EddkywhIPWKXFElTm3mPMSVm0qciA3/zBt9f6GHIWXPUrjEYXR3N/i1 Bpupj+qEnxdwhBSjUVE7JI0FeZRRGc/IpZJZ28hL6bF+GEpY9KhyiZd4g/wdg/eX8wH1 XRhirvNxgGPTeseoOjrv/S4LjNqavFtSB1rGQNjoHR0YKAdSk9yEsreaAuGcrk7gMXch 8LC3b3/CEj4qpmzhsgCm1LvkzQBIHmIgAodobCyx18YdCuWs652arYJDRP4VjIeNsGta 8RFaWP9Gtn4A/vyP36nvbPs69pXiOHHJpqE2+ozu4N6tDa3rjoKUyMvopTurWh6zFgAf LCdA== X-Gm-Message-State: ALoCoQlEw7+VWJGxfT4EM6aCgZsEso6s2LbBZOO/5RawRxCIJ5A8gD4tmHrEqskTitDayj69uI0lCAxMxjz1ost/FAeBMZVVt2SP8OT5QOixFn2bml+jdwL2R1UhxBpSyX0Hew9hsu4c6A7O5OJdPs0L1HoofgnDCNwggedF6VG+hqvkcQrhsF0+3f7SaFr+QyCfLBU6wBs5 X-Received: by 10.66.121.131 with SMTP id lk3mr31609393pab.61.1385444860373; Mon, 25 Nov 2013 21:47:40 -0800 (PST) X-Received: by 10.66.121.131 with SMTP id lk3mr31609383pab.61.1385444860318; Mon, 25 Nov 2013 21:47:40 -0800 (PST) Received: from localhost ([198.137.200.11]) by mx.google.com with ESMTPSA id gv10sm71846009pbd.0.2013.11.25.21.47.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 25 Nov 2013 21:47:39 -0800 (PST) From: Loc Ho To: olof@lixom.net, tj@kernel.org, arnd@arndb.de Subject: [PATCH v3 4/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries Date: Mon, 25 Nov 2013 22:46:58 -0700 Message-Id: <1385444818-29682-5-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1385444818-29682-4-git-send-email-lho@apm.com> References: <1385444818-29682-1-git-send-email-lho@apm.com> <1385444818-29682-2-git-send-email-lho@apm.com> <1385444818-29682-3-git-send-email-lho@apm.com> <1385444818-29682-4-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131126_004802_442490_B2DCE3E1 X-CRM114-Status: GOOD ( 10.06 ) X-Spam-Score: -1.9 (-) Cc: devicetree@vger.kernel.org, Suman Tripathi , linux-scsi@vger.kernel.org, jcm@redhat.com, patches@apm.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.2 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 15Gbps Multi-purpose PHY DTS entries This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA 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 | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index 359d7b6..f74c26a 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi @@ -193,5 +193,36 @@ reg = <0x0 0x17000014 0x0 0x100>; mask = <0x1>; }; + + phy1: phy@1f210000 { + compatible = "apm,xgene-phy"; + reg = <0x0 0x1f21a000 0x0 0x100>, + <0x0 0x1f21c000 0x0 0x100>; + #phy-cells = <1>; + status = "disabled"; + apm-tx-boost-gain = <0x2 0x2 0x2 0x2 0x2 0x2>; + apm-tx-eye-tuning = <0xa 0xa 0xa 0xa 0xa 0xa>; + }; + + phy2: phy@1f220000 { + compatible = "apm,xgene-phy"; + reg = <0x0 0x1f22a000 0x0 0x100>, + <0x0 0x1f22c000 0x0 0x100>; + #phy-cells = <1>; + status = "ok"; + apm-tx-boost-gain = <0x2 0x2 0x2 0x2 0x2 0x2>; + apm-tx-eye-tuning = <0xa 0xa 0xa 0x5 0x5 0x5>; + }; + + phy3: phy@1f230000 { + compatible = "apm,xgene-phy-ext"; + reg = <0x0 0x1f23a000 0x0 0x100>, + <0x0 0x1f23c000 0x0 0x100>, + <0x0 0x1f2d0000 0x0 0x100>; + #phy-cells = <1>; + status = "ok"; + apm-tx-boost-gain = <0x3 0x3 0x3 0x3 0x3 0x3>; + apm-tx-eye-tuning = <0xa 0xa 0xa 0xc 0xc 0xc>; + }; }; };