From patchwork Sun Mar 12 23:28:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 737943 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vhHJW4pgrz9s7B for ; Mon, 13 Mar 2017 10:29:15 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="h99W7ms8"; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id DCA79B91542; Mon, 13 Mar 2017 00:28:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Mon, 13 Mar 2017 00:28:39 +0100 (CET) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 4C11AB914D2 for ; Mon, 13 Mar 2017 00:28:35 +0100 (CET) X-policyd-weight: using cached result; rate: -7 Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 13 Mar 2017 00:28:35 +0100 (CET) Received: by mail-lf0-f45.google.com with SMTP id j90so57567463lfk.2 for ; Sun, 12 Mar 2017 16:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yqDyo36pHwux8N9UV7TPHaqrC5pnuBOQbPSgQcG228w=; b=h99W7ms8Nznui7Bfy6mor0iDnSoLAqocIYL4OLfW2lMRe4Xy4f8bmTl0/S7k/CZZXH qSGK0vVna+Ne9HO1AbCvNEEnn/8LlE2HsjqZbWcE9RQ0HjgvC/yyu6rxuyJQNfB4p3b+ 4geZjbqlST0fexbHpd03NBaFxwi96jzlIspoY= 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=yqDyo36pHwux8N9UV7TPHaqrC5pnuBOQbPSgQcG228w=; b=C2KhsMmGRhSG3RwkCBCaXhuOL08hMTj55+sdRPqwKET10xdEY7IZNpzj2hLmqmFUyQ DkzZ1mc1aUOF9Xcg11ph+fcPps5kqhD00/cNmZ5bIgnX4paMHEP47g+2gunDvog6CEZC 4Vfdx5QcNBJa9bsgrUOLyWIkNyXs9Q2ZrxAbS/glh9q4alXKE5Z84Mxqf6i2R2apgfi5 WdvDtRQWw3RKqtJoPpKPMg2mfvgQw7yc7CF8SboCzJXcsBElxE43jsGfzLkibFuadlF6 UJBwcoZHfVEVx4U6WG0abs+8sZ8hCpmGVGRLXQrigJFk6VgsI6s19n+a4kFWU8fhTB9S pf1A== X-Gm-Message-State: AFeK/H3gvEK5QoqtIX7Jrj9zKAFjuaGr4mEmeCWc09mO6U+xzaO56PP0gioQYRNsCnXLiOG8 X-Received: by 10.46.32.23 with SMTP id g23mr3207413ljg.0.1489361314643; Sun, 12 Mar 2017 16:28:34 -0700 (PDT) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id l137sm1811955lfb.64.2017.03.12.16.28.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Mar 2017 16:28:33 -0700 (PDT) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , Jonas Jensen , Alexandre Courbot Date: Mon, 13 Mar 2017 00:28:15 +0100 Message-Id: <20170312232818.26304-3-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170312232818.26304-1-linus.walleij@linaro.org> References: <20170312232818.26304-1-linus.walleij@linaro.org> Subject: [OpenWrt-Devel] [PATCH 3/6] ARM: dts: augment Moxa ART GPIO node X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openwrt-devel@openwrt.org, Paulius Zaleckas , linux-gpio@vger.kernel.org, Janos Laube , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" The Moxa ART GPIO is a Faraday FTGPIO010. Augment the DTS node to indicate both compatible values for the SoC and the IP part. Also increase the register range to 0x100, it has at least 0x48 bytes of registers, and a few extra will not hurt. Cc: Jonas Jensen Signed-off-by: Linus Walleij --- arch/arm/boot/dts/moxart.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi index 1fd27ed65a01..10a8184e0ce9 100644 --- a/arch/arm/boot/dts/moxart.dtsi +++ b/arch/arm/boot/dts/moxart.dtsi @@ -66,8 +66,8 @@ gpio: gpio@98700000 { gpio-controller; #gpio-cells = <2>; - compatible = "moxa,moxart-gpio"; - reg = <0x98700000 0xC>; + compatible = "moxa,moxart-gpio", "faraday,ftgpio010"; + reg = <0x98700000 0x100>; }; rtc: rtc {