Received: by 10.223.185.116 with SMTP id b49csp5218497wrg; Wed, 7 Mar 2018 08:10:27 -0800 (PST) X-Google-Smtp-Source: AG47ELsC76Ecnes+kSH2aT6lW/ke5TCV/Aj1lmn/m+nome/yNGdTAQvGmZQ15LrzZkuW99Qk0PRB X-Received: by 2002:a17:902:d90f:: with SMTP id c15-v6mr17386180plz.223.1520439027772; Wed, 07 Mar 2018 08:10:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520439027; cv=none; d=google.com; s=arc-20160816; b=CfesJNOvpwCPEKcAo406VaooxxSNtGQT3G1SbIRYl0NQbJgP3Jp6ga4Rj1PDLOqVAe NJbEkIqzk2lny94G1op77HvAxBkU+dzDM6Rjf8ybU3MY8Tbpq/N44NR+p8iPrBKjwg6f hBmV25F9Icv8RXxgwiHH8ESNWY0U9YrJiD1ULy7VacH8Wraet5XZh0yRSZwACNIxrdTr vQR/KsKuuK35lDdUAelEnAQj7ApxybEwgF8LQCqmocnL2lUqjU+DgsOWtQHhr0HtfisL ZzNRVAN3EqgNBKKv74XTPqPY10/FTw5N9gollQ89TK392J1kJ11KJ2r51LFyHjMzfKj8 NaDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=NaMx+OZjN+sVQpQTVy88Q5rirIHTxpZqQ6VyooQkA98=; b=eMIMVFJnrc8UF+l0BmQj88k8XEIjjPe0HuP3optJ3oReTpLqL7QzmCHEQL1ghjYD9r 1CxC56OQWDIYBoMDjUyI3/A0tfFv8Sxpx/0meWmeT5bhwMuNn0EJmfmjn2KxgXBSVjbw mT+RqQjozHynDpVDWgpHpugJYjaUZk0U75LyA+HyOB9rtS2uCeZz4+1Gp0a5annsF8He vf67RI7Qpb95l6MEKo56dG5D4Ai5ZkjEUniZZ/Twb4woyVesL+g2vWAroWdB+MIfcRe0 tlMyHiNv3dNOHR0Z8vldSViaQU4fpJckAHo1nnmJVBluJOzkUf27Lfqdglc1A7eAPvXM QxfA== ARC-Authentication-Results: i=1; mx.google.com; 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 b2si11563752pgq.240.2018.03.07.08.10.13; Wed, 07 Mar 2018 08:10:27 -0800 (PST) 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; 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 S934077AbeCGQJJ (ORCPT + 99 others); Wed, 7 Mar 2018 11:09:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:48948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933409AbeCGQJD (ORCPT ); Wed, 7 Mar 2018 11:09:03 -0500 Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com [209.85.220.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9B3312133D; Wed, 7 Mar 2018 16:09:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9B3312133D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org Received: by mail-qk0-f174.google.com with SMTP id l206so3281333qke.1; Wed, 07 Mar 2018 08:09:02 -0800 (PST) X-Gm-Message-State: AElRT7H1IYRFEPT2NSvLnxkFEvch4GKOOLrN/5qEWqZ1CoEFzfIxbwwJ 2E00pJdp8al89n8x5WYMP2pi3wQfWy1SsXhi/A== X-Received: by 10.55.31.163 with SMTP id n35mr34496065qkh.147.1520438941811; Wed, 07 Mar 2018 08:09:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.178.131 with HTTP; Wed, 7 Mar 2018 08:08:28 -0800 (PST) In-Reply-To: <20180306121607.1567-3-alexandre.belloni@bootlin.com> References: <20180306121607.1567-1-alexandre.belloni@bootlin.com> <20180306121607.1567-3-alexandre.belloni@bootlin.com> From: Rob Herring Date: Wed, 7 Mar 2018 10:08:28 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 2/5] MIPS: mscc: add ocelot dtsi To: Alexandre Belloni Cc: James Hogan , Ralf Baechle , Allan Nielsen , Linux-MIPS , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 6, 2018 at 6:16 AM, Alexandre Belloni wrote: > Add a device tree include file for the Microsemi Ocelot SoC. > > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Signed-off-by: Alexandre Belloni > --- > arch/mips/boot/dts/Makefile | 1 + > arch/mips/boot/dts/mscc/Makefile | 1 + > arch/mips/boot/dts/mscc/ocelot.dtsi | 117 ++++++++++++++++++++++++++++++++++++ > 3 files changed, 119 insertions(+) > create mode 100644 arch/mips/boot/dts/mscc/Makefile > create mode 100644 arch/mips/boot/dts/mscc/ocelot.dtsi > > diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile > index e2c6f131c8eb..1e79cab8e269 100644 > --- a/arch/mips/boot/dts/Makefile > +++ b/arch/mips/boot/dts/Makefile > @@ -4,6 +4,7 @@ subdir-y += cavium-octeon > subdir-y += img > subdir-y += ingenic > subdir-y += lantiq > +subdir-y += mscc > subdir-y += mti > subdir-y += netlogic > subdir-y += ni > diff --git a/arch/mips/boot/dts/mscc/Makefile b/arch/mips/boot/dts/mscc/Makefile > new file mode 100644 > index 000000000000..dd08e63a10ba > --- /dev/null > +++ b/arch/mips/boot/dts/mscc/Makefile > @@ -0,0 +1 @@ > +obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) > diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi > new file mode 100644 > index 000000000000..8c3210577410 > --- /dev/null > +++ b/arch/mips/boot/dts/mscc/ocelot.dtsi > @@ -0,0 +1,117 @@ > +//SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* Copyright (c) 2017 Microsemi Corporation */ > + > +/ { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "mscc,ocelot"; > + > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + cpu@0 { > + compatible = "mips,mips24KEc"; > + device_type = "cpu"; > + clocks = <&cpu_clk>; > + reg = <0>; > + }; > + }; > + > + aliases { > + serial0 = &uart0; > + }; > + > + cpuintc: interrupt-controller@0 { Please compile with W=1 and fix any issues like this one which is a unit-address without a reg property. Drop the unit-address. > + #address-cells = <0>; > + #interrupt-cells = <1>; > + interrupt-controller; > + compatible = "mti,cpu-interrupt-controller";