Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758053AbdLRN3y (ORCPT ); Mon, 18 Dec 2017 08:29:54 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:43904 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733AbdLRN3w (ORCPT ); Mon, 18 Dec 2017 08:29:52 -0500 X-Google-Smtp-Source: ACJfBou+yOlu+elRE6pKclQZYjR8CIGu/8WVFX3lGyHXFOMWBEBZxu8sVZ3axS266HlnTlaA1eDwsLG6deuo/Df/rgA= MIME-Version: 1.0 In-Reply-To: <20171208154618.20105-12-alexandre.belloni@free-electrons.com> References: <20171208154618.20105-1-alexandre.belloni@free-electrons.com> <20171208154618.20105-12-alexandre.belloni@free-electrons.com> From: PrasannaKumar Muralidharan Date: Mon, 18 Dec 2017 18:59:51 +0530 Message-ID: Subject: Re: [PATCH v2 11/13] MIPS: mscc: add ocelot PCB123 device tree To: Alexandre Belloni Cc: Ralf Baechle , linux-mips@linux-mips.org, open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1800 Lines: 64 On 8 December 2017 at 21:16, Alexandre Belloni wrote: > Add a device tree for the Microsemi Ocelot PCB123 evaluation board. > > Signed-off-by: Alexandre Belloni > --- > arch/mips/boot/dts/mscc/Makefile | 2 ++ > arch/mips/boot/dts/mscc/ocelot_pcb123.dts | 27 +++++++++++++++++++++++++++ > 2 files changed, 29 insertions(+) > create mode 100644 arch/mips/boot/dts/mscc/ocelot_pcb123.dts > > diff --git a/arch/mips/boot/dts/mscc/Makefile b/arch/mips/boot/dts/mscc/Makefile > index f0a155a74e02..09a1c4b97de2 100644 > --- a/arch/mips/boot/dts/mscc/Makefile > +++ b/arch/mips/boot/dts/mscc/Makefile > @@ -1,3 +1,5 @@ > +dtb-$(CONFIG_MSCC_OCELOT) += ocelot_pcb123.dtb > + > obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) > > # Force kbuild to make empty built-in.o if necessary > diff --git a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts > new file mode 100644 > index 000000000000..42bd404471f6 > --- /dev/null > +++ b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts > @@ -0,0 +1,27 @@ > +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ > +/* Copyright (c) 2017 Microsemi Corporation */ > + > +/dts-v1/; > + > +#include "ocelot.dtsi" > + > +/ { > + compatible = "mscc,ocelot-pcb123", "mscc,ocelot"; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + memory { > + device_type = "memory"; > + reg = <0x0 0x0e000000>; > + }; > +}; > + > +&uart0 { > + status = "okay"; > +}; > + > +&uart2 { > + status = "okay"; > +}; > -- > 2.15.1 > > Looks good to me. Reviewed-by: PrasannaKumar Muralidharan Regards, PrasannaKumar