From patchwork Tue Apr 5 13:27:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8751701 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F322FC0554 for ; Tue, 5 Apr 2016 13:36:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 258DD2028D for ; Tue, 5 Apr 2016 13:36:30 +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 F40EF200FF for ; Tue, 5 Apr 2016 13:36:28 +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 1anR82-0006Th-BF; Tue, 05 Apr 2016 13:34:46 +0000 Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anR4S-0003Oa-0o for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2016 13:31:09 +0000 Received: by mail-pf0-x22d.google.com with SMTP id c20so11041085pfc.1 for ; Tue, 05 Apr 2016 06:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=c/Ndlnr7jrxQpxp9o9KQG7UOq6isgGoib9NB8En83v4=; b=BEOHOTx9+rhiR1v5vDPZ5gC2kclS+aO+IITRe3mo26ox4VZU8OJ7qTnS1co+BGUT+m BLZ8i3qKTKRQWfgpmS8k6MSCT5T6Qqi49Ql2tBviO46pD8J9XaBNV4D96usze06JrzCQ IAwvqQpHUg6KxffmN0r4FbA5pV9xzDqQXotgg= 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=c/Ndlnr7jrxQpxp9o9KQG7UOq6isgGoib9NB8En83v4=; b=eQDsQGINJXFUtTxPPpD62LBI1QQ/Lk0ppnhs0cfC8F9Yvl2MpVHD6nkejmTHRGGKit 0bJVhtnBSS8DhavMRemkC5yVkwFBttnQ28BznsKFHNAlDViBtkzSKlRYJ8LKstv96iI/ o5ZgsGHCHOdxisTL5hm3oDoRCT7N3cOADzs1dBrwa6g68+nZ/fc110RF6Zx4HyOLVZCY Mu8IrW9D2F7VNqbVxhoonhRScEtFw9HDNe87/3a/ygWqVXKl+wjF9TtTYx2wkgCPb4Fy vrNpjKXWQJ5jzpiT7SAgOXCJeNy4o8Hy2zghaLJbW+NU7XJoOKD/U3cs+eNw78yp4gL5 N7mQ== X-Gm-Message-State: AD7BkJLli4FqbhzUfT1YNCZGf9Z//TW61Gpsc02ZuYKq3a6/QalBlzfvlo0DEdiR7tcOy2zD X-Received: by 10.98.73.132 with SMTP id r4mr29701665pfi.118.1459863043395; Tue, 05 Apr 2016 06:30:43 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.49]) by smtp.gmail.com with ESMTPSA id wh9sm8060481pab.8.2016.04.05.06.30.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Apr 2016 06:30:42 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, mark.rutland@arm.com, robh@kernel.org, grant.likely@secretlab.ca, linus.walleij@linaro.org, arnd.bergmann@linaro.org Subject: [PATCH v3 09/16] arm64: dts: add hi6220 usb node Date: Tue, 5 Apr 2016 21:27:33 +0800 Message-Id: <1459862860-9775-10-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> References: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160405_063104_695345_AD94C9B4 X-CRM114-Status: UNSURE ( 9.35 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) 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, kong.kongxinwei@hisilicon.com, linux-kernel@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=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 From: Zhangfei Gao Signed-off-by: Zhangfei Gao Signed-off-by: Wei Xu Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 53b5b25..3faa004 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -635,5 +635,37 @@ pinctrl-0 = <&i2c2_pmx_func &i2c2_cfg_func>; 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>; + }; }; };