From patchwork Tue Jul 16 13:37:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Gherzan X-Patchwork-Id: 1132780 X-Patchwork-Delegate: matthias.bgg@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gherzan.ro Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gherzan.ro header.i=@gherzan.ro header.b="V5N7WwW7"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45p1qb39FVz9s7T for ; Tue, 16 Jul 2019 23:45:15 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 22EF6C21F18; Tue, 16 Jul 2019 13:41:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 8A0D7C21F3A; Tue, 16 Jul 2019 13:39:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5F457C21E47; Tue, 16 Jul 2019 13:38:17 +0000 (UTC) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by lists.denx.de (Postfix) with ESMTPS id DB1F4C21E49 for ; Tue, 16 Jul 2019 13:38:16 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id y4so21023536wrm.2 for ; Tue, 16 Jul 2019 06:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gherzan.ro; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=C5zgOyKFUMDByiLMDiywbAi3biX4nfIggZarK4rgH4k=; b=V5N7WwW7/GDfIFXKK6E3jlm0tHNVJ/r2NYcWjtc+BueYY+lGLsfCE5Fx8r81UNCunZ dy/jqcosiFXGMvxCkGJ06lkLK8BL/RHjm3RVvwTDgIlNPyFNbmkas6YiK7r7+IQtcdSr EvocV0YN3wEZsfGpjd06aTzsgfUoXXLxN1LTEO+0EqOoUXHgNDioci9IrM40FTT822Fo 2B3r6FKCFERSG7WWxAXSMkhoBEJn2qSmwtFvRXDAFMhQtkYX7qU+fxLRSJJWXgNSOa0i ueYzSFmUMFV02NRbNW+JTBMOY30evS1Io8v87a5oSxOLM7lHVVgFrV4/sWKAM6oYPmOX jCew== 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:mime-version:content-transfer-encoding; bh=C5zgOyKFUMDByiLMDiywbAi3biX4nfIggZarK4rgH4k=; b=Smj5mL8EbesDBi+zRSB24lRgBvLgowvWRXq4+7IzO2+ynJUSHAVD9ZmN3zy0kKFtVx VzBLipRv8BaVFLpaLNUgFK45xwFGE/niSG8otpUpUPT5nF/fBEvRu3VkHbmonFGtw5EX Y0byDis5UE1ScYnnyKIDnNOlTGGCgiHYY/bb2+3xAZ7GqpaTQgPcsPZvXkLbnIrWcefb 1dn2C7279ynnHjrA8U91HH3rhkST0YVbLLZnLKy8ORR1Bfd3Hobjm1Bq4hCzLTdQi8l5 SsdnrqAG1rRVBweoLLDDEbH7IOygfFOGo9zJeV0lriRpXKjlUhGNdkmTzbMuz9qAM6O6 XI9A== X-Gm-Message-State: APjAAAXW8LzcsEVaG28LhlIpL7CUJdzG7rYowf9iKMhvy6n/G9/d5Wk7 9lR53H2ARTwVcRb4umKsQ4uMjNzd X-Google-Smtp-Source: APXvYqwKYig53f5fND1nu1FVoDMI5sGM38myTCkGz3o5uDMuk41Ws3g7oiNBKp+DfN/rgbHLR0XEzw== X-Received: by 2002:adf:ef8d:: with SMTP id d13mr35035033wro.60.1563284296108; Tue, 16 Jul 2019 06:38:16 -0700 (PDT) Received: from localhost.localdomain ([212.36.34.46]) by smtp.gmail.com with ESMTPSA id e5sm21450292wro.41.2019.07.16.06.38.15 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 16 Jul 2019 06:38:15 -0700 (PDT) From: andrei@gherzan.ro To: u-boot@lists.denx.de Date: Tue, 16 Jul 2019 14:37:56 +0100 Message-Id: <20190716133803.1174-10-andrei@gherzan.ro> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190716133803.1174-1-andrei@gherzan.ro> References: <20190716133803.1174-1-andrei@gherzan.ro> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 16 Jul 2019 13:38:53 +0000 Cc: Andrei Gherzan Subject: [U-Boot] [PATCH 09/16] arm: bcm283x: Define device base addresses for bcm2835 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" From: Andrei Gherzan Signed-off-by: Andrei Gherzan --- arch/arm/mach-bcm283x/include/mach/sdhci.h | 4 ++++ arch/arm/mach-bcm283x/include/mach/timer.h | 4 ++++ arch/arm/mach-bcm283x/include/mach/wdog.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/arch/arm/mach-bcm283x/include/mach/sdhci.h b/arch/arm/mach-bcm283x/include/mach/sdhci.h index 5cb6ec3340..262b016a1b 100644 --- a/arch/arm/mach-bcm283x/include/mach/sdhci.h +++ b/arch/arm/mach-bcm283x/include/mach/sdhci.h @@ -7,7 +7,11 @@ #define _BCM2835_SDHCI_H_ #ifndef CONFIG_BCM2835 +#ifdef CONFIG_BCM2838 +#define BCM2835_SDHCI_BASE 0xfe300000 +#else #define BCM2835_SDHCI_BASE 0x3f300000 +#endif #else #define BCM2835_SDHCI_BASE 0x20300000 #endif diff --git a/arch/arm/mach-bcm283x/include/mach/timer.h b/arch/arm/mach-bcm283x/include/mach/timer.h index 56b0c356bb..dc3ed98879 100644 --- a/arch/arm/mach-bcm283x/include/mach/timer.h +++ b/arch/arm/mach-bcm283x/include/mach/timer.h @@ -7,7 +7,11 @@ #define _BCM2835_TIMER_H #ifndef CONFIG_BCM2835 +#ifdef CONFIG_BCM2838 +#define BCM2835_TIMER_PHYSADDR 0xfe003000 +#else #define BCM2835_TIMER_PHYSADDR 0x3f003000 +#endif #else #define BCM2835_TIMER_PHYSADDR 0x20003000 #endif diff --git a/arch/arm/mach-bcm283x/include/mach/wdog.h b/arch/arm/mach-bcm283x/include/mach/wdog.h index 99c88e5df7..ef040f385d 100644 --- a/arch/arm/mach-bcm283x/include/mach/wdog.h +++ b/arch/arm/mach-bcm283x/include/mach/wdog.h @@ -7,7 +7,11 @@ #define _BCM2835_WDOG_H #ifndef CONFIG_BCM2835 +#ifdef CONFIG_BCM2838 +#define BCM2835_WDOG_PHYSADDR 0xfe100000 +#else #define BCM2835_WDOG_PHYSADDR 0x3f100000 +#endif #else #define BCM2835_WDOG_PHYSADDR 0x20100000 #endif