Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp456627ybg; Fri, 12 Jun 2020 06:08:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzB4MyciHxHyRnrD2IcSsbUt8jSd503WGWpD098wDG+jBidMom4H1WT/vrcprGq7mwpsb4p X-Received: by 2002:a17:906:a402:: with SMTP id l2mr661465ejz.14.1591967333529; Fri, 12 Jun 2020 06:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591967333; cv=none; d=google.com; s=arc-20160816; b=BAFz6cbckFUdLYmgZDrIjBaM4kE95oaGG6ByMZ3QrnQYmvQIM8h1OFAUS8ZvOUzcZ5 lD7OsF7cQRlsOyWkhCsssBL2Z4axuaShHuEPtN+HwzEgxBC9Is92wwt7aUYtgxIpZq5c WifqCebe2ko8SrxXksdleVJjq4qRpbTwa1h66/26AcvF3LZ71FJ5n1AHuugVP417DPTn H81YdQkIi0aP8Fmf/lxZJtSj8rROZEGdn8jq+msTpJsnWQi8K1sfWSMCuyCVaNABbPQL k/17S+dQgMg8GN5cPcGHCXLSPPc36bfEdQkSWsBh3EGBqwDdgR/WI8p0gaBUkgz81dbx TWZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OBJpojzWa8rMbNI3idlTZnZIA1I0XUKCQMwrfCA78NU=; b=Ds85jsZMJK17dyesqd+KyyUxSD51vGqv1OKbTy6MPlyK/6hI5POFdYXuazWFDPk8Ep VGYpEoat7RsCvf+GCVmVNma9bBR67gQUNeHWJRSNuicUJgGnbIG04IaEHkHLa69iCebr JLtHqdLtxn8m8taPfxMdVYURc/Hg2R04YGDsGcsgSlCS5ti19OhB6obKE+bvo5DfRR6T H0vtSKQQ7ZshJ6pLj4okztJfEUSl+eUGQ31udu/TZMF7M91M/It0H1rPkd6OZ5069jSE 1+ESD+KH4Z0T5B86yXdCE9gH/DmjZtDd7WyPKDtG7Q/pcXzisIwFuNC5jMsZnNzVLcvN FkCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=IIkWzmtt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si3572615edp.292.2020.06.12.06.08.29; Fri, 12 Jun 2020 06:08:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=IIkWzmtt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726338AbgFLNG2 (ORCPT + 99 others); Fri, 12 Jun 2020 09:06:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbgFLNG0 (ORCPT ); Fri, 12 Jun 2020 09:06:26 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24932C08C5C1 for ; Fri, 12 Jun 2020 06:06:25 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id d6so3830232pjs.3 for ; Fri, 12 Jun 2020 06:06:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OBJpojzWa8rMbNI3idlTZnZIA1I0XUKCQMwrfCA78NU=; b=IIkWzmttsga5v2115g7pfjC/IASZwG0DDViVKQz3ldmeLjYgO3t0qUF7d5QwBdZhF2 RrfvD2+ncX1S00enk1vKMaBq/5Tm+liawo4WXlCAGcLgDEr/ewPBqCxUc1g/4/OiSfet 6VEQqhiC/X9/+m5oeZHh4i/ImxIKa8MHBT4Bs= 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=OBJpojzWa8rMbNI3idlTZnZIA1I0XUKCQMwrfCA78NU=; b=Jx1w/OAtq749NTl4Be1XoML1ZkdyKlc35ae5XG2u2ncHVANDZpcKiQVkBz90Xu65G8 ojvhZGkJKvTyYz8yYrvV6Xpm2byBYAUt9eRkoo02NYBsQtKwP6+2rxIfk43ufQkW8htu di66xuz7bBIOr3cjdOlBJzOFFhdcByCbfXh4K3ajVHO+HDhakm27Q1B53vOEYqYT+qDx CsN022GojmOEcdR17Lat70Bezf3FrMtBfr+Fcy/afWv4Sd/npMjf9+/FGPoVx/ClX21O kFQXGaZmSRvuFSXh4Nb6TC4UL5MAyYKl16CgxDDTn+t3udKVPzXTEhhqJt8vbnp4fjWK phMw== X-Gm-Message-State: AOAM530z7e/RjBO+ybeX8UYsudJL97PfEZEhgIC0m2JN15IoHY4o0e6b EDAEnSMIk2F3QLT7MUmErezZJWsV+3bQmg== X-Received: by 2002:a17:902:207:: with SMTP id 7mr11883773plc.169.1591967183355; Fri, 12 Jun 2020 06:06:23 -0700 (PDT) Received: from shiro.work (p1285116-ipngn200805sizuokaden.shizuoka.ocn.ne.jp. [114.171.61.116]) by smtp.googlemail.com with ESMTPSA id k12sm5481939pgm.11.2020.06.12.06.06.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 06:06:22 -0700 (PDT) From: Daniel Palmer To: linux-kernel@vger.kernel.org Cc: daniel@0x0f.com, afaerber@suse.de, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Jonathan Corbet , Greg Kroah-Hartman , Arnd Bergmann , Mike Rapoport , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Nathan Chancellor , Will Deacon , Joel Stanley , Nathan Huckleberry , Ard Biesheuvel , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 08/12] ARM: mstar: Add Armv7 base dtsi Date: Fri, 12 Jun 2020 22:00:08 +0900 Message-Id: <20200612130032.3905240-9-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200612130032.3905240-1-daniel@0x0f.com> References: <20200610090421.3428945-1-daniel@0x0f.com> <20200612130032.3905240-1-daniel@0x0f.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adds initial dtsi for the base MStar/Sigmastar Armv7 SoCs. These SoCs have very similar memory maps and this will avoid duplicating nodes across multiple dtsis. Signed-off-by: Daniel Palmer --- MAINTAINERS | 1 + arch/arm/boot/dts/mstar-v7.dtsi | 83 +++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 arch/arm/boot/dts/mstar-v7.dtsi diff --git a/MAINTAINERS b/MAINTAINERS index 4bd57bbdddb0..00de66458e53 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2116,6 +2116,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained W: http://linux-chenxing.org/ F: Documentation/devicetree/bindings/arm/mstar.yaml +F: arch/arm/boot/dts/mstar-v7.dtsi F: arch/arm/mach-mstar/ ARM/NEC MOBILEPRO 900/c MACHINE SUPPORT diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi new file mode 100644 index 000000000000..3b99bb435bb5 --- /dev/null +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -0,0 +1,83 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include +#include + +/ { + #address-cells = <1>; + #size-cells = <1>; + interrupt-parent = <&gic>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0x0>; + }; + }; + + arch_timer { + compatible = "arm,armv7-timer"; + interrupts = , + , + , + ; + /* + * we shouldn't need this but the vendor + * u-boot is broken + */ + clock-frequency = <6000000>; + }; + + soc: soc { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x16001000 0x16001000 0x00007000>, + <0x1f000000 0x1f000000 0x00400000>; + + gic: interrupt-controller@16001000 { + compatible = "arm,cortex-a7-gic"; + reg = <0x16001000 0x1000>, + <0x16002000 0x2000>, + <0x16004000 0x2000>, + <0x16006000 0x2000>; + #interrupt-cells = <3>; + interrupt-controller; + interrupts = ; + }; + + riu: bus@1f000000 { + compatible = "simple-bus"; + reg = <0x1f000000 0x00400000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1f000000 0x00400000>; + + l3bridge: l3bridge@204400 { + compatible = "mstar,l3bridge"; + reg = <0x204400 0x200>; + }; + + pm_uart: uart@221000 { + compatible = "ns16550a"; + reg = <0x221000 0x100>; + reg-shift = <3>; + clock-frequency = <172000000>; + status = "disabled"; + }; + }; + }; +}; -- 2.27.0.rc0