From nobody Tue Dec 24 02:19:34 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1514389827564920.3734846105611; Wed, 27 Dec 2017 07:50:27 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 041C822280C4A; Wed, 27 Dec 2017 07:45:26 -0800 (PST) Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 60D5622280C23 for ; Wed, 27 Dec 2017 07:45:24 -0800 (PST) Received: by mail-wr0-x241.google.com with SMTP id f8so26257733wre.4 for ; Wed, 27 Dec 2017 07:50:20 -0800 (PST) Received: from localhost.localdomain ([105.137.110.132]) by smtp.gmail.com with ESMTPSA id i17sm20840876wrf.71.2017.12.27.07.50.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Dec 2017 07:50:17 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YwXCUsXGEZG7l0j2D4LD5Utf9ZA5PX8svNffjnw+wBc=; b=PkYoYD4q4yt5EKGxpmWIWWjRh0e6JZvyW8CwE6SVU2Jbz5PkV4nDGEAfS3xKzZgysg hvU8djf7u71dMQUU1ZOQoWDPDSI1Veb+P+t1EZOGQINSOjc/W1fqyOzclu6IxUh6yhfJ zLXPFsqlebHTaLY7Ege3VsP/8IA3tehEzTQps= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YwXCUsXGEZG7l0j2D4LD5Utf9ZA5PX8svNffjnw+wBc=; b=BisHBM8KtpdFYEvwJz/fZCcSgI2EGH0zzy7sdH4BgjzaNIFtEHEkBa1Vx0bZZNv/Jt p/EZ1DA/cwIak446D+51LmBUdRAUj1LZdh4otechqWnwivjtMx2y9jBuf3sRd8XGRU1c cixuIZQURX5KW7HnTn5z+0SgMBBrsIGZ1GhuUIz3omPBN8VlG3dTAovRHcVzL5z7/Yne 7L1hJTIkEDei/Q6fJq2DJCGzIjv5TGEwWaKSmHPECWi1VEVHq44RZ5JwLL7dX+o0I7ZX t/XzHnut6QDoxdtIoAKGfwRj9Npbp3WoeD59o954JLzuZz/KPeLK8/1gOCJOY4/Va0Eq Tqqw== X-Gm-Message-State: AKGB3mLkC7paPMxQllEdGTKk07gTxcH+w5Di4KBkUSn9R3rU52Eaej1a qFMXBESDX+ksCElCNukQwXtrk7aUGBo= X-Google-Smtp-Source: ACJfBosfRsPZLlFOWWoRaP+k+amUbVT6OMqNiftLt7mseSbdMVc6LCSlEc8bcyotet0nyIdfNyJblw== X-Received: by 10.223.138.143 with SMTP id y15mr29937114wry.273.1514389818590; Wed, 27 Dec 2017 07:50:18 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Wed, 27 Dec 2017 15:50:00 +0000 Message-Id: <20171227155001.25886-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171227155001.25886-1-ard.biesheuvel@linaro.org> References: <20171227155001.25886-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms 5/6] Silicon/SynQuacer/DeviceTree: align uart DT nodes X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Align the UART DT nodes: - use 'uart' not 'fuart' as node name for the second serial port - create an alias 'serial1' for the second serial port - use UART clock reference instead of hardcoded frequency - split 'clocks' property into 1 cell per phandle Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silico= n/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi index 37a3981f0360..7c3518facb98 100644 --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi @@ -32,6 +32,7 @@ =20 aliases { serial0 =3D &soc_uart0; + serial1 =3D &fuart; }; =20 chosen { @@ -436,15 +437,16 @@ compatible =3D "arm,pl011", "arm,primecell"; reg =3D <0x0 0x2a400000 0x0 0x1000>; interrupts =3D ; - clocks =3D <&clk_uart &clk_apb>; + clocks =3D <&clk_uart>, <&clk_apb>; clock-names =3D "uartclk", "apb_pclk"; }; =20 - fuart: fuart@51040000 { + fuart: uart@51040000 { compatible =3D "snps,dw-apb-uart"; reg =3D <0x0 0x51040000 0x0 0x1000>; interrupts =3D ; - clock-frequency =3D <62500000>; + clocks =3D <&clk_uart>, <&clk_apb>; + clock-names =3D "baudclk", "apb_pclk"; reg-io-width =3D <4>; reg-shift =3D <2>; }; --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel