Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1488168yba; Thu, 16 May 2019 23:22:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEydYMPZzdDhTJ4pfxgjKtyHedBhccIYn+lvClsj5uO4duZ+NJ44KpJYyiwqvZQC81IZwH X-Received: by 2002:a63:b706:: with SMTP id t6mr48593140pgf.305.1558074164858; Thu, 16 May 2019 23:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558074164; cv=none; d=google.com; s=arc-20160816; b=Kqi6QQM2vhGsFNNSGvuznoH1mP5IAXsk48FXJ7RVMa87Ha155NaWXQdDF9P9/2NHcb fTwQkG64fBoUPVn/B3mk0yDGV4EXjp58UvWQla1Q6vN6/329J3G7Up1KRMr+zV8eIr6t 0s+8+HD07jchKAp9wdbJbtz/5cxDOxmgiuXcDcB518xMALjM0xcrzRePcqvZZYd1RikK dhiLJgKV+oDqwiqZxgVohJIsahlcfpha6o0A7GB4ArHOt6IjQ8YEd3qTbDASWsATIgDF 5Na5UitqPea8mBc1RHw4UHNEC2tF7pginX/7OUGJcWoV4GLlVPkuNCXQLeUWXxFIXOWq 61Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=zVg7DgHLDVr5E/4kczcrcuGdCkuzTcdbHdcGTK9jcb0=; b=QRgO+mfr0ikd1GhNORBQsiHD8yGR1qa8XB1ZqaKtGUZ1jT2s1xwjqit13mOiVhPkK8 9e6iiennrXG3D4MjbggE3hvZzSmRY8k97lWIPOXLa8WvcqtvjFvsppNCbNRaqLQFJyUg FHTJAvKJdNuF1+C70oLPh9HxI/+6wEGa1VBrUuniON4staDitORf4miW2NK1NTCASxY7 yWY9iqku7Rus1Hm1M1X7ewJJOpi9yNd2j+Rj/csgg/ruINF/O61c/Lp00Jbe7vGm0LlZ wO+dQahdpO+3xFRXwiIEmsg1bdTJF54mkgG5dN02tp2v7GKWXQDXXddlu+jYU2j5I/nm Jmvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p127si5794604pgp.217.2019.05.16.23.22.29; Thu, 16 May 2019 23:22:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727796AbfEQFOm (ORCPT + 99 others); Fri, 17 May 2019 01:14:42 -0400 Received: from inva020.nxp.com ([92.121.34.13]:33026 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727089AbfEQFOm (ORCPT ); Fri, 17 May 2019 01:14:42 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id EA1A91A000F; Fri, 17 May 2019 07:14:39 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 954871A01E6; Fri, 17 May 2019 07:14:36 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 1D482402AE; Fri, 17 May 2019 13:14:32 +0800 (SGT) From: Ran Wang To: Shawn Guo Cc: Li Yang , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ran Wang Subject: [PATCH v4] arm64: dts: ls1028a: Add USB dt nodes Date: Fri, 17 May 2019 13:16:24 +0800 Message-Id: <20190517051624.4930-1-ran.wang_1@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds USB dt nodes for LS1028A. Signed-off-by: Ran Wang --- Changes in v4: - Move nodes to follow rule of unit-address in the address. - Use macro to replace 'interrupts' values. Changes in v3: - Add space between label and node name. - Add spcae with properties and '='. - Add SoC specific compatible. Changes in v2: - Rename node from usb3@... to usb@... to meet DTSpec arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 8dd3501..e4ed17f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -294,6 +294,26 @@ status = "disabled"; }; + usb0: usb@3100000 { + compatible = "fsl,ls1028a-dwc3", "snps,dwc3"; + reg = <0x0 0x3100000 0x0 0x10000>; + interrupts = ; + dr_mode = "host"; + snps,dis_rxdet_inp3_quirk; + snps,quirk-frame-length-adjustment = <0x20>; + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; + }; + + usb1: usb@3110000 { + compatible = "fsl,ls1028a-dwc3", "snps,dwc3"; + reg = <0x0 0x3110000 0x0 0x10000>; + interrupts = ; + dr_mode = "host"; + snps,dis_rxdet_inp3_quirk; + snps,quirk-frame-length-adjustment = <0x20>; + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; + }; + sata: sata@3200000 { compatible = "fsl,ls1028a-ahci"; reg = <0x0 0x3200000 0x0 0x10000>, -- 1.7.1