From patchwork Tue Apr 12 23:55:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 65667 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2204756qge; Tue, 12 Apr 2016 16:58:57 -0700 (PDT) X-Received: by 10.66.54.205 with SMTP id l13mr8629694pap.66.1460505537179; Tue, 12 Apr 2016 16:58:57 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u10si12543972pfa.179.2016.04.12.16.58.56; Tue, 12 Apr 2016 16:58:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030556AbcDLX6m (ORCPT + 29 others); Tue, 12 Apr 2016 19:58:42 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:33623 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030345AbcDLX6j (ORCPT ); Tue, 12 Apr 2016 19:58:39 -0400 Received: by mail-pa0-f49.google.com with SMTP id zm5so22467031pac.0 for ; Tue, 12 Apr 2016 16:58:39 -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=aqGiwCrNxGW084xgcVPPkHU0SVawNZqXjNEgUJ3IR1k=; b=AFZuiP4h+7gWBthG40ZIjfRfP6wQGDOny9FpAeUUnDBaUk0TUQ0vhoY92AxVXGHrb8 H5HKIHyz44mVH2sDMs75Od33zNuJumllZaeQY++xjipOetkXwXADIViqJT+YiH5g+HEI qevI3eQ9fnrNpxatgXTseaD/lIH4etj5uO6rY= 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=aqGiwCrNxGW084xgcVPPkHU0SVawNZqXjNEgUJ3IR1k=; b=mGsibFGJbMKfRCR0OmufoHdGfbiwuI/CQokSPb3rkMAiwh7xDcm08ReHhiAPgA8CW/ 5LM6XB85W4KqiW5cN0SGW7og3T/rB98jtDeTCUykF7HOaaDkXhvPsSZ7haWwXwHBQRah /BTbgDEDzhUN1/BQYHWnXX3xXh5yDkFbuQ5wYFrN/jPuJSYeGLTzpf5GpfKrDjbWz8qv 9ejtKOTbJdYlbVy5FhwKWFhFUshLks7KxuX+q4jSjDbTUry/rRwjmMuRtdYK2ny0Nhh7 Q4x/KGjp8o3oGq4fn2eECg46TwBxJ1zRanhltAWxdoglXqkxdxcDvXZ0QeZcWRzQJNH4 314Q== X-Gm-Message-State: AOPr4FWtrCdPNH1U/ZqcRGPaDRDfiC2tcv7r+HiC2TnWquiJ2BOym291mh9mVvX6AYDM1zs/ X-Received: by 10.66.101.67 with SMTP id fe3mr8575894pab.43.1460505518722; Tue, 12 Apr 2016 16:58:38 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.226]) by smtp.gmail.com with ESMTPSA id i1sm46165795pfj.17.2016.04.12.16.58.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 16:58:38 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, catalin.marinas@arm.com, will.deacon@arm.com, haojian.zhuang@linaro.org, linus.walleij@linaro.org, tony@atomide.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Zhangfei Gao Subject: [PATCH v4 09/16] arm64: dts: Add hi6220 usb node Date: Wed, 13 Apr 2016 07:55:45 +0800 Message-Id: <1460505352-13157-10-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> References: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zhangfei Gao Add USB nodes for Hi6220 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(+) -- 1.9.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 4fc0347..4d1d31f 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -615,5 +615,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>; + }; }; };