Received: by 10.213.65.68 with SMTP id h4csp588108imn; Fri, 6 Apr 2018 05:48:19 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Hti9nCX6Y8lqg0sHOj+Iq8B7fZCHH/ZnYHtf+vEe4ePFOF+yAg0zMNm8v3r4OgLe+KMCb X-Received: by 10.99.168.13 with SMTP id o13mr17725911pgf.198.1523018899842; Fri, 06 Apr 2018 05:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523018899; cv=none; d=google.com; s=arc-20160816; b=lYcf1C17TBsjmdR0l4b0SkzOr5F/7tXeOJ7x0Gklv9d58SMyrmzaDz3XoEHml9X4ke s98Fi3YtwpueoguUUC24e5cISz1fMiA203+2pYRwvp5XuIjtCIW062JQZz3TIquKRtdk 7TgFozHWmgeWfqBZWRI504G9W5mRfQUa0395eTr4rhfYfMitP5GfYPtndAnpCmjwcPJi kNzU/MmOi2gNKp6oyl7Dg3MLknJwU4SCkkIbmfmEs+PvVJirNkh+8CAgANTUIjz0quY4 eYWosgXQRxNC2xFrvMmG+T1y0KkdIlIi3AYXuGUM4eesND84pZ2+rxcmSU0CJRUU9hfb 5uPA== 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:dkim-signature:arc-authentication-results; bh=+63H1hQNxXy8xly/7iALXAQ87ERfx6LOmluFeIcCZ7c=; b=c1M8N5uHeMZos89oLejapdaSQ8pQ7MC7M5kiVtAwj4hk2UVARvweo9q0esxnlPUBoR GBnjXrafqW+U2uZOjgcAXb/8B834vdwd0Q3AAWCIKmEfAYwuoFZ1lqGPgeF9UtWBp7Hx 7rZDZWvUUafvM4cBTiysOYjhTlH+7OoK+tUiEFaznY2bc4tKQjzcrieylF1tgZTDwRNX NMmVTzFEJJELzHSUie0nqwBKHPCh3ShCT3d5SGM6ScLMDx4KC++6UywXU/rxrdXtlihQ 7CARURctEwLkc1bjBdAy8dznpb55UeWSZ8+XbvFNQPFOszJi31tvJpIUJOc38zNggCIF jiBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ALWXcKU0; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si4554111pgp.373.2018.04.06.05.48.05; Fri, 06 Apr 2018 05:48:19 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ALWXcKU0; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752701AbeDFMqv (ORCPT + 99 others); Fri, 6 Apr 2018 08:46:51 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:39726 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752187AbeDFMqr (ORCPT ); Fri, 6 Apr 2018 08:46:47 -0400 Received: by mail-lf0-f68.google.com with SMTP id p142-v6so370809lfd.6; Fri, 06 Apr 2018 05:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=+63H1hQNxXy8xly/7iALXAQ87ERfx6LOmluFeIcCZ7c=; b=ALWXcKU07KJwmfiKf8FkZxwpeejZkLfoFNWg+grxTam0NyYh3jJOJi0trfKTBMmR1u Qo4Yzpp2/U5H8gGoiuyg97KNR+IMLgWVCbm5qnESZ+I5zVH1DW9Y3YilL9L+9NbPDrz/ A39mRuyG2SZ5aGNAuScjHHfF+XdIos23GUgqmo5mgzKWVujsZTCq6sJIO+9NvQlRGAcu sVjyd2JpTyL1dDwbguLNjguRg9YabLbJaaVTUdwQc7/AUyM1X/h2sKU6AkIN5dZEM2Z9 AIxcuobXexfVQH0es8kFOZYB48VhywQ23WR6wjI5nqbaKDyBezyo0+Ju8NInHUGb5k/H fwTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=+63H1hQNxXy8xly/7iALXAQ87ERfx6LOmluFeIcCZ7c=; b=I/U+DSvWK7lNcaoF2PLb7eEynU/TbgiQ6+83VcSgQUxS9f0I3MxvfZzn5hipZabhAB uNWk1jW5SYOtUi2LFR+CJHjUGCeVsSG3WRnnKa+H9ydeQttZR8QbwRTvrqGRZD8E3Svm d0PNc8SdyMopNV2P1S8a1tWnYFV8Ze7VM1dJoA9kZjfITnbbsL+Jg6yQsYwQd+usybOh L8Rcm7j3TsCY41CBFuhLjX5nbcVmreU7+swPWaItEfLSECrtGOq7LTTKQAymAm+gaaXK JUYQrRrDb5pO8wzJ5500F9O3hue+SfF52ImjoBC/IMR5ABJrDQAlXONhMOZu96e7NXDT JcFQ== X-Gm-Message-State: ALQs6tDIkOVG92k7X5A7TOYPf34ThNTWLEyrOLw286Hesg1Dpb9BhGmY 3gnXn2/v7h8KPh+GzgeNMo/2Fs01VM8= X-Received: by 2002:a19:381c:: with SMTP id f28-v6mr15759564lfa.15.1523018805255; Fri, 06 Apr 2018 05:46:45 -0700 (PDT) Received: from localhost ([87.54.42.112]) by smtp.gmail.com with ESMTPSA id k9sm1768411lji.17.2018.04.06.05.46.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Apr 2018 05:46:44 -0700 (PDT) From: Esben Haabendal To: netdev@vger.kernel.org Cc: Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Claudiu Manoil , "David S . Miller" , "Gustavo A . R . Silva" , Esben Haabendal Subject: [PATCH] ARM: dts: ls1021a: Specify TBIPA register address Date: Fri, 6 Apr 2018 14:46:35 +0200 Message-Id: <20180406124635.12319-1-esben.haabendal@gmail.com> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180406123836.12019-2-esben.haabendal@gmail.com> References: <20180406123836.12019-2-esben.haabendal@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Esben Haabendal The current (mildly evil) fsl_pq_mdio code uses an undocumented shadow of the TBIPA register on LS1021A, which happens to be read-only. Changing TBI PHY address therefore does not work on LS1021A. The real (and documented) address of the TBIPA registere lies in the eTSEC block and not in MDIO/MII, which is read/write, so using that fixes the problem. Signed-off-by: Esben Haabendal --- arch/arm/boot/dts/ls1021a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index c31dad98f989..728e206009ea 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -587,7 +587,8 @@ device_type = "mdio"; #address-cells = <1>; #size-cells = <0>; - reg = <0x0 0x2d24000 0x0 0x4000>; + reg = <0x0 0x2d24000 0x0 0x4000>, + <0x0 0x2d10030 0x0 0x4>; }; ptp_clock@2d10e00 { -- 2.16.3