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: 57424 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp1222043lbb; Sun, 29 Nov 2015 20:36:04 -0800 (PST) X-Received: by 10.98.14.67 with SMTP id w64mr67893793pfi.163.1448858164533; Sun, 29 Nov 2015 20:36:04 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14si844423pfq.224.2015.11.29.20.36.04; Sun, 29 Nov 2015 20:36:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751840AbbK3Efw (ORCPT + 6 others); Sun, 29 Nov 2015 23:35:52 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:34153 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751836AbbK3Efw (ORCPT ); Sun, 29 Nov 2015 23:35:52 -0500 Received: by padhx2 with SMTP id hx2so171444450pad.1 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=V+c3TRmOgjCOE43uqULpJgEIGGznGRwxMNOnWkyykmhNoFUvbdQ6TGVke7xvYCLDYE XXtPLQaSOUeEo1u46HEsy+iQBh4/lsbYr7zJbMybUpMW1X5tNwd7b+qiHwKCe6ZRpovc lo/IvbS6f+zQzfleHF96hDZ0VZCLtmnssptVgfEh31H+yxmVAhui1CTCadCxPuaWwDv2 jzGrqr+9NTa0wXaAP5zBQb72o+NSwlAgtYKZ6mmxdnDPV/fepKoQAKu2zBd+ba1mp86M v3x63aMvwInV2JZZW5F/bAXxUNJUuNl7orwHx29UYDQCxvsQP7AANxBtqMpNbH9wqSyq q25g== X-Gm-Message-State: ALoCoQlFcW6qBzXaLlMXGUfCBkzF92hUpBnCPabjU8RVeTEHpAX0S+/OG3D+Uxpwct3LtZvP4Vsf 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Zhangfei Gao 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Zhangfei Gao --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>;