Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1614722img; Sat, 23 Mar 2019 07:32:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxF8QPaP76s/kLyCl/yqR+M/s4bF5umNrOpRpK+TmG8v4V0UbrkLZm8QDMxrQTKWmsGgWyS X-Received: by 2002:a62:564d:: with SMTP id k74mr14585457pfb.19.1553351556391; Sat, 23 Mar 2019 07:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553351556; cv=none; d=google.com; s=arc-20160816; b=Vd6MUnIyxRQ9hnKbqxO0x7UbxW2MKvWaQOc9IM4FyK7+Wqj/IoBUeS7nOnu0SWBEwb P5XBe69blTarDjJ1nsRS55pG/S8nxaCJdb23WtZ5luZyK/P1v0I+y1/0+f4E3/4M7SsL T1i5wVbWfRXfMszpNqcRkUGaRgRihAxvfRjhLmm8Hj4cFOQTSqhzjgfYBBIIjBY8ni+h vudrYqrlMjucacQpb0Nz8egOWUZKN86G0KHOJF6mJIY14CgxCo1MHGIdP1Ex8vxcjQm4 FIkioIkAqfMyIyzupYhV+bx21Wp89QdPSTEepJ76BwditOorF7FEC6jr4K7NbtGHFy3A 2I5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=kOUICLVCZDPUVzcurT+qHTU7Tejixn/HMUhFb0iMMLo=; b=GtdKkmgdN3AxNhm/9KqSLTuFSkCHWE/ybiozTmt03eE6Y2dJOsx3AzFlaexbbo0Hu5 W8ip7hs08KSMK41sQl672KLV7j8CB0pFots07vl8J+9IxxvenbFb4ZCW/fpI02u7u3Kz 2fRLEEd2t/SkLUeO8Bh3eoDLaihgaRYECZaoIrVZLnO3szuWUuxHvQc0DRlDlVxChIiQ T74YfNQKOaJSgtEoJD9aNzUCA8xlsbUDOV10pO7UiNCq8GGfcsjnlnxaKr8vghwLtFer FwpLztiNO6v/dJoqc0BcHy/lcryLpY0HkzLDcQR6JkTkPt2wZ17uFoZa9tDOdUD1aYx/ D9Rg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h21si9142997pgl.346.2019.03.23.07.32.21; Sat, 23 Mar 2019 07:32:36 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727768AbfCWObe (ORCPT + 99 others); Sat, 23 Mar 2019 10:31:34 -0400 Received: from asrmicro.com ([210.13.118.86]:47298 "EHLO spam.asrmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbfCWObd (ORCPT ); Sat, 23 Mar 2019 10:31:33 -0400 Received: from spam.asrmicro.com (localhost [127.0.0.2] (may be forged)) by spam.asrmicro.com with ESMTP id x2NE5MtD031357; Sat, 23 Mar 2019 22:05:22 +0800 (GMT-8) (envelope-from qiaozhou@asrmicro.com) Received: from mail2012.asrmicro.com (mail2012.asrmicro.com [10.1.24.123]) by spam.asrmicro.com with ESMTP id x2NDxrcC029582; Sat, 23 Mar 2019 21:59:53 +0800 (GMT-8) (envelope-from qiaozhou@asrmicro.com) Received: from localhost (10.1.170.171) by mail2012.asrmicro.com (10.1.24.123) with Microsoft SMTP Server (TLS) id 15.0.847.32; Sat, 23 Mar 2019 22:01:30 +0800 From: qiaozhou To: Rob Herring , Mark Rutland , , CC: Qiao Zhou Subject: [PATCH 4/7] dt-bindings: serial: add ASR8751C serial bindings Date: Sat, 23 Mar 2019 22:01:25 +0800 Message-ID: <1553349688-1946-5-git-send-email-qiaozhou@asrmicro.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553349688-1946-1-git-send-email-qiaozhou@asrmicro.com> References: <1553349688-1946-1-git-send-email-qiaozhou@asrmicro.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.1.170.171] X-ClientProxiedBy: mail2012.asrmicro.com (10.1.24.123) To mail2012.asrmicro.com (10.1.24.123) X-DNSRBL: X-MAIL: spam.asrmicro.com x2NDxrcC029582 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Qiao Zhou Add binding documentation for ASR8751C serial device. Signed-off-by: qiaozhou --- .../devicetree/bindings/serial/asr-serial.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/asr-serial.txt diff --git a/Documentation/devicetree/bindings/serial/asr-serial.txt b/Documentation/devicetree/bindings/serial/asr-serial.txt new file mode 100644 index 0000000..9e0e191 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/asr-serial.txt @@ -0,0 +1,23 @@ +* UART Controller of ASR8751C SoCs + +Required properties: +- compatible : should be "asr,uart" +- reg: iomem address and length of uart registers +- interrupts : Should be the interrupt number +- clocks: clock required by uart +- clock-frequency: frequency of clock source +- dmas: dma channel used by uart tx or rx +- dma-names: dma name of uart tx or rx + +Example: + + uart0: uart@d4017000 { + compatible = "asr,uart"; + reg = <0xd4017000 0x1000>; + interrupts = <0 32 0x4>; + clock-frequency = <13000000>; + dmas = <&pdma0 AP_UART0_RX 1 + &pdma0 AP_UART0_TX 1>; + dma-names = "rx", "tx"; + clocks = <&soc_clocks ASR_CLK_UART0>; + }; -- 2.7.4