From patchwork Sun May 17 08:19:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 1292059 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=SCX5AtV5; 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 49Pw9T6bJRz9sT6 for ; Sun, 17 May 2020 18:22:05 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 47222818F8; Sun, 17 May 2020 10:20:56 +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="SCX5AtV5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DE04481885; Sun, 17 May 2020 10:20:51 +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-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 A0A0581865 for ; Sun, 17 May 2020 10:20:48 +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-wr1-x429.google.com with SMTP id i15so8104994wrx.10 for ; Sun, 17 May 2020 01:20:48 -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=/aj0C5lTMfcL8DP+E0H3kIxxaAroDhosR2QnaE5naH0=; b=SCX5AtV57F4kpEOkvEcOfV90Z3L4lNr30RW6ICSViaxAJcrvnWAAGN4FlyMmAMQrSc X71J/FvVqkrZuKIQjG1Ji/6IzCwc08d5CHBuyeMp4wAPeV/VXOqOUdkdZ8yuVPw7exBC +qy1s/VMyCF8IzS4IGl8VHCh7XIGGVda/MeOw= 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=/aj0C5lTMfcL8DP+E0H3kIxxaAroDhosR2QnaE5naH0=; b=r6Eh2V0fg4XGuEr62mjYJVC1ZP3gOKeaCjZdOehI4Fj6FgCtiAr1NHlepNBVq1hICt DK8xKeCIVK2ULcf6qOSU5rePkfqM12dCVUB0H5EcwpsODZEhAFldahvkhm3JOtz2STQc jkGSHoIEOsInW0rqotqIMC1iyyuNBKgM0WkUMuLEHedHsxISTE3ridLEmn+llMyBzJCp Z7YACBVj+Xoi+bB+qhRFZdWvsWJIGYyD5HdkaMz8vLCBsCV1fb8xKeQ9BzNm8+7gZcVS BG3qb6fd6NWphHNv3sYC/E/B/pdDD4QAHZIqXt8Rij3tAcKGcBPVdDDLl0XvsrzFJIsw RINg== X-Gm-Message-State: AOAM530D+GVWuKQnCTfYAOjkaNRy581unDsGM0cG5etCV6EY+pyU+btr JnOM3vmsUtwaHmzMbBHeQ71ccNuIY1W8apjNCnF4T2kfRqOqieSetSOXBgXscq+2ra8OXG5DqPJ D09Hg+i115DoP3tfZ6CAFEy/qT5vkTNDZQKowy/T5CoIis/+oNdD6wK3+L/AumXdfp1uy2DKq4C KCs5g= X-Google-Smtp-Source: ABdhPJxi4aZNoqU9rI3evJkLfgirXF/b++aBbH/c0x4B6ouKA1YgjHsWySm23Vay23Znya+/pDDwag== X-Received: by 2002:adf:df8a:: with SMTP id z10mr13340142wrl.344.1589703647800; Sun, 17 May 2020 01:20:47 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 01:20:47 -0700 (PDT) From: Rayagonda Kokatanur To: u-boot@lists.denx.de, Simon Glass , Bharat Gooty Cc: Rayagonda Kokatanur Subject: [PATCH v1 09/15] arm: dts: ns3: add i2c node Date: Sun, 17 May 2020 13:49:39 +0530 Message-Id: <20200517081945.21282-10-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 I2C node for NS3. Signed-off-by: Rayagonda Kokatanur Reviewed-by: Simon Glass --- arch/arm/dts/ns3-board.dts | 1 + arch/arm/dts/ns3.dtsi | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts index 78a69ac3f9..f8e501c225 100644 --- a/arch/arm/dts/ns3-board.dts +++ b/arch/arm/dts/ns3-board.dts @@ -36,6 +36,7 @@ aliases { serial0 = &uart1; spi0 = &qspi; + i2c0 = &i2c0; gpio0 = &gpio_hsls; }; diff --git a/arch/arm/dts/ns3.dtsi b/arch/arm/dts/ns3.dtsi index 7681bbc673..adb1277471 100644 --- a/arch/arm/dts/ns3.dtsi +++ b/arch/arm/dts/ns3.dtsi @@ -60,6 +60,12 @@ status = "disabled"; }; + i2c0:i2c@b0000 { + compatible = "brcm,iproc-i2c"; + reg = <0xb0000 0x100>; + bus-frequency = <100000>; + }; + gpio_hsls: gpio@d0000 { compatible = "brcm,iproc-gpio"; reg = <0x000d0000 0x864>;