Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751798AbdHRIbp (ORCPT ); Fri, 18 Aug 2017 04:31:45 -0400 Received: from mail-by2nam03on0078.outbound.protection.outlook.com ([104.47.42.78]:34951 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750881AbdHRIbm (ORCPT ); Fri, 18 Aug 2017 04:31:42 -0400 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; From: To: , , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon CC: Shawn Guo , Harninder Rai , Ashish Kumar , Yuantian Tang , "open list:" , "moderated list:" , open list 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 Content-Type: text/plain 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/0hvNjYxMj7ojpkU28LDhumYZpx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ovwmM2KuoXDFZe6lLAUlJ/dBfC7PghpwCKAt4Ckjv39juTSOZWvtZMxn9/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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1736 Lines: 63 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>, -- 2.1.0.27.g96db324