Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4149442ybp; Sun, 13 Oct 2019 23:23:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwKWwDcit4ZPnX8eeC+3z8tW0XB8RyYyPsGVYlemibSKMfVzMpYBYM9/v4LrkGX+Ex+6jZC X-Received: by 2002:a17:906:5a98:: with SMTP id l24mr27524826ejq.40.1571034208304; Sun, 13 Oct 2019 23:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571034208; cv=none; d=google.com; s=arc-20160816; b=tHFCz6wZXsXIEmyWYtAiREUGiuQ+0grlAExa7OuTLs1zoc9py70sytbIvMafBuvuv0 2ZctQwajMjq355ikte1FZVcE/NxLMWcnZ3IoQb8BOBmvnxl5/9gcpdSHbLC2U5K0DOc7 R6fnkS3K5qjIorL4vLwWJ1gtbn0zeA0lLyYQub2GC0Tk3QA1w/5I4oEdBwS4kDgYydpB Gn1QYh/rwC4/Hsr2a6R0572+Jq1+WXOn5pHydekqwFeeehxiD9+VorT4gjfhIdZ0An2L 3yMr2R09hYWA5Lo3hfsYAr+wyof8vYxxBJ7+LNjSdQeIHNTs3kxpb+7hXV6bBHtuSwGN PBgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=dt9aSfmBZ6LIV0i55cEdXYechi1vICbK96yocgmvqwk=; b=snmZqnJqQ1dFcv7li6oVHAbwBNg2S1JPx2bjjMX99SY76xh4qfuw8jaujA6mf/zkOV XTMCfde7fWjpken1FVLe31L/Dturkef+Gd9HCcqI0sbuFB7hAaPNIon8ABnCx2xM/N8p pQCbRAvbF2h8CwF1GldM0Hhz2QRGP5HuM80VH75o20XU+GQhMdu/y8h6RCrgJucVSnHZ JXuInldfuqXzqX2heKXAtBtbLs5Xg0Fv9xb3y8HuLQDJ6WdVJB7C2HJmJLndEE8iFeUM dMeGeoA3SIfuvGgc8SxN3Z//uZj7lvNVandwiEigbFa6JAZkRKmxEq6ZR2kzjn0Bb9Lp YgKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@0x0f.com header.s=google header.b=fMeNYw08; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oc20si10427511ejb.260.2019.10.13.23.23.05; Sun, 13 Oct 2019 23:23:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@0x0f.com header.s=google header.b=fMeNYw08; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730073AbfJNGVz (ORCPT + 99 others); Mon, 14 Oct 2019 02:21:55 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:45631 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729899AbfJNGVy (ORCPT ); Mon, 14 Oct 2019 02:21:54 -0400 Received: by mail-pg1-f196.google.com with SMTP id r1so8270309pgj.12 for ; Sun, 13 Oct 2019 23:21:52 -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=dt9aSfmBZ6LIV0i55cEdXYechi1vICbK96yocgmvqwk=; b=fMeNYw08oac+yqfjGz66wpSYP6I5s4d03WYFUwW7jPVKzEYacgso3WXR/vnIWvLWEP DfchWo8zVwmHxi6GKS1k/fpHOwmvAny5wvuYNGu2594W00s3xQOp7LVPcnrQiCSnfWU3 NOELA+GK3dKPVeok9z7/hXLUxdDOYroqqMZb0= 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=dt9aSfmBZ6LIV0i55cEdXYechi1vICbK96yocgmvqwk=; b=hu7MoBaT6WZNi0quWZCnEPpmL61i/y9hRub+p26uwBV59E/dnNrsix2CKf0boIAIkH XPs5mlgMS22sWn0P1KUHcjLWutaxcNDzLHOBjO4qSU43q/16dvL5LkJ4tlmu7Gx3ONXw L/U1/e+CkSKGcCMTcZfgcZuz5EQc60n+4RBmz7D06Y86N2w0BvHwXlHv8vlfkHOVNNti UtJUZ2vjQgU5q1WoIuT4/uI8YExBSbPKPz9Bepbvo1jsyjKGygZgiBPaZ75/drS0iGj7 +CgWjoZffb8G++GgKXsRfhKtnU+fTOzdq322lE/JJc8QAlQUm5sRNZjzIt74p+s/Phc+ eSjQ== X-Gm-Message-State: APjAAAWOib0uNfMI6KnXh/1+ql9K63jLwVlKiStoNoUhhPwAfX0rssba uUmQtNDFWpZQCP98lXfe19LMrA== X-Received: by 2002:a63:1417:: with SMTP id u23mr30319138pgl.279.1571034112068; Sun, 13 Oct 2019 23:21:52 -0700 (PDT) Received: from shiro.work (p1092222-ipngn200709sizuokaden.shizuoka.ocn.ne.jp. [220.106.235.222]) by smtp.googlemail.com with ESMTPSA id g24sm16874074pfi.81.2019.10.13.23.21.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Oct 2019 23:21:51 -0700 (PDT) From: Daniel Palmer Cc: daniel@0x0f.com, Daniel Palmer , Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Shawn Guo , Heiko Stuebner , Jarkko Sakkinen , Laurent Pinchart , Icenowy Zheng , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Jonathan Cameron , "Paul E. McKenney" , Arnd Bergmann , Linus Walleij , Paul Burton , Andrew Morton , Bartosz Golaszewski , Doug Anderson , Ard Biesheuvel , Benjamin Gaignard , Nick Desaulniers , Stefan Agner , Nicolas Pitre , Masahiro Yamada , Nathan Chancellor , Nathan Huckleberry , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] ARM: mstar: Add infinity series dtsi Date: Mon, 14 Oct 2019 15:15:58 +0900 Message-Id: <20191014061617.10296-3-daniel@0x0f.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191014061617.10296-1-daniel@0x0f.com> References: <20191014061617.10296-1-daniel@0x0f.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adds initial dtsis for the infinity SoC family and a dtsi for the infinity3 based msc313e part. Signed-off-by: Daniel Palmer --- MAINTAINERS | 1 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/infinity.dtsi | 71 ++++++++++++++++++++++++ arch/arm/boot/dts/infinity3-msc313e.dtsi | 14 +++++ arch/arm/boot/dts/infinity3.dtsi | 11 ++++ 5 files changed, 100 insertions(+) create mode 100644 arch/arm/boot/dts/infinity.dtsi create mode 100644 arch/arm/boot/dts/infinity3-msc313e.dtsi create mode 100644 arch/arm/boot/dts/infinity3.dtsi diff --git a/MAINTAINERS b/MAINTAINERS index e35c3eb2b680..8045563ac76f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1986,6 +1986,7 @@ M: Daniel Palmer L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) F: Documentation/devicetree/bindings/arm/mstar.yaml F: arch/arm/mach-mstar/ +F: arch/arm/boot/dts/infinity*.dtsi S: Maintained ARM/NEC MOBILEPRO 900/c MACHINE SUPPORT diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b21b3a64641a..bf0aa53d3a13 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1303,3 +1303,6 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-opp-zaius.dtb \ aspeed-bmc-portwell-neptune.dtb \ aspeed-bmc-quanta-q71l.dtb +dtb-$(CONFIG_ARCH_MSTAR) += \ + infinity3-msc313e-breadbee.dtb + diff --git a/arch/arm/boot/dts/infinity.dtsi b/arch/arm/boot/dts/infinity.dtsi new file mode 100644 index 000000000000..101582f277ff --- /dev/null +++ b/arch/arm/boot/dts/infinity.dtsi @@ -0,0 +1,71 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 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 = , + , + , + ; + clock-frequency = <6000000>; + }; + + pmu { + compatible = "arm,cortex-a7-pmu"; + interrupts = , + , + , + ; + }; + + soc: soc { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gic: interrupt-controller@0x16001000 { + compatible = "arm,cortex-a7-gic"; + #interrupt-cells = <3>; + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + reg = <0x16001000 0x1000>, + <0x16002000 0x1000>; + }; + + pm_uart: uart@1f221000 { + compatible = "ns16550a"; + reg = <0x1f221000 0x100>; + reg-shift = <3>; + clock-frequency = <172000000>; + status = "disabled"; + }; + }; +}; diff --git a/arch/arm/boot/dts/infinity3-msc313e.dtsi b/arch/arm/boot/dts/infinity3-msc313e.dtsi new file mode 100644 index 000000000000..d0c53153faad --- /dev/null +++ b/arch/arm/boot/dts/infinity3-msc313e.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 thingy.jp. + * Author: Daniel Palmer + */ + +#include "infinity3.dtsi" + +/ { + memory { + device_type = "memory"; + reg = <0x20000000 0x4000000>; + }; +}; diff --git a/arch/arm/boot/dts/infinity3.dtsi b/arch/arm/boot/dts/infinity3.dtsi new file mode 100644 index 000000000000..bea22cf62373 --- /dev/null +++ b/arch/arm/boot/dts/infinity3.dtsi @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 thingy.jp. + * Author: Daniel Palmer + */ + +#include "infinity.dtsi" + +/ { +}; + -- 2.23.0