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: 9389471 X-Patchwork-Delegate: neil.armstrong@linaro.org 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 845A9607D0 for ; Fri, 21 Oct 2016 15:10:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 774DC28D7B for ; Fri, 21 Oct 2016 15:10:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BF5A2A0E5; Fri, 21 Oct 2016 15:10:53 +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=-2.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx1.tuxfamily.net (mail.tuxfamily.net [212.85.158.8]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 262872A27D for ; Fri, 21 Oct 2016 15:10:51 +0000 (UTC) Received: from listengine (helo=tuxfamily.org) by mx1.tuxfamily.net with local-bsmtp (Exim 4.84_2) (envelope-from ) id 1bxbT7-0001PF-Kn for patchwork-linux-oxnas@patchwork.kernel.org; Fri, 21 Oct 2016 17:10:49 +0200 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by mx1.tuxfamily.net with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bxbT1-0001NS-Iu for linux-oxnas@lists.tuxfamily.org; Fri, 21 Oct 2016 17:10:43 +0200 Received: by mail-wm0-x22f.google.com with SMTP id f193so282153wmg.0 for ; Fri, 21 Oct 2016 08:10:43 -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=HQQAXoBX1V8qc938PkgYBTD0/9eTjxRvrb/19zfDA+uUmAOXyQJkgwfeCm63nP8Pan ys02mzSNOkxUPaQUOIMTO1mjn48tDS5Ek5UkgiDN7TMZdp/Mi/Gt3InCjv8Qm0lMhNLT P53+/n4/XTbtC3uTpv3Ss/JxOr7FfXtlQaSZuoCYf0iO9BBC3c7MrkSTINm3LgAXZ3oT wwIlQSNLEdHUViLhLtsajL0M8QwxgQlZGCsl34o61aYbbV0gGZzANOijePXifteLuaU3 No03cqrhuk0gwqnEbhAi7FmJuWim68xRCzBrAjnLzT+JArOtO0I/u62Kd2ZYb638cilL pvCA== X-GM-Message-State: AA6/9RnlDqT9ZCfcoL5ccOgKCUXCuuez3O+HFJ7yqDErgzvq+E+KtWHbzA5Wks/PdPoCU4IC 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 CC: Neil Armstrong Subject: [linux-oxnas] [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> List-Unsubscribe: List-Subscribe: List-Help: List-Software: Listengine, VHFFS 4.7-dev-4c39578052 List-ID: List-Post: List-Archive: Precedence: list Reply-To: linux-oxnas@lists.tuxfamily.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>; }; };