From patchwork Fri Oct 21 15:10:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9389483 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 57DAB607D0 for ; Fri, 21 Oct 2016 15:13:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48AD92A272 for ; Fri, 21 Oct 2016 15:13:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D3D22A27D; Fri, 21 Oct 2016 15:13:24 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BAC052A272 for ; Fri, 21 Oct 2016 15:13:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bxbUI-0002nO-IG; Fri, 21 Oct 2016 15:12:02 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bxbTN-0002Iv-RL for linux-arm-kernel@lists.infradead.org; Fri, 21 Oct 2016 15:11:08 +0000 Received: by mail-wm0-x22d.google.com with SMTP id c78so228698wme.1 for ; Fri, 21 Oct 2016 08:10:45 -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=fMpt4F4s+HgX6T/oUB/S7Y+kXwNb7NcF9PSGLaAFNJs=; b=XDVjrLhPEgbek+QVaJJWKKareRrm/NI4n6EuGz4lt3MvjxW9Q40VxVtMgs7xiZwvsC u7ACNtLHs7qcTK0s3tUP2FRpT1VUPGXUVCsjMTiyiSaef19kFAgvim+AeR8XGwuH6R8P rbhfGDTclL3jZezClRknf7h6wCRLLtDOazp6Lx2HkhwDt66eP4US95RQOlwbOXkB6JjY K5egc8lUx7DeF4wzOJPZie1Ia89ZL8q0R+SypendxsFGP/Pgicqm97J3Qwpx246pi5eS nIJOig/67E8OwccK32hfrEBGuwlJ8MxCWWT3p2BbaZClzdp+Ijc9Lp9I87lIvYIh/Ooj 5kxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fMpt4F4s+HgX6T/oUB/S7Y+kXwNb7NcF9PSGLaAFNJs=; b=eDfxGkKc/P/aavTfrG7/ELgkhU1qeUH3vp1LoR2E613p62gdqVLoI11Dbw1VrdIc5n e0JQP5nMKVtUWHFg3iPVzTL1P9PLVEcRmwRMlx2mx6JHmdyKUZEvfPLRrqEJBTBWgdyP SHi7+3lkGDSzLX+z4HfioUpaRe9cbUP5Onb3pcuwMJJGQ3Piof3n/p8ZXyX8TrpmSFyV O9QOELdOEwnLRWWXRpBIm6hY0UV/upWy7jHLzYkM/SAGe9Hepa1hAmIJutzHhUGE09mp op17gGEvmIMw1r8bR/ceGpeqRX07H+IVngyu75OYIE9eBJMb5N1lPnydC3nIwIglKYXc +qMA== X-Gm-Message-State: AA6/9RkhI4RlFD/BP8kzywCuDNzLibzwrSdsic2/Rno/DQuXwyBEDnsMM+0WRk4tk6qycHpV X-Received: by 10.28.208.71 with SMTP id h68mr3377679wmg.14.1477062642926; Fri, 21 Oct 2016 08:10:42 -0700 (PDT) Received: from build.net (build.baylibre.com. [37.187.146.144]) by smtp.gmail.com with ESMTPSA id hb5sm3384461wjc.5.2016.10.21.08.10.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Oct 2016 08:10:42 -0700 (PDT) From: Neil Armstrong To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-oxnas@lists.tuxfamily.org, devicetree@vger.kernel.org Subject: [PATCH 2/3] ARM: dts: OX810: Update with dt-bindings includes Date: Fri, 21 Oct 2016 17:10:36 +0200 Message-Id: <20161021151037.20112-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161021151037.20112-1-narmstrong@baylibre.com> References: <20161021151037.20112-1-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161021_081106_138418_409918AB X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add OX810SE dt-bindings includes files for clocks and resets, replace resets numbers by human readable defines. Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/ox810se.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/ox810se.dtsi b/arch/arm/boot/dts/ox810se.dtsi index ce13705..46aa6db 100644 --- a/arch/arm/boot/dts/ox810se.dtsi +++ b/arch/arm/boot/dts/ox810se.dtsi @@ -7,6 +7,8 @@ */ /include/ "skeleton.dtsi" +#include +#include / { compatible = "oxsemi,ox810se"; @@ -242,7 +244,7 @@ current-speed = <115200>; no-loopback-test; status = "disabled"; - resets = <&reset 17>; + resets = <&reset RESET_UART1>; }; uart1: serial@300000 { @@ -256,7 +258,7 @@ current-speed = <115200>; no-loopback-test; status = "disabled"; - resets = <&reset 18>; + resets = <&reset RESET_UART2>; }; uart2: serial@900000 { @@ -270,7 +272,7 @@ current-speed = <115200>; no-loopback-test; status = "disabled"; - resets = <&reset 22>; + resets = <&reset RESET_UART3>; }; uart3: serial@a00000 { @@ -284,7 +286,7 @@ current-speed = <115200>; no-loopback-test; status = "disabled"; - resets = <&reset 23>; + resets = <&reset RESET_UART4>; }; };