Received: by 10.223.185.116 with SMTP id b49csp3741419wrg; Tue, 6 Mar 2018 04:18:49 -0800 (PST) X-Google-Smtp-Source: AG47ELuoZ1w9WF4t2rxai7S3T1A7woLPZUJv7j+hIdv6ZqD2Tc0I+RPlWnr/UXLJoyppKFR2Sa3l X-Received: by 10.98.138.217 with SMTP id o86mr18827117pfk.128.1520338729265; Tue, 06 Mar 2018 04:18:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520338729; cv=none; d=google.com; s=arc-20160816; b=is7WGPSejz2vF5i1MCdofbox6HckIaOHUKH9F+I9htc8HaJkPw7Mk4yDHpvbTI2MLe jjDq6Un1oYmw/QhKufy0/hem1SblQjD8bhwRe8Bq7LSAHpZY35emIQ7ahxSOrC4QXNUX 5ryfqnjjX7M7fWHEM2QxnQOYzfC6lYPObpyfqov81pi7FgtD/x6m2ZAHyeHJlZge9np0 WW8LHPe0/CWsZRYeOb9OU2Qpy7WdSfJSVV/8m0QkwWGtlYA6qEEt+gncaWsc/aBqdgLh yZs2p6MkdmbnbMnP9mclgmVFmJn5bxwBce1J0Bhhwz8PNKDsGenIrWgem2jVUzcOZwc4 0/Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=XTMOXESEaTyLtUFdztFpr5YeW0VLxOIFrFYYlvjV/YY=; b=krlhs0AlLpcDP2n0jWcnAqADhu+5zXDWWsPQ0WCmqvlZ8VpHW5Q7tdlx8+nOJNApdp iRQPDBQQ5eYa1H9l0Cv6ZYYS7MIQks6iavICF4elr5EaYMWcOO+SdYeTkVXyHHSW1/ow AcMbuFEv6H1ne1U4VHPL1u9toWaJ9065YjupLT/fFclwpLGzDCaqPqh7XW2yBKMXfm/V w95ZgJFJiym76VzeylQSCphKZSvexTPYFaLcja1936/BIBFpP51NoWFrH6PaLAS3neor z19Zpf2Yshcz/lyb5itKuyaVFN++7rMnxkPXnVTQRziy8WEx1M/qRltvvTJuumgwX+a4 lc1g== 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 u80si11930863pfg.402.2018.03.06.04.18.34; Tue, 06 Mar 2018 04:18:49 -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 S932636AbeCFMRI (ORCPT + 99 others); Tue, 6 Mar 2018 07:17:08 -0500 Received: from mail.bootlin.com ([62.4.15.54]:60332 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752936AbeCFMRD (ORCPT ); Tue, 6 Mar 2018 07:17:03 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id D2F4C207A3; Tue, 6 Mar 2018 13:17:00 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (242.171.71.37.rev.sfr.net [37.71.171.242]) by mail.bootlin.com (Postfix) with ESMTPSA id 6E54D209F6; Tue, 6 Mar 2018 13:16:20 +0100 (CET) From: Alexandre Belloni To: James Hogan , Ralf Baechle Cc: Allan Nielsen , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Alexandre Belloni , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v5 3/5] MIPS: mscc: add ocelot PCB123 device tree Date: Tue, 6 Mar 2018 13:16:05 +0100 Message-Id: <20180306121607.1567-4-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180306121607.1567-1-alexandre.belloni@bootlin.com> References: <20180306121607.1567-1-alexandre.belloni@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a device tree for the Microsemi Ocelot PCB123 evaluation board. Cc: Rob Herring Cc: devicetree@vger.kernel.org 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 dd08e63a10ba..c51164537c02 100644 --- a/arch/mips/boot/dts/mscc/Makefile +++ b/arch/mips/boot/dts/mscc/Makefile @@ -1 +1,3 @@ +dtb-$(CONFIG_LEGACY_BOARD_OCELOT) += ocelot_pcb123.dtb + obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 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..b4e3860c6cf4 --- /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@0 { + device_type = "memory"; + reg = <0x0 0x0e000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; -- 2.16.2