From patchwork Mon Nov 30 04:35:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 7720971 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5596D9F387 for ; Mon, 30 Nov 2015 04:38:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 69EE92062E for ; Mon, 30 Nov 2015 04:38:27 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 9B1FD2062C for ; Mon, 30 Nov 2015 04:38:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a3GCG-00058M-6A; Mon, 30 Nov 2015 04:36:16 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a3GCD-00057P-3u for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2015 04:36:14 +0000 Received: by pacdm15 with SMTP id dm15so171464133pac.3 for ; Sun, 29 Nov 2015 20:35:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=8kWYL7dgdizoKWaHnawiet77SooE8NrGYNT7/fL/ypg=; b=B0IeNyFe2HLFUgkQcWZkEn3hZxHeRwXJc3lzPACld+RKdyqeZpFclp8q/6DGfcijfS KcJ4DJKg1y1WzPm0bUsuMaZvnCLQbRXadapowcAFST196xqZlOuezFbN6NmeoV77/GCV 8zout/aVTv3mDbK0Ttqd0K/5BiowGffZuH3j8XIG9F4vawBgxlvVpXU3GQSIigqCB240 9ml0q4hWmNaJ5GO+/gmwuT5S8G6vEIuSQHQzh9ey6Vchmi+iruiby6FoLeGUGslIqHoW rZvzgpeN8OaLaWsHUykMNlrpGfuUewgQ28TstoC+9BZIga2Ed5IvdrCrQPBA8b/ihWDo IRxg== 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; bh=8kWYL7dgdizoKWaHnawiet77SooE8NrGYNT7/fL/ypg=; b=L0eb5Y/BNnt/yW4EGo+R15+lq+Bc6eNQxCblLbwd0gdd8NWj/QOUGQOO8xDjStw+QN aVnkHbnXdabvWOGjvktfjlbAGueWZCmNsNS4ONX5r1A+dzHiDeB0u6NW0MmH+SlQg6rz gyLaSbYXdwtLKjD84Ul/bzw/tAopDpkAgi+HYttcSGoXVoRUeOIcF9hoZITA3vg0bXBH OZt4IcdnmPFDpbjj6BC5qqh+5c3pAq+t70V0MfwPDsOepPCqUjgsV1Po2xG54Iaf7D49 cdTPsuiY+8+0dET3aG4rRSdOHN3V+vKnJ4FeQJdk9d8erPUBJnwzleyON8PnptL8HYB7 i5Eg== X-Gm-Message-State: ALoCoQmQcXJRxTnQ45ptNApwnubJTQXokcUSRSRvQPySRfvxuVtElwvWyqe7Izmz5k25ExjfHS4I X-Received: by 10.98.66.93 with SMTP id p90mr67642170pfa.118.1448858151679; Sun, 29 Nov 2015 20:35:51 -0800 (PST) Received: from localhost.localdomain ([223.240.28.153]) by smtp.gmail.com with ESMTPSA id n6sm48374477pap.24.2015.11.29.20.35.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 Nov 2015 20:35:50 -0800 (PST) From: Zhangfei Gao To: Rob Herring , xuwei5@hisilicon.com, w.f@huawei.com Subject: [PATCH] arm64: dts: add hi6220 usb node Date: Mon, 30 Nov 2015 12:35:43 +0800 Message-Id: <1448858143-24361-1-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151129_203613_272226_AFF5105B X-CRM114-Status: UNSURE ( 8.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) 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: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Zhangfei Gao 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Signed-off-by: Zhangfei Gao --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 0f11e2a..abb2ea0 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -209,6 +209,39 @@ clock-names = "uartclk", "apb_pclk"; status = "disabled"; }; + + fixed_5v_hub: regulator@0 { + compatible = "regulator-fixed"; + regulator-name = "fixed_5v_hub"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-boot-on; + gpio = <&gpio0 7 0>; + regulator-always-on; + }; + + usb_phy: usbphy { + compatible = "hisilicon,hi6220-usb-phy"; + #phy-cells = <0>; + phy-supply = <&fixed_5v_hub>; + hisilicon,peripheral-syscon = <&sys_ctrl>; + }; + + usb: usb@f72c0000 { + compatible = "hisilicon,hi6220-usb"; + reg = <0x0 0xf72c0000 0x0 0x40000>; + phys = <&usb_phy>; + phy-names = "usb2-phy"; + clocks = <&sys_ctrl HI6220_USBOTG_HCLK>; + clock-names = "otg"; + dr_mode = "otg"; + g-use-dma; + g-rx-fifo-size = <512>; + g-np-tx-fifo-size = <128>; + g-tx-fifo-size = <128 128 128 128 128 128>; + interrupts = <0 77 0x4>; + }; + gpio0: gpio@f8011000 { compatible = "arm,pl061", "arm,primecell"; reg = <0x0 0xf8011000 0x0 0x1000>;