Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8739115ybn; Tue, 1 Oct 2019 12:11:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqztu9mHOHrVKFDz4DN7eCaeB3jdKxVMYgfzl5yamyXW0vJy7ceaRaPo6WJ1ksYHi+h47FOm X-Received: by 2002:a05:6402:1688:: with SMTP id a8mr26746928edv.225.1569957089336; Tue, 01 Oct 2019 12:11:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569957089; cv=none; d=google.com; s=arc-20160816; b=tmfBhlEdu8cX9/NxF/prca2LCccuIdHbbLxLtXmdR22/xU2sGKmWP3HT0mepgWAPFv 7sUGbl0NYIUV0GaX+RL6ioQlD8PoM1P5ol3t1YpE9i0PW2n+af1VfctvAL3LEIdevOM0 2gtThznXQow9l7ASi90li1wgyQSQdKpf1tpKlOMTwcFdBhh17etqg0uTpqTXig/+imFU ChlZzTYNucWKD6g1ON+ihYw9k1HHChD+ftGPtdobrglHI3aeEChEsQkn6EMuJHsvtfB0 wG/2W4RIGUZ+WHaFpOInCqKJBK2FZoExWRUgXA2c5SV3lckzwrFa77YKftwpSXtx88db fbHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/BP8hOWE8SJ76SRf1RmiWyLqtKvXhcXYW4oao3LZWlU=; b=ACeQolK4fzBrbpV4UYLKtG6iLBhCOzy0b+m74NpWa6xssHEBMG2DngWUQdS7lJY7UY b0/5jFfd7Ac5wWnt5H0Sx27vXjdTz5tpsfgPCXFgyA13pnOnY57LYbI8iFN6fju/j+dE Gmo/Yz+47GBKu9SiUU+Yc2DopyV8KTYVZTFmsMah7hyADQQavrpzpoY7ITQv/hGJ4HzE E8i2WVxiN/hqzzY7YbfUlk16ZvDdZzPDWX+bGBHU5OZ1ajuf8vL3scTaOEGDX943BDjY 6qD00FgzytKWLfTcDU/9P6iU2L1NrfzvrYmmXnP3Kz0ZGEQl+o+POf53RmZ6eNICGqOW dCBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@deutnet.info header.s=default header.b=ujWAewN8; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=deutnet.info Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f33si10058361edb.281.2019.10.01.12.11.04; Tue, 01 Oct 2019 12:11:29 -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=pass header.i=@deutnet.info header.s=default header.b=ujWAewN8; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=deutnet.info Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726901AbfJATJx (ORCPT + 99 others); Tue, 1 Oct 2019 15:09:53 -0400 Received: from srv1.deutnet.info ([116.203.153.70]:55206 "EHLO srv1.deutnet.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725991AbfJATJx (ORCPT ); Tue, 1 Oct 2019 15:09:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deutnet.info; s=default; h=In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=/BP8hOWE8SJ76SRf1RmiWyLqtKvXhcXYW4oao3LZWlU=; b=ujWAewN8qvEhfRACKz/cHB94/ E9/AEznd+AcWQtBdLzH1qfQtwblimz2V8UIchzsBt/jfGjTWMfNlnf77/nXzSvhF2j5+1PmQptQKd 2RS3Xt10R4ubq714D4mkofKoYd5nfTD9RSuQYS7ACBgg1JRpg4OTkjepOfVurTxG8evOC7oGXHrwM EMB/CPv3O+r+myMLLcZvUL0+7VuWKAolYu6GPK8YCE1r0SkpM4Z5W7n6gU9Jy9FpDZqe4N6se0sCg pfB+ySTNIYOb/ohv8Y+y0AqtV6tdL77iMiy6zGlN/Vflh2cvP8qxSWbjjf+yS/7J9F5rYJUKIoXaS IXIH8RRgQ==; Received: from [2001:bc8:3dc9::1] (helo=localhost) by srv1.deutnet.info with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iFNWv-0000qa-0E; Tue, 01 Oct 2019 21:09:49 +0200 Received: from agriveaux by localhost with local (Exim 4.92) (envelope-from ) id 1iFNWu-00BgOM-Kk; Tue, 01 Oct 2019 21:09:48 +0200 Date: Tue, 1 Oct 2019 21:09:48 +0200 From: Alexandre GRIVEAUX 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 v2 5/5] MIPS: JZ4780: DTS: Add CPU nodes Message-ID: <0dbd1986be4ee50bdd9f45c140aded7c49fddb8a.1569955865.git.agriveaux@deutnet.info> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The JZ4780 have 2 core, adding to DT. Signed-off-by: Alexandre GRIVEAUX --- 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