From patchwork Fri Jun 9 09:49:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9777881 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 95760603B4 for ; Fri, 9 Jun 2017 10:07:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8648128396 for ; Fri, 9 Jun 2017 10:07:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 722B028548; Fri, 9 Jun 2017 10:07:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 30AAC28396 for ; Fri, 9 Jun 2017 10:07:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=AFbQ9xZqZ1/LaKEyQ/IovumsrIGPeXDrXxIkETh9VLo=; b=LB/vE65wTxgyLqS6M9+FfGehCw 0pHpXicG/q15vhLrj+03dDOaoGULPGGV6uk/ms0aIez9Cxa8DOoLlgdIQ6SBHcl70VxaR8Wl5vWi7 Z3PDW5bRrHKy2emnG8we96W/MW3jzi0zwfogSNtVj7WsJjp/BynK4SYxGUUjDCeCNaO+J77OEHFh3 DumuQi5A/Zs+LD7IK3RrfQAGcHpyj3xnRqKp3BRO0hhMsMPay8WQNlIfQ38kMTNiIFfdHmYFpK8Me 47pfYiuRaabdWTydC0vyuLc7Givewsx+V2DGttW+6qvzT6JY2r0tuZYuBELSNXDj6lhP4CbAlMb0s R6UNwtdA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dJGpF-0002GI-W3; Fri, 09 Jun 2017 10:07:30 +0000 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dJGYE-0006I7-6u for linux-amlogic@lists.infradead.org; Fri, 09 Jun 2017 09:50:01 +0000 Received: by mail-wm0-x22e.google.com with SMTP id 7so153100979wmo.1 for ; Fri, 09 Jun 2017 02:49:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0oZCI5E3I4yLHK/r56bqcITO5oQPiLuJzxZOpzim6rM=; b=NbaLOc2IyLY+ZbkEjTxdcq8BFGousbEKeQ2PmwCt067sH1cUsX7YrdXTDz66KORh6A iKCiGrb8JUtzZL+TQDdr6ozCf/RQdsd+W98rl16P/5OYALHh7kQtat42Gap4ojGga1ss YD5U8veeHZak96kiDVVy/TT/JC5ocLPGaVaiJ2R+1U5XERKMvz0xhKT3r0r53sUHHokj LLTKEE7V2ZvxkL5XMmImeDIKUkK9jnR+mRvjTm5heoEnjRyPtInQzOhMjDwTqY8DC1Br jX6wWErlP5YlQ0iLrSsUaI+sHvGGQfYjHXkDLux79uTsOaLnOHBXflYPhfrkmBnqfeDN 3Y1Q== 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=0oZCI5E3I4yLHK/r56bqcITO5oQPiLuJzxZOpzim6rM=; b=tqRhLwnmpjh/bXUbcBkXYagkhoiPhpXI2eqmOPBn0gonk/hdUbzyWQfHo8jSYvUWMY wTnRRPRJ6sGtXr0+iBKwmVsfLP2YaX5AdCwYBn9UuyorbLcrXR2/prUjr+vgQSZm2/X2 XN2UKZlW54vDGrZvTbC0vA/IazJObnz9S2XfUlxJJYR7D6Kk/4z87lpUwQz4ZGwMingu v1ep5LzJv21EzG/QpXZHHsa7iFyjvVafq33H3pbi+1ctwAF34rCRMauYnMgo7K0jEVH4 9pZGSuHeyfNvwQNd4SG2mwL5CQMC1DC+aYvWJtEuKZKSr2d3wiY0J+Hf9zGg7LJV1OgY pmnw== X-Gm-Message-State: AODbwcDUC8eMbUMRD07DbCErcLF21NbVxzts7DwY6bDoooosRVTFHGQM Z0La3APNIM9ENJNF X-Received: by 10.28.7.16 with SMTP id 16mr6851433wmh.16.1497001772552; Fri, 09 Jun 2017 02:49:32 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id n92sm968983wrb.62.2017.06.09.02.49.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Jun 2017 02:49:32 -0700 (PDT) From: Neil Armstrong To: gregkh@linuxfoundation.org, khilman@baylibre.com Subject: [PATCH v4 6/7] ARM: dts: meson8: switch to new bindings for UART nodes Date: Fri, 9 Jun 2017 11:49:15 +0200 Message-Id: <1497001756-942-7-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497001756-942-1-git-send-email-narmstrong@baylibre.com> References: <1497001756-942-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170609_024954_760908_FFEADF21 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Neil Armstrong , linux-kernel@vger.kernel.org, hgkr.klein@gmail.com, linux-serial@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Switch to the stable UART bindings by adding a XTAL node and using the proper compatible strings. Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8.dtsi | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index 6993077..a2ea112 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -83,6 +83,13 @@ }; }; + xtal: xtal-clk { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "xtal"; + #clock-cells = <0>; + }; + clk81: clk@0 { #clock-cells = <0>; compatible = "fixed-clock"; @@ -199,17 +206,25 @@ }; &uart_AO { - clocks = <&clk81>; + compatible = "amlogic,meson8-uart", "amlogic,meson-ao-uart"; + clocks = <&xtal>, <&clk81>, <&clk81>; + clock-names = "xtal", "pclk", "baud"; }; &uart_A { - clocks = <&clk81>; + compatible = "amlogic,meson8-uart"; + clocks = <&xtal>, <&clk81>, <&clk81>; + clock-names = "xtal", "pclk", "baud"; }; &uart_B { - clocks = <&clk81>; + compatible = "amlogic,meson8-uart"; + clocks = <&xtal>, <&clk81>, <&clk81>; + clock-names = "xtal", "pclk", "baud"; }; &uart_C { - clocks = <&clk81>; + compatible = "amlogic,meson8-uart"; + clocks = <&xtal>, <&clk81>, <&clk81>; + clock-names = "xtal", "pclk", "baud"; };