From patchwork Mon Oct 17 12:40:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9379203 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 04E24607D4 for ; Mon, 17 Oct 2016 12:40:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ECB1E29284 for ; Mon, 17 Oct 2016 12:40:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E00D929286; Mon, 17 Oct 2016 12:40:23 +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 F0AEB29281 for ; Mon, 17 Oct 2016 12:40:19 +0000 (UTC) Received: from listengine (helo=tuxfamily.org) by mx1.tuxfamily.net with local-bsmtp (Exim 4.84_2) (envelope-from ) id 1bw7DG-00023f-Gm for patchwork-linux-oxnas@patchwork.kernel.org; Mon, 17 Oct 2016 14:40:18 +0200 Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]) by mx1.tuxfamily.net with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bw7D8-0001zs-SL for linux-oxnas@lists.tuxfamily.org; Mon, 17 Oct 2016 14:40:11 +0200 Received: by mail-qk0-x234.google.com with SMTP id n189so231735533qke.0 for ; Mon, 17 Oct 2016 05:40:10 -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=HXYOudQsna9+ubEhElz1Xj1zvPiZA2nAICYwsi2aEhnet5Z9/oRDACoW192D/jKsli ygog8zHyPH0bDr25ZYY/Sqb8X5MKnDLEzKiD9L001cQnUzlopjH+J4z0oCz3Aduj6/qd WofLobyHSv6PJBp2iP6a/vO5rtPSzmRLPC0WXPEjqcbdryVsiFkbiSu3Clhm0c0S/X7p nv/9Hlpd2bDsxc/ZKm3+xZxezUWbXhGnDQLKEhBuM0IHk5iEGmaOAONm//zktyJpXdeV VpjjedlH7etsIP2EdAIfmQGHuUL8IZFCzEjB0S8ehBILnbChE8WJOQmmK1CTzSxtuS5t f8vA== 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=nFjU14ywAbJVEe/1jw2kpUz2SN4f0u68z/nRbsl0uRz4iDM0xoI1jjdyL8sGvF5fW+ MFHiji4ju3fbSQrJWOMmXnRNOdxB6slE2rpipXq5uJT0bXhvnroeMIj1ON4yYliG/FxV ha4b+p60Af+IEEERadYdsokE2qR8J6B9e4iXpfEfTHEPONmfH7xWX8ob/6cweY8bGZLG J6grdq5VTRjf2K6hJhew35xKndPY4kNBX+Ps/F0CfMZgSJwTAYV/XZiXTlk46bLe9kTo Uli29516sHa9oMOXSeHJv8fLwyrksG8gNCdkRRBM3457033xTbizINL1P/rl8orK+JtK 0UgA== X-GM-Message-State: AA6/9RkYI5OvMIdMdAccWjusxt9GlqEQ94BESQ8Cn2mjKvXxwifkuQhwjceFKtu72MoQyMd9 X-Received: by 10.194.119.162 with SMTP id kv2mr11133086wjb.182.1476708009412; Mon, 17 Oct 2016 05:40:09 -0700 (PDT) Received: from build.net (build.baylibre.com. [37.187.146.144]) by smtp.gmail.com with ESMTPSA id y2sm52769839wjx.20.2016.10.17.05.40.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Oct 2016 05:40:08 -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] [RFC PATCH 2/3] ARM: dts: OX810: Update with dt-bindings includes Date: Mon, 17 Oct 2016 14:40:00 +0200 Message-ID: <20161017124001.23820-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161017124001.23820-1-narmstrong@baylibre.com> References: <20161017124001.23820-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>; }; };