From patchwork Fri Aug 18 08:14:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yinbo Zhu X-Patchwork-Id: 9907963 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 891FF60382 for ; Fri, 18 Aug 2017 08:32:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76BF628C60 for ; Fri, 18 Aug 2017 08:32:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B1B128C6B; Fri, 18 Aug 2017 08:32:23 +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 E4EAA28C60 for ; Fri, 18 Aug 2017 08:32:22 +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=q4vrNhuqB5K9VUV81hSxttPG14iVf053yp2nZF1+gcs=; b=ig2XYipDXwsyCf 9BbB7jaxO/cGrmCmyVdTJLh7sHPnXpo9j64z425/Z0ki/Wh7pVxC9u7zX/Gh32yv9YQOeQqKn3sc5 uAMtv4IhkIe3tuuLi6lbfRrPLeMqcSYApOikxGx1K38gqk1zYCkz0eyhFZorR8SnOYuDFa2nUxWLw ruXNrpfL7+R//NjzDYfQMTa9WkO7iNeFEl/o1z+dlIV+cZlF8c0EzXRvjsEqypJGaBBMIYLndPhGt PpqO5LgOVdI6pSeqwvwZ6k8Ayy9MC0rs2OKpr55hvr5p7OWCZzvGG3Htymbo7q6oGhHYxcFXo6SVi hdMZcMCtZqivkmipLD9Q==; 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 1dichW-0006nf-L2; Fri, 18 Aug 2017 08:32:18 +0000 Received: from mail-bn3nam01on0087.outbound.protection.outlook.com ([104.47.33.87] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dichH-0006Uz-6f for linux-arm-kernel@lists.infradead.org; Fri, 18 Aug 2017 08:32:06 +0000 Received: from BLUPR0301CA0015.namprd03.prod.outlook.com (10.162.113.153) by CO2PR03MB2261.namprd03.prod.outlook.com (10.166.92.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18; Fri, 18 Aug 2017 08:31:41 +0000 Received: from BN1BFFO11FD027.protection.gbl (2a01:111:f400:7c10::1:190) by BLUPR0301CA0015.outlook.office365.com (2a01:111:e400:5259::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18 via Frontend Transport; Fri, 18 Aug 2017 08:31:40 +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 BN1BFFO11FD027.mail.protection.outlook.com (10.58.144.90) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Fri, 18 Aug 2017 08:31:40 +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 v7I8VZ3p010823; Fri, 18 Aug 2017 01:31:35 -0700 From: To: , , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH] arm64: dts: ls1088a: Add USB support Date: Fri, 18 Aug 2017 16:14:45 +0800 Message-ID: <1503044085-5024-1-git-send-email-yinbo.zhu@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131475187004365123; (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)(1110001)(1109001)(339900001)(199003)(189002)(189998001)(50226002)(5003940100001)(5660300001)(36756003)(104016004)(6666003)(7416002)(356003)(8676002)(53936002)(77096006)(54906002)(81166006)(81156014)(68736007)(305945005)(85426001)(8936002)(86152003)(105606002)(33646002)(106466001)(2876002)(498600001)(50986999)(47776003)(2906002)(50466002)(48376002)(86362001)(97736004)(4326008)(626005)(8656003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2261; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD027; 1:XlB8mlkVc3o2cAGnuvGQxezdKJomUcgiHgQJo5dkG2ksrtuUlTvkvvhHJ7JcEHggZtbupj2SNsgdKlbDmi1uHKCV2nzSRGvH5XlIXAsg3hfbXEOXbQigyjpwOXiIsa4G MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 104b6001-2074-4f9d-f7e2-08d4e6138ca0 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:CO2PR03MB2261; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2261; 3:5bC43LAsG3tyKcbjcaI3DtBIrcCjAzhQZwnnRuJBRTwhv9FTgOO1W2nZ1ppstI71AaUgmUKtx7WVDMhbrg50ma/3AndVmbQ7BQ3/fhC2zUN0+qiag0LufxfiA23E3uZviMizapLYArFehseFWKFOd5KzKyLh8l90/XAarq7sGw+1sAHQaRdMYS1TzLTbkOyuxw52Yjy7mIzc1CoheSrILyRrllwOHZt0a13B7rBfXN7enkeH4FJVyogunKNDsGbHiaHecqwYiDufWcz9zVrICQzqgEoDO1tEOGgqYa/6hIZh+7lcnETlIxPqXcRYi3LVXyXLgZ1v0oSNM2iyyggiOH0YtdTQUIjUuxjPHWlV2SE=; 25:c04ICC7Ead3FzsIRUani756tweY3V1j4/hzCinqFxq3sySEShfLpfxLVm5QEt5fR+BnV1xcXCGk920uYtxqbj45G/zDddeckHWDRPz512yURYvocku2ZAIbELW8SHBM8EpARnM5YinralBk+ItCJcWB3YJew8dc33O1S6pN+IzruBAzkN5eABHF3Qf/QsfHp5nNqDzjbgKoeOZc7XJQuSFg0qb1+drzBaNxi0+B9PbE6w/ZHphy0Dq/kj0lUkbtkxgBTJcK4o9MYSlyz+LmY3N61CsfPQM0NXKVc7sNXXwjuhyPSYhxWTP85rA2JNjTgaE+sS6OzZ7Yzl2wi2J4/Jg== X-MS-TrafficTypeDiagnostic: CO2PR03MB2261: X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2261; 31:O/ctuXByQv9yVZK6UfzJmVBM35ISLi/33LlOEtl2pjvcY0YDY0nk2crcBVU8pdu8NLtDrahF0L13+QDc18mXdIfgeoUQYvQiMoHIZFmEmWHicl0pbpeHtNcGb91kESgla0tyRuDtvYeSIGbZUNHUip2dJAGx+mnn2PYM+oXp8s4fXcjIWAkZQHTWMIGQHE2egGW67GeIinRwFtlthpzI8umrJWhCo2wcpJE1esg1+qg=; 4:zJXYpPP+ScGROeG6h6Swv552wRAWViTjRDlYbsvBEl5AK0bPZkZFQvIWRFlBGP6Q4c17MBxIkzTnDLdke5PDjpfBN15PjTgCtQQ9V0bBt68WfZSJZW4yvQEC7D4LvZcnRF03R1auObzlO3PhSnU5aXdBAx28O4IPTU0Mb4FNTaZsB0MnKNvaLi+fS9D4BfNvVTSKn5y0QrcnzSEHNu2NHQXbNB8lxZDnM/w8mMf9aESfDGfcMEFNru8fYLZA2DJWZZQ2w5zWoltNpGklfIOTvfoB5WEWH506kOq6uUKrinI= 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)(5005006)(13016025)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6055026)(6096035)(20161123559100)(20161123556025)(20161123561025)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CO2PR03MB2261; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CO2PR03MB2261; X-Forefront-PRVS: 040359335D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR03MB2261; 23:PZod/rE3xw3K5f3BeR+NNQhGB35C4EdntJiHIX/+Y?= =?us-ascii?Q?3p4VHYhsvjO66W3TUE5/azgQ792inqCxvr1uvuCHq57YFT2CJhcAxSMBmg7I?= =?us-ascii?Q?Ooo9DQk2U2gKWquXuCQjJdEZjFCskVZhNi8hlkVF7K9Ul1nMx/3U78opqFXR?= =?us-ascii?Q?93JbyKoh0o8lRIiKj4jKjgYgJumjAxZpHlEeaeMLKvgEQn4F8oymVZUpXgHS?= =?us-ascii?Q?ouEzJ+E/vNNPCU7j+BTVRyyJqhglT/HeGf4my0+KN8czbdLTINZFgnT6NSxa?= =?us-ascii?Q?E9lteFYJqMUoD0pC/N3iddgrzwcwfubvAJe6hgp/3rGknHJPlOdYui2sAY92?= =?us-ascii?Q?+0n4NarGM//oOv/T52MtRLJdJI1crap5Ke5+ovZMYkROyKheN6AJOPVm/zA1?= =?us-ascii?Q?WHQ5fMGRFbjlytJ8NwN7R3SZ63d+ZkgR+vMmiuRI9g8FRZJb4sN/DAvTBqIs?= =?us-ascii?Q?s8F3LLPWpCMJBtYAG5cM+u33ZeRc7l9Vc14uv00JyN/0LCqmQamVC6ISHfM5?= =?us-ascii?Q?0TDzOno4Ybv5HSRzWn7zXbEBRcrzRRM/NfmTNXJrKd3R6y66nx2cEsso57PU?= =?us-ascii?Q?1xMIfBSFIV5h3AmG6wlj7LbYNNiv1tW7vrTt/az76+l3wuUqoTODr9Uqp0rh?= =?us-ascii?Q?xXd26bEispR4eyvI8d3dMjtQWs8cpS6Y+4fQRGDj4LbNLpDweI58+9mKAkpU?= =?us-ascii?Q?9t8r11fAFES4lxQSFKiQEn6eb9Y6IxfS6TmCoycHKP2GfcwrJyrFa9GFzzxT?= =?us-ascii?Q?x6ixtnQ+O/0hvNjYxMj7ojpkU28LDhumYZpxjJcqoZZoyQpqXok5pagr92R3?= =?us-ascii?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ghpwCKAt4Ckjv39juTSOZWvtZMxn9/HYBunDgznuL+Gim/luXX3tMXbGqe5fD/zB/cQuv6frgL8D0kGikHxJkSjlLIZwl7s8st4oiSwNCtgBPx9hkufb89gyu18wgYjsMZPdcV9co= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2017 08:31:40.1557 (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: CO2PR03MB2261 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170818_013203_570225_FDC956A7 X-CRM114-Status: GOOD ( 13.08 ) 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 , 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 | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts index 213abb7..6c3c3bc 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts @@ -118,6 +118,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 c144d06..c23fede 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -359,6 +359,26 @@ status = "disabled"; }; + usb0: usb3@3100000 { + compatible = "snps,dwc3"; + reg = <0x0 0x3100000 0x0 0x10000>; + interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; + dr_mode = "host"; + snps,quirk-frame-length-adjustment = <0x20>; + snps,dis_rxdet_inp3_quirk; + status = "disabled"; + }; + + usb1: usb3@3110000 { + compatible = "snps,dwc3"; + reg = <0x0 0x3110000 0x0 0x10000>; + interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; + dr_mode = "host"; + snps,quirk-frame-length-adjustment = <0x20>; + snps,dis_rxdet_inp3_quirk; + status = "disabled"; + }; + sata: sata@3200000 { compatible = "fsl,ls1088a-ahci"; reg = <0x0 0x3200000 0x0 0x10000>,