Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1519490imm; Mon, 3 Sep 2018 02:35:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ1WbbvMUiYGUibGtoUGbbrSV+vgaTKnzZt8NU73dUNeC2o0/atkWC1JSTV8ZrgaSrMdbsZ X-Received: by 2002:a63:3f45:: with SMTP id m66-v6mr25506110pga.51.1535967308417; Mon, 03 Sep 2018 02:35:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535967308; cv=none; d=google.com; s=arc-20160816; b=u/qnLqHfDQ7yu9ZbxUwT5tI6VBjhhAMKM1ySOj6arHeosUsE+BdJHCnXfxbMWD1ofp orcJphnRi2X9iFYaxJp0/C9RwjhvEA+LXlTN+hqzsn95+aCXDQxaroNvA4cOrX8Wq0ug JJfHiEMAQE3FbS9s4w4MpcL69cSXxvnYeKlLGtHgOo2JIbJ4af4eJW7eh5YbAf05uswV 3vdYxAGMSno2JvrRtm9ByEeqfaIuzPQroplRi8NI7xu2/6eDEc5rL1V918ri07G4CRV7 ZbKgT/LoZtNFs2T0NphXhRSMSVsbm+/ABLXSInExbpkyHw0DkebJqNf31TDrDuuMAMX8 mhUw== 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=PmL4cKauqDEoOtwycwUTHHp6HwoIhqewKSle+ZPOnv8=; b=dYK1h8FkOUU5j6AncMICdeNOxv/Pcez5/3j1680qzX5JvZHbu/HTY1zUdJfaqqan5J OVgOEtr6c1U0JnhzmNk2ZvgVt0Vj7jc9x3yI5Q1UMDKT+tW0+ayodYpyEiMpTTKy/PR7 0XZ1b3qYVpPGSh1aQeivWFaqmnHsGqoakmyLdHkzArEQ/qqtBjnl3HIRvtIjVfdo/A4j n13LNeR2ta0lPz1d3iP+FA6jMOeNiiQG2ecEltzURU1fc43MWehIeXGZryM2cY3L58xF 8j8o1fs0+TWoVa2Q3bH1hvw2oLf6WDyB3GFjCAZgDLiIJr+AundHwr3hWBkBpfUM9npD Bosw== 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 x37-v6si18357909pgl.544.2018.09.03.02.34.53; Mon, 03 Sep 2018 02:35:08 -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 S1727505AbeICNwx (ORCPT + 99 others); Mon, 3 Sep 2018 09:52:53 -0400 Received: from mail.bootlin.com ([62.4.15.54]:54503 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727434AbeICNwx (ORCPT ); Mon, 3 Sep 2018 09:52:53 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 4D95822A4D; Mon, 3 Sep 2018 11:33:34 +0200 (CEST) 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.localdomain (AAubervilliers-681-1-92-107.w90-88.abo.wanadoo.fr [90.88.33.107]) by mail.bootlin.com (Postfix) with ESMTPSA id E5CAB22A3A; Mon, 3 Sep 2018 11:33:23 +0200 (CEST) From: Quentin Schulz To: alexandre.belloni@bootlin.com, ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, davem@davemloft.net, kishon@ti.com, andrew@lunn.ch, f.fainelli@gmail.com Cc: allan.nielsen@microchip.com, linux-mips@linux-mips.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, thomas.petazzoni@bootlin.com, Quentin Schulz Subject: [PATCH v2 01/11] MIPS: mscc: ocelot: make HSIO registers address range a syscon Date: Mon, 3 Sep 2018 11:32:58 +0200 Message-Id: <20180903093308.24366-2-quentin.schulz@bootlin.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180903093308.24366-1-quentin.schulz@bootlin.com> References: <20180903093308.24366-1-quentin.schulz@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HSIO contains registers for PLL5 configuration, SerDes/switch port muxing and a thermal sensor, hence we can't keep it in the switch DT node. Acked-by: Alexandre Belloni Signed-off-by: Quentin Schulz --- arch/mips/boot/dts/mscc/ocelot.dtsi | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi index f7eb612b46ba..149b1a7e7091 100644 --- a/arch/mips/boot/dts/mscc/ocelot.dtsi +++ b/arch/mips/boot/dts/mscc/ocelot.dtsi @@ -107,7 +107,6 @@ reg = <0x1010000 0x10000>, <0x1030000 0x10000>, <0x1080000 0x100>, - <0x10d0000 0x10000>, <0x11e0000 0x100>, <0x11f0000 0x100>, <0x1200000 0x100>, @@ -121,10 +120,10 @@ <0x1280000 0x100>, <0x1800000 0x80000>, <0x1880000 0x10000>; - reg-names = "sys", "rew", "qs", "hsio", "port0", - "port1", "port2", "port3", "port4", "port5", - "port6", "port7", "port8", "port9", "port10", - "qsys", "ana"; + reg-names = "sys", "rew", "qs", "port0", "port1", + "port2", "port3", "port4", "port5", "port6", + "port7", "port8", "port9", "port10", "qsys", + "ana"; interrupts = <21 22>; interrupt-names = "xtr", "inj"; @@ -231,5 +230,10 @@ pinctrl-0 = <&miim1>; status = "disabled"; }; + + hsio: syscon@10d0000 { + compatible = "mscc,ocelot-hsio", "syscon", "simple-mfd"; + reg = <0x10d0000 0x10000>; + }; }; }; -- 2.17.1