Received: by 10.223.185.116 with SMTP id b49csp299368wrg; Fri, 2 Mar 2018 19:39:55 -0800 (PST) X-Google-Smtp-Source: AG47ELuDHty1Xg1qQ0DwyG+uWsMvvXv7El5UIcjtnH/WmtmwpMVk3GBWjgi3zClo8/yyc+3GwswU X-Received: by 10.99.115.5 with SMTP id o5mr6275207pgc.226.1520048395789; Fri, 02 Mar 2018 19:39:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520048395; cv=none; d=google.com; s=arc-20160816; b=WjZUBi9nKtQudpUWQtrhEV2ImtbnehRaqELSO0eYWtCbnictEoQ9OeLnA9VOACdB5o WmYSrtlT56cPhK4qavOJGCCZf4eVCjIBwn9Ptuqe36c5vymbJBqOYj0c5RIwX03FJU1P q76wBGwnEIDOxQ1JzSP9IOCxZ+3jxD/yy4/67I1Mwvor2+N2sORwi7WTwyIIIi2PG7YQ bprfoqdc+ji0yf4Y82wsrkuhVL7zKOOokG4eV24Gw4vJJ9e6PPa25QnLlCgpW+5Ep5ig 2wekU+esN/LCtIo6XmhEo3HznP8I0kNslHwcQDn3fbv1ANoP3ppDd42zqYL91AKrNSh/ 5nrw== 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=AQxdgzsz9OkIf0r4DfYBR5Vo0yhmoNTHJK6n3m2aNGQ=; b=VCPpUYAWqfQ32CnPTzArvqJA4iGpsBZy+aMXXBc9hVu3z9xieWx/jja41glMdYSJrX +6EUmc1hHJMkUKKE1NW4YVRDjUtb0K02SbueEllRIcajGc/NN3uSmLktkripms0vXweE abifHan5Zt+g8Cd19z/htECKAgOF+NdY1YDrEBHLWypcbWLgTJzowz/b8Uvg03zi6SNG xZ2SUaxKz9FiTCMLqAUyLBwDq1B+Rf+m3MuK2xUYWgPSQFBJsGJ9xLwtlVjQqcYWbrWK ZFHpNHr0hRqJmhjwuXAXHG9Xc8MKlUNtYCs7+LKPou4arsr2GqbT0GICC2I+gqvs1nDp NPUQ== 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 p1si4912726pgc.593.2018.03.02.19.39.39; Fri, 02 Mar 2018 19:39:55 -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 S933441AbeCBWtP (ORCPT + 99 others); Fri, 2 Mar 2018 17:49:15 -0500 Received: from mail.bootlin.com ([62.4.15.54]:52378 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933313AbeCBWtO (ORCPT ); Fri, 2 Mar 2018 17:49:14 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id D752D207CA; Fri, 2 Mar 2018 23:49:11 +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 94F14207EF; Fri, 2 Mar 2018 23:49: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 v4 2/6] dt-bindings: mips: Add bindings for Microsemi SoCs Date: Fri, 2 Mar 2018 23:48:07 +0100 Message-Id: <20180302224811.26840-3-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 bindings for Microsemi SoCs. Currently only Ocelot is supported. Reviewed-by: Rob Herring Signed-off-by: Alexandre Belloni --- Documentation/devicetree/bindings/mips/mscc.txt | 44 +++++++++++++++++++++++++ 1 file changed, 44 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..f4514c274510 --- /dev/null +++ b/Documentation/devicetree/bindings/mips/mscc.txt @@ -0,0 +1,44 @@ +* Microsemi MIPS CPUs + +Boards with a SoC of the Microsemi MIPS family shall have the following +properties: + +Required properties: +- compatible: "mscc,ocelot" +- mips-hpt-frequency: CPU counter frequency. + + +* 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