linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre GRIVEAUX <agriveaux@deutnet.info>
To: robh+dt@kernel.org, mark.rutland@arm.com, ralf@linux-mips.org,
	paul.burton@mips.com, jhogan@kernel.org, agriveaux@deutnet.info
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: [PATCH 4/4] MIPS: JZ4780: DTS: Add CPU nodes
Date: Sun, 22 Sep 2019 22:13:05 +0200	[thread overview]
Message-ID: <d4f2225005f6d8a92eec05bb64e7fe937ead8ccc.1569181001.git.agriveaux@deutnet.info> (raw)
In-Reply-To: <cover.1569181001.git.agriveaux@deutnet.info>

The JZ4780 have 2 core, adding to DT.

Signed-off-by: Alexandre GRIVEAUX <agriveaux@deutnet.info>
---
 arch/mips/boot/dts/ingenic/jz4780.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi
index f928329b034b..9c7346724f1f 100644
--- a/arch/mips/boot/dts/ingenic/jz4780.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi
@@ -7,6 +7,23 @@
 	#size-cells = <1>;
 	compatible = "ingenic,jz4780";
 
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		cpu@0 {
+			compatible = "ingenic,jz4780";
+			device_type = "cpu";
+			reg = <0>;
+		};
+
+		cpu@1 {
+			compatible = "ingenic,jz4780";
+			device_type = "cpu";
+			reg = <1>;
+		};
+	};
+
 	cpuintc: interrupt-controller {
 		#address-cells = <0>;
 		#interrupt-cells = <1>;
-- 
2.20.1


      parent reply	other threads:[~2019-09-22 20:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-22 20:12 [PATCH 0/4] MIPS: CI20: DTS: Add nodes to Creator CI20 board Alexandre GRIVEAUX
2019-09-22 20:12 ` [PATCH 1/4] MIPS: CI20: DTS: Add I2C nodes Alexandre GRIVEAUX
2019-09-23  2:26   ` kbuild test robot
2019-09-27  4:20     ` Alexandre GRIVEAUX
2019-09-29 19:39     ` MIPS SGI IP30 Carlo Pisani
2019-09-22 20:12 ` [PATCH 2/4] MIPS: CI20: DTS: Add IW8103 Wifi + bluetooth Alexandre GRIVEAUX
2019-09-22 20:12 ` [PATCH 3/4] MIPS: CI20: DTS: Add Leds Alexandre GRIVEAUX
2019-09-22 20:13 ` Alexandre GRIVEAUX [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d4f2225005f6d8a92eec05bb64e7fe937ead8ccc.1569181001.git.agriveaux@deutnet.info \
    --to=agriveaux@deutnet.info \
    --cc=devicetree@vger.kernel.org \
    --cc=jhogan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=paul.burton@mips.com \
    --cc=ralf@linux-mips.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).