From patchwork Sun May 17 08:19:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 1292054 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=YT/HpISD; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49Pw8F1rYyz9sT6 for ; Sun, 17 May 2020 18:21:01 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C5A4881781; Sun, 17 May 2020 10:20:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.b="YT/HpISD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 909B581781; Sun, 17 May 2020 10:20:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9850E8172F for ; Sun, 17 May 2020 10:20:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rayagonda.kokatanur@broadcom.com Received: by mail-wm1-x32d.google.com with SMTP id h4so6204021wmb.4 for ; Sun, 17 May 2020 01:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fvJKnS9z3Fh+MLOlEIluxV9D8vyM/gqvJuJQ3lqKBdo=; b=YT/HpISDcginOFVx/pxe7y/FPT8jDGxQWBZzeooAKWWPXxYrfZJceSxiIKb1T6adbD xdwdBH3mun8bseK9dZpUTDcAZGqo5SH233/wBkuCU6RRumi8exKnUcbqiG3SIkGPXFLa qzrokuyii6t4aYd4UyqbcGv3AVu9lcCERixvw= 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=fvJKnS9z3Fh+MLOlEIluxV9D8vyM/gqvJuJQ3lqKBdo=; b=p5orzkPWFdjE72FipX+Q4SmQW1Q/Fc6JQJ2Fm1C6JQ4K0Q9r7v4tsTM6/IzjXTTDHL WKjJ3BctUOSYNFIV34EAacUlR+0SvxzHHRgxoJweiB6vmBY2O1Kk2wWAORCf1E741WC0 IaWKivRqhXnFN/xAyHMWLfBgE0KLUCtXPjtJrNrHnf5FPOCMOmLLXOB/OvFn3vmgqD2Q JxCz1KD6PdWJ5r1m13ZcRSHa/vYlVqzbEtOdVPtu1AQGvgYtot/YAMtEB59yfwGDGaeK FtRwPDnv3kWf52DZjiiKgXoZ7FT6zPiKwfsLi4+WAjSwGWliHyhpQqCm57YsasLHALOQ YMCg== X-Gm-Message-State: AOAM532OtXyBLVwDZtT3mypjB1qdN5QUS+PzN2tUcUEWB3KQkQFUqbzb 3/bBCFfWVmVc0QcyPdgvb4fi2W0ywfgWfg7ng4n3MLWZ0JeOVIZS28Hev3WmjyNmg+tXSV1fv8T IxNKVBBqJozpvEjj52LXHA+2SRc2sCfZp3CMY1yqV0GuwQUV+mBQr0TqtRNGCwUxOJtOOhPdxht 8JS08= X-Google-Smtp-Source: ABdhPJyx781182y5VJUvC7rBkU4x+URFmniyWREmFTG6E+cCC4xqNIoaFEscTEy1bszrpiDF/MBMOw== X-Received: by 2002:a1c:9cca:: with SMTP id f193mr12795769wme.71.1589703630757; Sun, 17 May 2020 01:20:30 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id b65sm11735427wmc.30.2020.05.17.01.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 01:20:30 -0700 (PDT) From: Rayagonda Kokatanur To: u-boot@lists.denx.de, Simon Glass , Bharat Gooty Cc: Rayagonda Kokatanur Subject: [PATCH v1 04/15] arm: dts: ns3: add gpio node Date: Sun, 17 May 2020 13:49:34 +0530 Message-Id: <20200517081945.21282-5-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200517081945.21282-1-rayagonda.kokatanur@broadcom.com> References: <20200517081945.21282-1-rayagonda.kokatanur@broadcom.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Add IPROC GPIO node for NS3. Signed-off-by: Rayagonda Kokatanur Reviewed-by: Simon Glass --- arch/arm/dts/ns3-board.dts | 1 + arch/arm/dts/ns3.dtsi | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts index c660e74dc8..5926123379 100644 --- a/arch/arm/dts/ns3-board.dts +++ b/arch/arm/dts/ns3-board.dts @@ -35,6 +35,7 @@ aliases { serial0 = &uart1; + gpio0 = &gpio_hsls; }; chosen { diff --git a/arch/arm/dts/ns3.dtsi b/arch/arm/dts/ns3.dtsi index a21455515d..84464add9a 100644 --- a/arch/arm/dts/ns3.dtsi +++ b/arch/arm/dts/ns3.dtsi @@ -32,5 +32,28 @@ clock-frequency = <25000000>; status = "disabled"; }; + + gpio_hsls: gpio@d0000 { + compatible = "brcm,iproc-gpio"; + reg = <0x000d0000 0x864>; + ngpios = <151>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pinmux 0 0 16>, + <&pinmux 16 71 2>, + <&pinmux 18 131 8>, + <&pinmux 26 83 6>, + <&pinmux 32 123 4>, + <&pinmux 36 43 24>, + <&pinmux 60 89 2>, + <&pinmux 62 73 4>, + <&pinmux 66 95 28>, + <&pinmux 94 127 4>, + <&pinmux 98 139 10>, + <&pinmux 108 16 27>, + <&pinmux 135 77 6>, + <&pinmux 141 67 4>, + <&pinmux 145 149 6>; + }; }; };