Received: by 10.223.185.116 with SMTP id b49csp3740904wrg; Tue, 6 Mar 2018 04:18:17 -0800 (PST) X-Google-Smtp-Source: AG47ELtr5cWZZ3iBAVCNkVlT5ncIFN8577bbN8m8ny2/D6sJo84jRxTqrp/ES4Y7w+igE0FpsAoX X-Received: by 10.99.4.131 with SMTP id 125mr14655207pge.375.1520338697797; Tue, 06 Mar 2018 04:18:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520338697; cv=none; d=google.com; s=arc-20160816; b=cUqgikS49uRz//qDeoMWW38NMeJYE6SKaYvuihJziyH2AmPR3DCEwqCg44fjhRDvLv M+9Ppz0F5KhZZMXqbMCr0rmctFPG8cQmnp3wokZxjYXOFMGCQ4wtEOFVcKG78xSj67ow iDK1b6eRebQ3C+KjQEz5RC3QMbzISnP0m2//+qDQp3FTZ6TwL8+/wNDpSMCPMkrm/Pwb O8q930aP9c/sbXZ+gihAsptqqALISlluSK37JpMT0rYP2bKySWGo2nN+k8hx9m44fXMA bO1QFgrgaC2ZfTPulZaZOwfvGdTgdhSZ3nKRqDZCxLphPCS9us+1/EYOKQOwVdtOFSJU C9FA== 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=U0OBgsy8hPSjtLG9gZ+SBjd3FUUrnQJYDwYrGoI4VcQ=; b=D52IoymDA3l7JAJST6aPVTH0n5a8kmUuKZfq0mUhAvgYWYC9wKnx6uRDhQp5l7WI9m xqDJH5O+KrWjtzm3zRbet69DhhRbZIK4fPJzyTqK1v36XwHmpDWQBj/p1APwr0owXlf9 BdvUZplHX8GkvUCxheMFHV5a+dxJ6RLB83g1d8mP5luFzr6xsBxK6NESySYFQBTezo1e aSo9t69Xceaf1OLbWVMtBmWStTlZ8KWQXCgez03iD+wPK8vqiB1A2oiBkQywEEot94RJ wsk6xDyVkIgadNdaxIxZnhv38+ZabSNAVqnqDS9jV3IdoI2ex2lHfLEOrkwGwd63ivHw ckfA== 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 z72si9755844pgd.819.2018.03.06.04.18.03; Tue, 06 Mar 2018 04:18:17 -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 S1753539AbeCFMQz (ORCPT + 99 others); Tue, 6 Mar 2018 07:16:55 -0500 Received: from mail.bootlin.com ([62.4.15.54]:60302 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753155AbeCFMQx (ORCPT ); Tue, 6 Mar 2018 07:16:53 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 8D73720A0D; Tue, 6 Mar 2018 13:16:50 +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 (242.171.71.37.rev.sfr.net [37.71.171.242]) by mail.bootlin.com (Postfix) with ESMTPSA id CA686209E0; Tue, 6 Mar 2018 13:16:19 +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 Subject: [PATCH v5 1/5] dt-bindings: mips: Add bindings for Microsemi SoCs Date: Tue, 6 Mar 2018 13:16:03 +0100 Message-Id: <20180306121607.1567-2-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 bindings for Microsemi SoCs. Currently only Ocelot is supported. Reviewed-by: Rob Herring Signed-off-by: Alexandre Belloni --- Documentation/devicetree/bindings/mips/mscc.txt | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/mscc.txt diff --git a/Documentation/devicetree/bindings/mips/mscc.txt b/Documentation/devicetree/bindings/mips/mscc.txt new file mode 100644 index 000000000000..ae15ec333542 --- /dev/null +++ b/Documentation/devicetree/bindings/mips/mscc.txt @@ -0,0 +1,43 @@ +* Microsemi MIPS CPUs + +Boards with a SoC of the Microsemi MIPS family shall have the following +properties: + +Required properties: +- compatible: "mscc,ocelot" + + +* Other peripherals: + +o CPU chip regs: + +The SoC has a few registers (DEVCPU_GCB:CHIP_REGS) handling miscellaneous +functionalities: chip ID, general purpose register for software use, reset +controller, hardware status and configuration, efuses. + +Required properties: +- compatible: Should be "mscc,ocelot-chip-regs", "simple-mfd", "syscon" +- reg : Should contain registers location and length + +Example: + syscon@71070000 { + compatible = "mscc,ocelot-chip-regs", "simple-mfd", "syscon"; + reg = <0x71070000 0x1c>; + }; + + +o CPU system control: + +The SoC has a few registers (ICPU_CFG:CPU_SYSTEM_CTRL) handling configuration of +the CPU: 8 general purpose registers, reset control, CPU en/disabling, CPU +endianness, CPU bus control, CPU status. + +Required properties: +- compatible: Should be "mscc,ocelot-cpu-syscon", "syscon" +- reg : Should contain registers location and length + +Example: + syscon@70000000 { + compatible = "mscc,ocelot-cpu-syscon", "syscon"; + reg = <0x70000000 0x2c>; + }; -- 2.16.2