Received: by 10.223.185.116 with SMTP id b49csp299773wrg; Fri, 2 Mar 2018 19:40:36 -0800 (PST) X-Google-Smtp-Source: AG47ELteSwZPyA1iQMKUUmSijsth6cboHGQIt5Dhug1awfMBT0u4WN2UJWsRK4Rkvb+wtIMBiBg8 X-Received: by 10.101.90.203 with SMTP id d11mr6176412pgt.366.1520048436883; Fri, 02 Mar 2018 19:40:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520048436; cv=none; d=google.com; s=arc-20160816; b=D/E3qwoFGgHVQ+hHnhbUAzuUak3iLOc+brbzFqwODbzz5H9/vVu4yvZ1ElJr9TJkTl G7CZJMJ0CyML45cDTUBIWhCdhlO390HMU3KvOv25jcXnDMEq5m/+WzZ3Og5I35/UcS2y MldiWParTkuq0BNt0RloTuapHL0P2HRyhcl2roaDKIrwqGp3GhruAsUy7ynbwmtM1oRc CuqYH739F1I+NHrVWDmb7xA2gu6YoKfMyDshhrccrenpLX/UcyPt1pDEeEx8ItldAOwQ S2/gEmNRZuqzrR5Rwoac/FApqVFxyVLVunzp+uROcmqZiLv0jUgI0f3VbQ1V7A48HfKM xKHQ== 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=m8PUJLCKTDiiLLQ3cLWKtrVQMnlbAp9SCLBJ/xKOo2M=; b=OlonfUo/RfmYBOQukSoYZWeyPwDL6HWkIE28r7YqUYnfXmgmK9VRMK9RmXruVDvVQI m3lan2LbrzrmR3nOb5m06UTmwPdq+1fazgjvxtSlpphuUloWgvpGfEBbVMRArygOjEDL 74oMRdoRUOSeaKT0n/0qOm/CFjH06YxYYikmg1h+tAKFDMuz0xJ0Xq3edCbUpdRgX057 Nlv49UzC7kc9sdXUV0UQ0mhIaTW86jbQHHxa/+vd/+u72RzQukVuMrdG4DRC/AjFjD6/ pnGcl4+WnOah5/iIy2IojHkUS4GIubeHI1vf+hlXjVHcY1ctmPBlql9wIEYh8MjyVGxO XK8A== 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 v204si4935296pgb.212.2018.03.02.19.40.22; Fri, 02 Mar 2018 19:40:36 -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 S933649AbeCBWtY (ORCPT + 99 others); Fri, 2 Mar 2018 17:49:24 -0500 Received: from mail.bootlin.com ([62.4.15.54]:52386 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932936AbeCBWtU (ORCPT ); Fri, 2 Mar 2018 17:49:20 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id AD4FD207EF; Fri, 2 Mar 2018 23:49:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.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 (unknown [88.191.26.124]) by mail.bootlin.com (Postfix) with ESMTPSA id 2DA7620883; Fri, 2 Mar 2018 23:49:02 +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 v4 4/6] MIPS: mscc: add ocelot PCB123 device tree Date: Fri, 2 Mar 2018 23:48:09 +0100 Message-Id: <20180302224811.26840-5-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180302224811.26840-1-alexandre.belloni@bootlin.com> References: <20180302224811.26840-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..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.16.2