Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp732920imm; Wed, 25 Jul 2018 05:23:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcyCPLMf5oZRkLlBAzUHDvwLKG7F7tx/4LY6UeMHLVZQ0LyvP5y1oOVFbXJTYy8FKpYr3ax X-Received: by 2002:a17:902:9a8a:: with SMTP id w10-v6mr19853799plp.14.1532521405874; Wed, 25 Jul 2018 05:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532521405; cv=none; d=google.com; s=arc-20160816; b=RmNWIxz9IlPlzITTAK9U6JlVr5mQ+qF0J6/itek6CEXeGX0ri93gSEL9dI0T8cNuU+ CNpgN9SI7gkD5qDPWOMvhwl5lyt/EETw+c4vZmYQotFLpkXVz8aZWyMYb+4BDKDgjrWK 0c/DoDIw5YdfjNtD5wA7zoi/7M70gw8z5aQrOrkmPl6Z8/qNTd6ULrgIQtbwcdi8/l5E isNwTJzvh+l541vl68R+7E6LWHgQvh5kAlIVACEhJ3XKjirbXiES4ArW5dEFf9+yHkBi 5uzC0FBvHV0mo6cg+ttR78FyNsV4heHJynKsHJGT/8ICeFoQJ0bGnDHK3VwmY66vxYIM FYsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=7mvOrVBSipbRBC/uItz1uUC6kHR5V0AK3kTgX9MBTbs=; b=sGGY9gKAH2LoidoWJXEwH2VylhAoFo+HnSntauzZFUoXY9D70TFWV2QWgzrhixYshi DxVjCyI80B1OTWZCyhXNcybTAI3MVYgWGqy2BYXSaTiO+qR1I5w4xSifd4UnD4ER8lmo JIUIrMn7mTL+7/L9Zf9wn7yqcuLwAx6KFIQZHTVYPLXixuXxnu6rvkizZeF9j611cAbe GYx4rDnuKuTeSFqRJ3DWxa5xpl8RKT49/hK3pF2Owr9+2zxkl8m/gYFSF1I8zFk5iYs+ WknfD2NTA815IFdNANbZcIcoX9QLiOWtUG5EtiU9C50y/Dov2TfUKPtvCPi1R0I1jX45 Nnpg== 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 w188-v6si15051613pfw.307.2018.07.25.05.23.10; Wed, 25 Jul 2018 05:23:25 -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 S1729013AbeGYNdl (ORCPT + 99 others); Wed, 25 Jul 2018 09:33:41 -0400 Received: from mail.bootlin.com ([62.4.15.54]:33452 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728757AbeGYNdk (ORCPT ); Wed, 25 Jul 2018 09:33:40 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 5AD14207A8; Wed, 25 Jul 2018 14:22:12 +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, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (unknown [80.255.6.130]) by mail.bootlin.com (Postfix) with ESMTPSA id C35612072F; Wed, 25 Jul 2018 14:22:11 +0200 (CEST) From: Quentin Schulz To: alexandre.belloni@bootlin.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, linux-mips@linux-mips.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Quentin Schulz Subject: [PATCH] MIPS: mscc: ocelot: fix length of memory address space for MIIM Date: Wed, 25 Jul 2018 14:21:32 +0200 Message-Id: <20180725122132.31187-1-quentin.schulz@bootlin.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The length of memory address space for MIIM0 is from 0x7107009c to 0x710700bf included which is 36 bytes long in decimal, or 0x24 bytes in hexadecimal and not 0x36. Fixes: 49b031690abe ("MIPS: mscc: Add switch to ocelot") Signed-off-by: Quentin Schulz --- arch/mips/boot/dts/mscc/ocelot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi index 4f33dbc67348..7096915f26e0 100644 --- a/arch/mips/boot/dts/mscc/ocelot.dtsi +++ b/arch/mips/boot/dts/mscc/ocelot.dtsi @@ -184,7 +184,7 @@ #address-cells = <1>; #size-cells = <0>; compatible = "mscc,ocelot-miim"; - reg = <0x107009c 0x36>, <0x10700f0 0x8>; + reg = <0x107009c 0x24>, <0x10700f0 0x8>; interrupts = <14>; status = "disabled"; -- 2.14.1