Received: by 10.213.65.68 with SMTP id h4csp398551imn; Tue, 20 Mar 2018 06:11:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELvj9+TR3MkwHQRNRrY6hHA8s4VR5MPzf13dzLPP0rYGktXHVHH4BS8tLS8d61+9VWWpBzTw X-Received: by 10.99.164.74 with SMTP id c10mr8584725pgp.187.1521551493314; Tue, 20 Mar 2018 06:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521551493; cv=none; d=google.com; s=arc-20160816; b=Hkhu9T27LnjFIEYWW8bSl/Oa6ZeLowYeNrwWhDtN8idzCPAv7IQUuGNGxtipbSiZCs o6IHd9Bsl9OI9/wGAXNiZbyaitx+HTYGUPyneRxaK54RtkiWBF8Isug24cJzKBNxIGi3 bQfcL3l6EvSj7qQJhgQZXAw53DsT4Cd8WIRyr3mesLT5pGvhiz0SnS7fb7dN+fiG05tk jCirXqR9QBvEIK5Mi290T5aHaW4IuAv1mYDMgBZuZmXCxuKLuy2Q7/yasCubRD+OiNLs MnqbiZHEZTWKWisVbGJhuC1EoHRFHRmhzejH7Hyn3KssEudq43PeUOPiGyjkG5hWRC3w Qu+g== 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=2ZwUsuLCB6I8ylGdS2+Lne2CcinROvhuDaLsHbKXA4I=; b=jpL8dBhazazgtDgzjLIy1UzypVRNNOtyFpZmo7PpD63mKIDoglxFjWsGpu4Xti/tId WGhATylIBz1M3z9AqAQGWL4pLUPAAR8FegdDYRzODSj8W46AZ/sS0880CSFdBSwbpBYq /LrhMNVOciMTi6avW6i3RxJIMsWUdPhFIBvNdmv7AD6ycF5DW9YmOeX02UuJJ+dQgW2r iF+sdUdooJ1El4u9CcGsJmrCS6+75sGk4vgKA5YA3U5P7s81aHb7FVBHM7KOCyrWGXJj AYMJy1RKyPjWpISu6XwFgukswI26MPGfZc1w5suto6Kbcd5sk8SDvnpZhdeXdpcwb01r aYWQ== 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 bj11-v6si1780224plb.525.2018.03.20.06.11.19; Tue, 20 Mar 2018 06:11:33 -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; 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 S1753622AbeCTNJe (ORCPT + 99 others); Tue, 20 Mar 2018 09:09:34 -0400 Received: from mail.bootlin.com ([62.4.15.54]:42745 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753091AbeCTNIQ (ORCPT ); Tue, 20 Mar 2018 09:08:16 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id F285A2082C; Tue, 20 Mar 2018 14:08:13 +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 shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [37.71.171.242]) by mail.bootlin.com (Postfix) with ESMTPSA id 9C0022084D; Tue, 20 Mar 2018 14:08:03 +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 v6 4/6] MIPS: mscc: add ocelot PCB123 device tree Date: Tue, 20 Mar 2018 14:07:59 +0100 Message-Id: <20180320130801.9247-5-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180320130801.9247-1-alexandre.belloni@bootlin.com> References: <20180320130801.9247-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..29d6414f8886 --- /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