From patchwork Tue May 15 13:58:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhao X-Patchwork-Id: 8656 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 25C1523E13 for ; Tue, 15 May 2012 13:59:24 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id D2A85A1889C for ; Tue, 15 May 2012 13:59:23 +0000 (UTC) Received: by ggnf1 with SMTP id f1so4764722ggn.11 for ; Tue, 15 May 2012 06:59:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :x-forefront-antispam-report:x-spamscore:x-bigfish:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:x-originatororg:x-gm-message-state; bh=VRAJoY/HVuWcCmz1cSCEiK9h2an/zubyhDtoAuJQyW4=; b=XaAHbzRJ3H6QCclVZ7NWjV/9UeN+i09CREynwfuYWxHzMkAjjbwYPOFrOoltdrXPQ1 cynNw2/wh48h8Lq85efmD3s1yFkCgWEdN3TJxkpYYtIqO78BKCfgDL5cT5hJrm7FpK1k VKSeZS6vRSI8OV2p8fJ6YdfK9NR34Bwr3Rrpd24WsJvr8pz6/VFW2e5lcD63VgR9xBAR wWuqdz/ahMqbZ6s+D5DS6864EumDjXTmGiVNFlPvWptm7BDQxN1RQRmF6Q7XX7/vYlc1 fku6sb5M7eTcfj2BHgIyR/9hzJxMS4wxqBFwlIv1EozfkrBR9NW5JkEQm6uscf5WfEJg 6CBg== Received: by 10.50.154.169 with SMTP id vp9mr7071733igb.53.1337090363165; Tue, 15 May 2012 06:59:23 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp422519ibd; Tue, 15 May 2012 06:59:22 -0700 (PDT) Received: by 10.180.24.193 with SMTP id w1mr30771061wif.5.1337090361992; Tue, 15 May 2012 06:59:21 -0700 (PDT) Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe004.messaging.microsoft.com. [213.199.154.207]) by mx.google.com with ESMTPS id er3si24004781wib.20.2012.05.15.06.59.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 May 2012 06:59:21 -0700 (PDT) Received-SPF: neutral (google.com: 213.199.154.207 is neither permitted nor denied by best guess record for domain of B20223@freescale.com) client-ip=213.199.154.207; Authentication-Results: mx.google.com; spf=neutral (google.com: 213.199.154.207 is neither permitted nor denied by best guess record for domain of B20223@freescale.com) smtp.mail=B20223@freescale.com Received: from mail52-am1-R.bigfish.com (10.3.201.241) by AM1EHSOBE004.bigfish.com (10.3.204.24) with Microsoft SMTP Server id 14.1.225.23; Tue, 15 May 2012 13:59:15 +0000 Received: from mail52-am1 (localhost [127.0.0.1]) by mail52-am1-R.bigfish.com (Postfix) with ESMTP id 6757680167; Tue, 15 May 2012 13:59:15 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 3 X-BigFish: VS3(zcb8kzzz1202hzz8275bhz2dh2a8h668h839hd24he5bh) Received: from mail52-am1 (localhost.localdomain [127.0.0.1]) by mail52-am1 (MessageSwitch) id 1337090353495758_30089; Tue, 15 May 2012 13:59:13 +0000 (UTC) Received: from AM1EHSMHS020.bigfish.com (unknown [10.3.201.243]) by mail52-am1.bigfish.com (Postfix) with ESMTP id 6C277140046; Tue, 15 May 2012 13:59:13 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS020.bigfish.com (10.3.206.23) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 15 May 2012 13:59:12 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server id 14.2.298.5; Tue, 15 May 2012 08:59:16 -0500 Received: from b20223-02.ap.freescale.net (b20223-02.ap.freescale.net [10.192.242.124]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id q4FDwjZQ003112; Tue, 15 May 2012 08:59:13 -0500 (CDT) From: Richard Zhao To: , CC: , , , , , , , , , Richard Zhao Subject: [PATCH v1 7/7] ARM: dts: imx6q-sabrelite: add usb devices Date: Tue, 15 May 2012 21:58:23 +0800 Message-ID: <1337090303-16046-8-git-send-email-richard.zhao@freescale.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1337090303-16046-1-git-send-email-richard.zhao@freescale.com> References: <1337090303-16046-1-git-send-email-richard.zhao@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-Gm-Message-State: ALoCoQlIoPZ1BPToaJh0cy8QGA1OESR6P4uyORsfyBgFLk+dzV3TFqStPF7AqcjInBlyW/tEOhN2 Signed-off-by: Richard Zhao --- arch/arm/boot/dts/imx6q-sabrelite.dts | 19 +++++++++++++- arch/arm/boot/dts/imx6q.dtsi | 44 +++++++++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts index 2f631f2..ccc794e 100644 --- a/arch/arm/boot/dts/imx6q-sabrelite.dts +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts @@ -41,10 +41,27 @@ status = "okay"; }; }; - + iomuxc@020e0000 { + gpios { + pinctrl_gpio_hog: gpiohog { + fsl,pins = <1044 0x80000000 + 144 0x80000000>; /* MX6Q_PAD_GPIO_17__GPIO_7_12 */ + }; + }; + }; }; aips-bus@02100000 { /* AIPS2 */ + usboh3@02184000 { /* USB OTG */ + fsl,vbus-power = <&gpio3 22 0>; + status = "okay"; + }; + + usboh3@02184200 { /* USB1 */ + fsl,hub-reset = <&gpio7 12 0>; + status = "okay"; + }; + ethernet@02188000 { phy-mode = "rgmii"; phy-reset-gpios = <&gpio3 23 0>; diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index b5a15c4..863cb74 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -444,12 +444,14 @@ }; }; - usbphy@020c9000 { /* USBPHY1 */ + usbphy1: usbphy@020c9000 { + compatible = "fsl,imx6q-usbphy"; reg = <0x020c9000 0x1000>; interrupts = <0 44 0x04>; }; - usbphy@020ca000 { /* USBPHY2 */ + usbphy2: usbphy@020ca000 { + compatible = "fsl,imx6q-usbphy"; reg = <0x020ca000 0x1000>; interrupts = <0 45 0x04>; }; @@ -485,7 +487,15 @@ compatible = "fsl,imx6q-iomuxc"; reg = <0x020e0000 0x4000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_hog>; + /* shared pinctrl settings */ + gpios { + pinctrl_gpio_hog: gpiohog { + }; + }; + usdhc3 { pinctrl_usdhc3_1: usdhc3grp-1 { fsl,pins = <1273 0x17059 /* MX6Q_PAD_SD3_CMD__USDHC3_CMD */ @@ -550,6 +560,36 @@ reg = <0x0217c000 0x4000>; }; + usboh3@02184000 { /* USB OTG */ + compatible = "fsl,imx6q-usboh3"; + reg = <0x02184000 0x200>; + interrupts = <0 43 0x04>; + fsl,usbphy = <&usbphy1>; + status = "disabled"; + }; + + usboh3@02184200 { /* USB1 */ + compatible = "fsl,imx6q-usboh3"; + reg = <0x02184200 0x200>; + interrupts = <0 40 0x04>; + fsl,usbphy = <&usbphy2>; + status = "disabled"; + }; + + usboh3@02184400 { /* USB2 */ + compatible = "fsl,imx6q-usboh3"; + reg = <0x02184400 0x200>; + interrupts = <0 41 0x04>; + status = "disabled"; + }; + + usboh3@02184600 { /* USB3 */ + compatible = "fsl,imx6q-usboh3"; + reg = <0x02184600 0x200>; + interrupts = <0 42 0x04>; + status = "disabled"; + }; + ethernet@02188000 { compatible = "fsl,imx6q-fec"; reg = <0x02188000 0x4000>;