From patchwork Wed Sep 21 20:58:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 9344213 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7BF8C601C2 for ; Wed, 21 Sep 2016 21:01:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B5F42A80D for ; Wed, 21 Sep 2016 21:01:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F4602A85A; Wed, 21 Sep 2016 21:01:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EA13E2A80D for ; Wed, 21 Sep 2016 21:01:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmocO-0005IN-Ha; Wed, 21 Sep 2016 20:59:48 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmocB-0005EO-8C for linux-arm-kernel@lists.infradead.org; Wed, 21 Sep 2016 20:59:36 +0000 Received: by mail-lf0-x242.google.com with SMTP id b71so2237717lfg.1 for ; Wed, 21 Sep 2016 13:59:18 -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 :mime-version:content-transfer-encoding; bh=QSOSVYFMATudC/IcFGxmtUhyZsQ35mymm82LR/KQqkQ=; b=NkTEsjY1n2RvyV+yjyVnfU4zCfcw2QdfJy9xIDJsnnXzvdw0nJVDB922x22x9kEoMS NOrW0ewYsk+5LRJKqAA/NXzuDZwMZ8JtARPsFVbbjfQk3rJgl1YiMLxs/ps3QKLXHMUM nlCYSjgyb1yUPLTzERvGaBfzL1SJqyGIcVCMYQB+8oB6ZQjWelpQICFLheQlwxzX7mJa 3RG3YXqWf4ocbx0fq49eWaLHPKtn9XAjBct2qONin/kPlrYWBk/V2iYeVDNPfExevVMK gDPB8kJ5YNwpZCSu4ZEnHTIXoAFuBhJi3ywZcVN9gqRJ3+GVTH2Q4RB7VEO1soe4M/wM ybdw== 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:mime-version:content-transfer-encoding; bh=QSOSVYFMATudC/IcFGxmtUhyZsQ35mymm82LR/KQqkQ=; b=Sa+vz8jWRLpHxmPk7AX2huFNQ9IDjRdwbewRZaiFbXY0x3IuGKsL3nBzfvR42YmGyp m7wEJAhNnA4kOZHySGaHPULynJ2IbBTPKIkOnN4XZjN4n+zUfo9FENIcb8YPUggtaNsi 1QQONKR9rQZD1y/E5TjXS/NTERhhH/T4JGQc3aZ5jhZBuKLM7xF952osjBN/dhR8U9qF Jnhw4u/s4YyruLXk74WVecezCCaWhrAf2Lcr6t3Qporwu3arLa5WEd46oFfMG4MnU/yU PHU/xHqhp7hHZj2VvURPR2CekM+EFbS8kJbBcoUGf/I1xkyoj5y/mxqo4o0haocq9NMo 6/eA== X-Gm-Message-State: AE9vXwNemGH1wS74tsC8q4OlVG4zdedVuuMcR/I1JeJ4NSFiM+mfKGYcG2rlDZnmLUDWcw== X-Received: by 10.25.20.194 with SMTP id 63mr15241887lfu.137.1474491556642; Wed, 21 Sep 2016 13:59:16 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id o84sm890440lfi.34.2016.09.21.13.59.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Sep 2016 13:59:16 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH 3/3] ARM: BCM5301X: Specify USB 3.0 PHY in DT Date: Wed, 21 Sep 2016 22:58:34 +0200 Message-Id: <20160921205838.15627-3-zajec5@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160921205838.15627-1-zajec5@gmail.com> References: <20160921205838.15627-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160921_135935_556284_47EE93F7 X-CRM114-Status: GOOD ( 11.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Russell King , open list , Rob Herring , "maintainer:BROADCOM BCM5301X ARM ARCHITECTURE" , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , "open list:BROADCOM BCM5301X ARM ARCHITECTURE" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rafał Miłecki Driver for Northstar USB 3.0 PHY has been recently added under the name phy-bcm-ns-usb3. Add binding for it into the DT files. The only slightly tricky part is BCM47094 which uses different PHY version and requires different compatible value. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm47094.dtsi | 6 ++++++ arch/arm/boot/dts/bcm5301x.dtsi | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/bcm47094.dtsi b/arch/arm/boot/dts/bcm47094.dtsi index f039765..4f09aa0 100644 --- a/arch/arm/boot/dts/bcm47094.dtsi +++ b/arch/arm/boot/dts/bcm47094.dtsi @@ -6,6 +6,12 @@ #include "bcm4708.dtsi" +/ { + usb3_phy: usb3-phy { + compatible = "brcm,ns-bx-usb3-phy"; + }; +}; + &uart0 { clock-frequency = <125000000>; }; diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index ae4b388..f09a2bb 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -149,6 +149,13 @@ clock-names = "phy-ref-clk"; }; + usb3_phy: usb3-phy { + compatible = "brcm,ns-ax-usb3-phy"; + reg = <0x18105000 0x1000>, <0x18003000 0x1000>; + reg-names = "dmp", "ccb-mii"; + #phy-cells = <0>; + }; + axi@18000000 { compatible = "brcm,bus-axi"; reg = <0x18000000 0x1000>;