Received: by 10.213.65.68 with SMTP id h4csp399085imn; Tue, 20 Mar 2018 06:12:10 -0700 (PDT) X-Google-Smtp-Source: AG47ELtGsnj8YCPChzNnwhp8yxULkFtzcwxSjQQ93lZQPiduMq3QshiVfJ+2BbHeYfwuGlwafY1U X-Received: by 2002:a17:902:6785:: with SMTP id g5-v6mr14015981plk.369.1521551529955; Tue, 20 Mar 2018 06:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521551529; cv=none; d=google.com; s=arc-20160816; b=fQ36GsdAGcCBxcgnAim+EE6WY1UeE/I0u6t0CWcYwcjr+F8dnk7fZtCMkCZB7JBvGI kBNLjFFu/9QZMRY8w1IMWsNv+4jrC8VNZz35tUYppXVRfRkQRuuBK9/fnb+PIZb0+p6i h33OdfLyd1elAm6UGuZsXUlhhX16gvRyLUAYKlg9wj3j9JJMSmPzwL05c9vpoDr3RDPq 0bc5yUIHI3kfFyAooClgQnFsjfZ4PgeXzwcVRQb1UUn57gnj4uEzENO/KEwb5gj9mUz6 tZWeSRU15cGw28c7WYdIPHF6jXdUpcap0+060i/rKkGm7DU2sZIYh6N9kMVA+7+YG9Px qPhA== 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=cwP4rLRYgmPtTnWtoSqtBep6h9XMGI9aNOlh5U9OygIg71XumU1f9TB3KFqYGeAHfl XZoIUKZVIOmAmZ0Pqp/hsUvTxtc9X2jXKBlkRIq1m42IMrP26VGUGoo4uuhmjhvKfX5K 2pAtPEpc2z7uT0cbmgqp+G0zchGpS4MvdnKKclKBZlgzXUbdNs8v7mpaFhLsd7PggzZV 2oZmXT+CoaNhcUzDSsamxPQvg2iSGcJmc1hhumCSdZIRD9E01JpA7uRh2hvazmqh2jfa 4Ad5s9ZA86v7F7JoefE82RKcxweUQvTrtBgoX2SjGw4mXr3+Zp3NabgEY3QBGd6xCINQ JN8A== 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 f7-v6si1550078plo.605.2018.03.20.06.11.55; Tue, 20 Mar 2018 06:12:09 -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 S1753485AbeCTNJ7 (ORCPT + 99 others); Tue, 20 Mar 2018 09:09:59 -0400 Received: from mail.bootlin.com ([62.4.15.54]:42736 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753281AbeCTNIO (ORCPT ); Tue, 20 Mar 2018 09:08:14 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 3F38720710; Tue, 20 Mar 2018 14:08:12 +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 D356C207E5; Tue, 20 Mar 2018 14:08:01 +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 v6 2/6] dt-bindings: mips: Add bindings for Microsemi SoCs Date: Tue, 20 Mar 2018 14:07:57 +0100 Message-Id: <20180320130801.9247-3-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 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