From patchwork Thu Aug 17 02:52:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yinbo Zhu X-Patchwork-Id: 9904859 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BCEC56024A for ; Thu, 17 Aug 2017 03:10:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FCCF28A70 for ; Thu, 17 Aug 2017 03:10:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 448F128A74; Thu, 17 Aug 2017 03:10:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BAE9B28A70 for ; Thu, 17 Aug 2017 03:10:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nSHnwcyxZHJ+dtomxtVebdXzx7E/OrvBtdn8IfWfI44=; b=iwAw1qQRXJlVkS bfwklqcyv33dmmdEmz9K4m5u+i9VILo7Iun1kopKe/ahw5zHTjTqfELe2jkCdMYLbmnyCcbG6x22T zq3+PB39XCkV4XJJkzeLGX4edroAhmditXtiNOeAUDitD1wowfQcjjinc0d7tnoKJB+WjZAmPy9L+ /Q5QGf5c4jeNg7sLZaI75rErrg1ywSnZk8Ic2/ZW36GDn49TR6SksoywsdiaNCp/n8FwvwwZMhmMZ czr4ZNMHHAtKeiwotMIK96JvWqNP4jxEea+7VKXgZwIWkyAF8OhcQ1BlngqKF5VZsVN6M6lx6zPaD O/y8g6hhkUALSVRcF3tg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1diBC5-00086b-2j; Thu, 17 Aug 2017 03:10:01 +0000 Received: from mail-sn1nam01on0616.outbound.protection.outlook.com ([2a01:111:f400:fe40::616] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1diBC0-0007ib-Qm for linux-arm-kernel@lists.infradead.org; Thu, 17 Aug 2017 03:09:59 +0000 Received: from BN6PR03CA0059.namprd03.prod.outlook.com (10.173.137.21) by DM5PR03MB3321.namprd03.prod.outlook.com (10.174.241.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1341.21; Thu, 17 Aug 2017 03:09:33 +0000 Received: from BL2FFO11FD040.protection.gbl (2a01:111:f400:7c09::131) by BN6PR03CA0059.outlook.office365.com (2603:10b6:404:4c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1362.18 via Frontend Transport; Thu, 17 Aug 2017 03:09:32 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD040.mail.protection.outlook.com (10.173.161.136) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1304.16 via Frontend Transport; Thu, 17 Aug 2017 03:09:31 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v7H39QMn015479; Wed, 16 Aug 2017 20:09:27 -0700 From: To: , , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH] arm64: dts: ls1088a: Add USB support Date: Thu, 17 Aug 2017 10:52:38 +0800 Message-ID: <1502938358-23522-1-git-send-email-yinbo.zhu@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131474129720468931; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(50986999)(6666003)(48376002)(104016004)(50466002)(85426001)(47776003)(498600001)(77096006)(86362001)(626005)(8656003)(97736004)(4326008)(36756003)(33646002)(305945005)(356003)(86152003)(106466001)(7416002)(105606002)(5003940100001)(54906002)(2876002)(81156014)(8936002)(8676002)(81166006)(2906002)(53936002)(5660300001)(50226002)(68736007)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB3321; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD040; 1:M1xCfXJRnJpyf91xr2aWKAZQNGgmuWwhXwuOcmgsi3cE+WXqZMjdNTgyPmprdp1ADLiN+NUcjUyOu50+OFeYBXHSyCJ9apykSgwfXx9LbHVg5VdnCD09LShNLtN4sfqDCGlJZMWiRsidic0pj2aJ/0ABTwveHbQ87j3FJt7wEpIVYJVYndxIFSGfJIJeohSLNza47YQNZ2GhehX9QwTCGsCfNTJZmzhIeZUueH7FOd1asJ7baljg3uUe90XhhrSo/xQxFvxIshvo4Lyev5+fL1Y9XARqsIZng9zPk/69IOpIR+0aI2xumrCT83P7JRmhzjNpLyWJGNTSn9wRNCtsHQoAn9BiMZW+rjMagLczCzyleUj4lIsogkfJIDRiV3/SN0KfCKoJd/uybQG7BKshrdgm9dy/+4MOEsdNeUr1ZIVPVi4QxHOgbeKxKYHUqwY/F1cjlaqUDAXWdOsQzmj7mLCvtcVDwr/WhdFWIb5ddZmCp1Zt0rYI2Vpukc3cO0+/WC23tmT99jFkO2dWvG933kpzYK4OP+5hlnZUgLCWqdT94avlaFmlfq+o6qjcj3qhPfCjqjdHx2LtXyXzJ6Utb7x3UmfxdVkqjBoTFKy0B2pbF/ZsFXLIwrfCNHZOdTRhD7vhd6B00qGXuuHPookyo3EFYxuEovp0i0SuM3R7IRposnOoHNk5MvS4A2/bjJYqB4jMybZv3oQXof4MVsb1Ft5eerRjGsDabeN06So2YflfTbvFsFaaScv6rWEaUfDztvD1VMgALu/eDQnCVgzuZ7qfliHKaQ/O6xic6jfTbWf1sdy7bTaJM/mwgk3tcpdlsqC6g63t/yOeGIJMh29Y65Hs0z2nPchxEjb+W1Nv0JeKVf5BWYgE36q+rOW3XhM1 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bdaf24bb-830a-4b3d-0461-08d4e51d6199 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR03MB3321; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3321; 3:w5SHwT5OHid4sCNQV1ZR4NGwUeGVKVF647x0vK5Rh5Dy73mKs3Br9bqjKblbWuAA+GMGuYzQQR04DCdAqhIPjwSUQIqyECheBadOYpuYSDX5C+X4loN1HwMMUINzYx6+UujID7XG9YalhAOJxvRFTTZ1YaPjn/Gu6EMu4GUNlQl5x+AAQ7R9pKZZopqnaXWTrId3Cjq8hhwcG2T//WPwkDn98K/MhMAg3g11DV5VNQmtFmdXX/ol/Z5IPQMU6w4OctzpW010WuI8qGknsYjAhDHX3966g6OEesa99vh8h89vG/JKW9P0mxLQH+hqISKRC3KjWembdqmfkEcMmvVVV1SOcLqjK8tf+J5umMp9y+4=; 25:0azkf1v7DEDY66xMydgIM8OGnyq/3RV3LqYCmE3OPoay4PMh5xGmR0H6A+in9tx0sz3oluw1876yGhy9HRLpIm+C8Tx718kDqF2ee9Rr3hWtqWfffTd1ue5pGDPYZyLBB0QYKx6fbt2reD3sY9Xzkuqe+tG+o4EmUha+AWqCAgittaAggUPawXYu81dlyi1UXCHi27W2l6/szbTUrudBhrJxWe3l+vK7AuyQ9ecnO+3how3IeX2fNWL7x9FlyljA5USUeq3ryeksEgqOm+sxV4VZLt94Bbrw2C7wb+FK7Oy7bFSyXeLfQ4eYzS/4DrNf1HeSiqoz02j/8MzpBhCWPw== X-MS-TrafficTypeDiagnostic: DM5PR03MB3321: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3321; 31:vVQdtSsKOBonUyvEp6r7ZVWXmryhqICCA2YikSdIWicmkeIIBRVNtBXWh2iPEiMBBpgWcGHmSUzrAWFsK7ZhfP6bSprh73gGyJOgithPANTcMQKzWLtMlOzyH98Uc5oYRyIUlclkGhhEhJS/nvKDIp0ytvMo3QJwTt3pKw0qHgASorWQLbTYfbV3vEWOo6DgOyAkg5f5GzgbtOhsq7Zt8r0swJOBTShzR/4dPS33APU=; 4:PnzBwY7NjgC0YxNDCxLyfY+cK78YjwkrxdeYkgyK5eH/lt2RQFHrinwVmYmtfzqgDfAb0yWm+iCHwJyGpAe4Rndh3CP9ED0FtrzKChVZkcn2PpxZsLO2Rm6PuOru4IcJY7KgSDEnu0O9Fw3S+eYt7W+gfvdSyQ2BCXNQ97MNcHSS/MytyTjTZ9ATxemrVuijJfo6CgNMvIPryvdBg9IKahDU5yieaoxAfb4Mi5/YzcZxpZVr24Ez3iTCVIVwZOH7uM2f9L191RmEtOD8PiM0eC3e2l15v2azX9hWyWzxjCM= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(13016025)(5005006)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123565025)(20161123563025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR03MB3321; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR03MB3321; X-Forefront-PRVS: 0402872DA1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB3321; 23:qFEgKPaqgV+z54KLvgeUP8GZx3cQ9uH0SmG7gm7AL?= =?us-ascii?Q?Tuvcqo9YBgcDVbY/60HLssVLqfswWHThssyKfKtkbZA4272dp2R0vHTfMPLi?= =?us-ascii?Q?5Gm74AjKiKZP1TjPQkFiM9tqo+WQfmEAxLpD7IYfO1aOImlvOHCnzEynsSWL?= =?us-ascii?Q?yO672Lxx3/8uNrNMQ8szn7IVJ7iyzHApuogx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8PwLMCCijsCqju9khvkniYatr?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3321; 6:VD91NTt2EO/AyJsNvJ9G9XggMZxY/077DDnjRlMyVDGCT7aFFvt+refmihmSGyYTnzPiAc/UmdKMaVuBMmOqa9WXRZRt3CeAtJod03F7oxdD/5m2A+RspSwiEyAFqug5YkcssVp1MzgAGFzoRi7eS409ZtI1/sFDfvCIkkOFj8GspEsuDrQ3ryilYsscmnEVb21Zemg5AYZIGyfwLPkEKG+rNj4PUrCiHCMmg9TBLFPAKIQpGVgsn1Ku++fxcV5NoK9hNpgZlcssf6nLa8piN4stClPLhm2H7/DRzVc5sPQA1OcPPC1zK8MfkeN7kx724sCL6ajz4h0Ay4R8/kdLNQ==; 5:74CX+ni+LlIWFDoaBVxmvkAkcQc6vOwKq5VSNEb4SfRJBbkTvQBT8C7YY0fY/7hQrsM6UL53nrnIN7E7lcldHZ2ug88MZ3BZIFmQyCiaGKKztqFqIpdUMaqd2SuyrAtkCNgdivBIY8nxQsMJ1zdx/g==; 24:OQ71KkHWF652eqf14Kpcx9oTrihyAH1kANF8JeCdTHYu5rdREw8v6P7zuGmhCfn/WLj142NamOnXw0c2/UzlsS0D8ASqRGUTDUgD8S6Xfnw=; 7:hUxeyQi8IcQkdWuutGLvh3I9sODCptSj/fpEoCt/5n/4AYOyn8PH/MIUDuFBNKTR5yQX1Ah207nSz2XaGW8bPcwF+wZp2cRqgNhlSHr+BGQ1fG1HboA7IFGsh5Rw/4wwBX0yqnuUhV7j7HX8Fxy9NLvNJme2B2155VwqwlAEl6Qrtt25MkORuVxwqYGPg2GoI6GfAjWnQk/CLqqcvHCbB9VTsXv5Up5F4U12hu0xBY4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Aug 2017 03:09:31.8596 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB3321 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170816_200957_162451_5AC777C6 X-CRM114-Status: GOOD ( 13.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Harninder Rai , Yuantian Tang , "open list:" , Ashish Kumar , open list , Raghav Dogra , Shawn Guo , "moderated list:" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: "yinbo.zhu" Fix the issue that usb is not detected on ls1088ardb Signed-off-by: yinbo.zhu Signed-off-by: Ran Wang --- arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts index e9276a5..949cd67 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts @@ -145,6 +145,14 @@ status = "okay"; }; +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; + &esdhc { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 3a3be87..0dbff29 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -458,6 +458,24 @@ status = "disabled"; }; + usb0: usb3@3100000 { + compatible = "snps,dwc3"; + reg = <0x0 0x3100000 0x0 0x10000>; + interrupts = <0 80 0x4>; /* Level high type */ + dr_mode = "host"; + configure-gfladj; + snps,dis_rxdet_inp3_quirk; + }; + + usb1: usb3@3110000 { + compatible = "snps,dwc3"; + reg = <0x0 0x3110000 0x0 0x10000>; + interrupts = <0 81 0x4>; /* Level high type */ + dr_mode = "host"; + configure-gfladj; + snps,dis_rxdet_inp3_quirk; + }; + sata: sata@3200000 { compatible = "fsl,ls1088a-ahci"; reg = <0x0 0x3200000 0x0 0x10000>,