From patchwork Wed Jan 4 09:30:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9496341 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 328B660413 for ; Wed, 4 Jan 2017 09:31:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35F7727D85 for ; Wed, 4 Jan 2017 09:31:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B00527E15; Wed, 4 Jan 2017 09:31:07 +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 824BA27DCD for ; Wed, 4 Jan 2017 09:31:05 +0000 (UTC) Received: from listengine (helo=tuxfamily.org) by mx1.tuxfamily.net with local-bsmtp (Exim 4.84_2) (envelope-from ) id 1cOhuR-0000Ag-Pi for patchwork-linux-oxnas@patchwork.kernel.org; Wed, 04 Jan 2017 10:31:03 +0100 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by mx1.tuxfamily.net with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1cOhuE-0008RB-Tw for linux-oxnas@lists.tuxfamily.org; Wed, 04 Jan 2017 10:30:51 +0100 Received: by mail-wm0-x232.google.com with SMTP id v3so2329711wme.0 for ; Wed, 04 Jan 2017 01:30:50 -0800 (PST) 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=ZLEN1M9Xl+y7TT9jFkfqrxZYZEMpTD9Fnm0IrhWq+KcMsymu0rNRxTK6cQsvVLdRS4 GVHBV+4+ZVojeZUvHQRXrCdA25Cbr6q8edmIaYEdHbE0JljVHqwHaeaOD8S5J1Ia64xE CKbxYjo3OwAqoRt/tX7gBBlol8bmvt4UfzKiBQmsmDW+MMDCN7ilsGZSlcRPXSBOCfgV ZagYKFBrqqaNGgugK7PSPWEBjXKjikYc0QM0tq49ZXYtopz6Ip6+nhvuBdCKrWsF0TGB 4iP/bmam1KgfxXbzgx7Fk8EEsXrSs9h4+/cRQoijn+TXYyJ/9mGv5XcKOsiUQwg9jC3b /aKQ== 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=fMpt4F4s+HgX6T/oUB/S7Y+kXwNb7NcF9PSGLaAFNJs=; b=M+kA1BqjF0cyRa6PxPKLaZTaLQ1ZmDl+SqfZoE4n9n6kT4xyhxphRM+TjnOkmHmOi4 589edtL1qdtZAUgQb2dQ4CMh97Xl7rydE/R2Rrc4ugIbif0vHyB5l6IWb/yJ2LopanEN Fn9Sg82rhAcDWXCW8loCxdxaWWxb+5a1eX5pkTvnSlaazWm53vGaFWLRxSERYavBptV1 NWrvPBUWk3BYCdHdI00ChtS+jzfsTAk54EY8ESWgDLN0E4ngFrjnFWiio4ztqE+ejyW3 V7VoVwU6LPYQuPV5BxL6CuK46JNV49Qp9ANSeUzoGvpeHrDsla+Q184nU47LXyJ8mahd YZDA== X-GM-Message-State: AIkVDXIgglboRq6yP/2wNwOG97+CJeWPMoLP677jtUseHcOJMZon+86agcpeApudoLvZhJlI X-Received: by 10.28.31.23 with SMTP id f23mr61688818wmf.94.1483522250005; Wed, 04 Jan 2017 01:30:50 -0800 (PST) Received: from build.net (build.baylibre.com. [37.187.146.144]) by smtp.gmail.com with ESMTPSA id t194sm78504851wmd.1.2017.01.04.01.30.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jan 2017 01:30:49 -0800 (PST) From: Neil Armstrong To: linux-oxnas@lists.tuxfamily.org CC: Neil Armstrong , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [linux-oxnas] [PATCH 1/2] ARM: dts: OX810: Update with dt-bindings includes Date: Wed, 4 Jan 2017 10:30:45 +0100 Message-ID: <20170104093046.12428-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170104093046.12428-1-narmstrong@baylibre.com> References: <20170104093046.12428-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>; }; };