From patchwork Wed Dec 27 15:50:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 122808 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2337604qgn; Wed, 27 Dec 2017 07:50:27 -0800 (PST) X-Google-Smtp-Source: ACJfBosb1C0HSz8H4BxtpbQgYplR7q0+AoEynIUzrFaQGC/Vlj0suTDaugQasTkW0IhmRSW9Dxuu X-Received: by 10.99.151.2 with SMTP id n2mr25828366pge.374.1514389827006; Wed, 27 Dec 2017 07:50:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514389827; cv=none; d=google.com; s=arc-20160816; b=DsJCxL7tFvmnR/mu3/T0KA0p5x/OzQRP/o1xyq8JqjebRBB83ginLY1is2BcwdS/s4 rrKYR5gSHDI3G12RKOHcscDgBjAv4/judZ4L97bJC7qoIOBdWhyuSS1Ex5xAFDOmuAAv PRbtxjAB0W4PT9wsml0nzkbJJv5XrEwJiXGuE8pYfkpXvDWZfKkkPjfEUw25rIfcJW4n b9LYVjV+UofqaIuQBtQikCp65/YYmZZ81ZrZRM52k7izPqbl8Nf7oPCPUGfkVOcsFNr0 Hq3m3cqSYXKwcHskbbEWKqsxvvsw4o4gOfuNAh2qwkieHQvK1X2Kk3LrOJsGX6X2Tr5x asAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=yjwwNKRIU7EzgKeyAKFDIKEtB8bcN93gqweNtvoWlo8=; b=aX5h0WdDLrZD/jyYo/CI47d8sH9pfLbmDZi6A46xwiR3oZ34heOwtSCsBprtAFm2HS yVMXH9QcyjvQpxFMn4FpZ2Rms/S+ML1dirNaojzBO9H1XB8hgFwn498kW9IBM75x1awA g8UuPKb9tmHyG586z2TN818FBRhwueM+WRrzelF/vgxESQKnZprhwaH8fKjlwg3lesT6 +EsiSDIvybLganj/P+iFUWh1cosuxhqBDVesw9BXP6T7FAUdLLGLG8Vn8E+UMy9xzgZR rA+oliCwGOlKdnjA9yYuDQV/uLheImhWJ/nwN2E4Ab2CQUiD2sdBO+EKe8Bj1K7A2PKF hjbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PkYoYD4q; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id i7si24823842plt.427.2017.12.27.07.50.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Dec 2017 07:50:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PkYoYD4q; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.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 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) 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-Received: by 10.223.138.143 with SMTP id y15mr29937114wry.273.1514389818590; Wed, 27 Dec 2017 07:50:18 -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) 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 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/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 @@ aliases { serial0 = &soc_uart0; + serial1 = &fuart; }; chosen { @@ -436,15 +437,16 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0x2a400000 0x0 0x1000>; interrupts = ; - clocks = <&clk_uart &clk_apb>; + clocks = <&clk_uart>, <&clk_apb>; clock-names = "uartclk", "apb_pclk"; }; - fuart: fuart@51040000 { + fuart: uart@51040000 { compatible = "snps,dw-apb-uart"; reg = <0x0 0x51040000 0x0 0x1000>; interrupts = ; - clock-frequency = <62500000>; + clocks = <&clk_uart>, <&clk_apb>; + clock-names = "baudclk", "apb_pclk"; reg-io-width = <4>; reg-shift = <2>; };