From patchwork Sat Dec 8 16:50:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10719445 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 880E61759 for ; Sat, 8 Dec 2018 16:50:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75B362B3D5 for ; Sat, 8 Dec 2018 16:50:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 685D62B3DE; Sat, 8 Dec 2018 16:50:47 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0CCEC2B3D5 for ; Sat, 8 Dec 2018 16:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LJ8Lgukv45zZPqrKrMqRGbsPRSVwMohtY9LXs0aSQ04=; b=reEcJ9pMTROK4f mJ2B4uIrxpd206k6ShShPKE1BOjRJHIfnlUw8dtDnmY1EHZasY1NR7GuxLf1tcalcTXBuxNPjxbIc J+e1Ur3P4Y+LWHqR0oLf3FdclTgpSyieyONA7eAkTcgs4woEsCmDnZicg2OPHGw5gKDcRm6UfwuDT t3j54hMFmsI1IYx/nNySho4G/gqQX2P3xuH0PPv8pWMYoP6C5wkt6c8TpDhlHBISzFNh6AGJoh81G 0HpgbOOEkz9mCKmqwXiInAK23RHoaSxbKzo5XV2NExafedm3iaMIDvopRMHVPoXzmF4BE9VToCxxF srz55xgAOa2Ntj47D67g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gVfoU-0001z7-Bj; Sat, 08 Dec 2018 16:50:46 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gVfoR-0001y7-S8; Sat, 08 Dec 2018 16:50:45 +0000 Received: by mail-wm1-x343.google.com with SMTP id m22so7296923wml.3; Sat, 08 Dec 2018 08:50:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dsaJbjcpB24+zLEci7Jp1YL8GeBwVROEK15Bc3ThBjo=; b=OecMCuBCNojRkcT5KvSjHKh3PDPlkdrkqfgwRyDFIcEjFSHX0NJfjca6hBqMhaKeX+ MoBb3/VB+VCryFRKLyksxdh/VwmJnVajNTuM2/LhGdt2UpmdcCaV6Ci7vsroxrfj3+mG NV7lOsBWBBVWs12Iv/y/Lbh24HyimBlJMN0fMKNk2C2o/px0HhNGASvyD6UzjOHsJD21 NfQtnf7eNQQbTYvIu2QSOHdj1ctwFlBNtWaY3AtzawbvyM+2ElNef5RlLz0UmnK/TN8C nmxIyW6nJcRDntNgMwB2aZGxnxpwT/eiQTvcu98/Fj2fCM52dzv5ZoM+iKUYCBHliKOr hdHQ== 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:mime-version :content-transfer-encoding; bh=dsaJbjcpB24+zLEci7Jp1YL8GeBwVROEK15Bc3ThBjo=; b=oVA7b6ak/d3CtFgOavs28V0M6OqJupUqv3kgjRFtckaS4kbsufZuLy6tRt2vZv1cY0 urweyIg/iwaH9n6GGKrO9JI+5D4iNHyWO+hw/Kbo8ijn36ZZPAAenzb+XKzQK2686XfD U9HtRyId6PYhQaNwqq2rls11xRFKkoZbuA5eiS9kns0RYpI18j1aQFscpxgLUMMfz4vg cTVZhgdyOJk0UMmWgTbwbW78A22RodnkSlUpvxp2VzsbrK20Ih0R7Drm4Z0UlmuCC9ij kOSZVrvivVJM9Dn2wTIKqTZXFT9bRRA1YWD81bnQ7bO2fawIxZHmPdpbm0uD8xosEejS 7/5g== X-Gm-Message-State: AA+aEWbRg5FOdH7DvsalEAMNt6k3z5t9Jyb+y1Og5NjyM5YeQp7bEOtD 9EacXL4m6dGEVeFITPe7CK3rTe/q X-Google-Smtp-Source: AFSGD/UU3bNYFBKFvnLoD0Mc0ZqsqkwP5X3TZ6g7FI6b98WTxalGTiWnGwPzL4EG5/XA6tJmRiYBmw== X-Received: by 2002:a1c:e90c:: with SMTP id q12mr1450507wmc.12.1544287831832; Sat, 08 Dec 2018 08:50:31 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73FBA00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d73f:ba00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id n15sm11395651wrt.21.2018.12.08.08.50.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Dec 2018 08:50:31 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH v2 0/3] ARM: dts: meson: add the APB/APB2 busses Date: Sat, 8 Dec 2018 17:50:22 +0100 Message-Id: <20181208165025.27689-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181208_085043_913317_FEFBB6C9 X-CRM114-Status: GOOD ( 11.66 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the APB bus on Meson8 and Meson8b as well as the APB2 bus on Meson6. This is preparation work for adding the Mali GPU which is located on theses busses. Meson6 seems to have it's APB at 0xc8000000 instead of 0xd0000000. The region at 0xd0000000 is called APB2 or A9_APB and it has a different size (256k) compared to Meson8 and Meson8b (2M). Addresses and sizes are taken from the Amlogic 3.10 kernel sources: - Meson6: [0] - Meson8: [1] - Meson8b: [2] Changes since v1 at [3]: - re-send the patches but this time don't include the old patches which still had a typo in the patch description (ABP vs APB) [0] https://github.com/endlessm/linux-meson/blob/cd4096c3ff4eb5b8a8a5581bb46508601c5470dc/arch/arm/mach-meson6/include/mach/io.h#L61 [1] https://github.com/endlessm/linux-meson/blob/cd4096c3ff4eb5b8a8a5581bb46508601c5470dc/arch/arm/mach-meson8/include/mach/io.h#L53 [2] https://github.com/endlessm/linux-meson/blob/cd4096c3ff4eb5b8a8a5581bb46508601c5470dc/arch/arm/mach-meson8b/include/mach/io.h#L53 [3] http://lists.infradead.org/pipermail/linux-amlogic/2018-December/009424.html Martin Blumenstingl (3): ARM: dts: meson6: add the APB2 bus ARM: dts: meson8: add the APB bus ARM: dts: meson8b: add the APB bus arch/arm/boot/dts/meson6.dtsi | 8 ++++++++ arch/arm/boot/dts/meson8.dtsi | 8 ++++++++ arch/arm/boot/dts/meson8b.dtsi | 8 ++++++++ 3 files changed, 24 insertions(+) Reviewed-by: Neil Armstrong