Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1629027ybh; Tue, 14 Jul 2020 03:04:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxicHl4jSAGAGIbRSYWcRiuIeU2/bd0n39o2lQ8bLyM7yqjKnmeMTgq7TtmDf6wjAVNx77a X-Received: by 2002:a05:6402:3058:: with SMTP id bu24mr3637181edb.242.1594721095774; Tue, 14 Jul 2020 03:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594721095; cv=none; d=google.com; s=arc-20160816; b=SnV6w0kpWLZ0F0DBbJSCMUNgtz2m3DrE8kWpN86d3a6SojAESmapYdQYealGLC4FDR J0uL4T1wWQ0mxWksdygbaFibPBgWJgZy8nXMjxyBAX98iGsVnrVxIyUJ5ZgSLRTdja3h mXZoCkN7kYy5tWJjl/aqpHthPluoz5rRx0UnFEJRwXE1QrojQUD0gY4gZ97p5x55Hr6n k85Ub4DIv2mU4SjdryPN0npT9s46PZJgxkiV4in1Jlb/DRF8wfOsgIRekOZNcfOn2SIV DySW/4TJpg18iNZ4ILIZ2Wo7t19M/BbtOwVCEEFJdPwIDsMrsh94aRAWTKyUyGoALqAn VUCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MKp4hLtxETvkv2CWahEKcfbp1IqsM/1I1uhcW5o/wdY=; b=mJ2BWbWUh8gHw0p9SXbquHQO4Z00BHhoPEW6kCQ1yyOeZEauXkCZcCuwSefdTirBVv lfDR3YarEI1nBvgm29nfJa/7LwJ14mlEwXGoPz8tOhjQE5wWEzXEHE5ZlbW89/0b2iWm W0fqLq5Igct53QP5n5wK70K3BU5TQh++Fig6SlTW2ilO8kQeWQQYOViBAXcOGAZgdxfn ZqLDteYH29zvIc24+5EEVnYqZYJJnHArA+VlvxD+MxlbBZJalDJiTKdO20FfZ8Ov0HBW MUz3T1+aR3ny0LIkK0gJuO1sUi/7+iY2/fflO/5PH1/hs0K6e07Lduks4iH2LIWmaB0H Mliw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PWuXG4b4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j22si11553069eds.273.2020.07.14.03.04.31; Tue, 14 Jul 2020 03:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PWuXG4b4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727032AbgGNKDe (ORCPT + 99 others); Tue, 14 Jul 2020 06:03:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725906AbgGNKDd (ORCPT ); Tue, 14 Jul 2020 06:03:33 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AC7CC061755; Tue, 14 Jul 2020 03:03:33 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id e22so16407362edq.8; Tue, 14 Jul 2020 03:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MKp4hLtxETvkv2CWahEKcfbp1IqsM/1I1uhcW5o/wdY=; b=PWuXG4b4cpqYFf2T4pSBWibdehnMvZPSt8U8it8Y5Vr8G4jATwgScAO7URB+xYsDIk ko9j8deE86NN89zX1NpP0ZD8NnsgJ0aEsk4cQyxlHIy8LnqMWPhINDEoCUH+Djt7fk/y q304ihm+M83eb/bwQu6b+Toz8dSHDcE0hrBPElnsKJmwQ/199siBC15iLpr7S6Mdo26K vdr863REyILYzvb0IRSz4DmkuUysNw/HjI1lpJ9FWPSxQUoSsDOCsqrIO/oIhPu2wevy DXrW7iyxD/djeMfYG+35wUH6epFRuZ2OkKCh2tIw8JBTqudzg5N70NnfjZTINxnOUN9i HZEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MKp4hLtxETvkv2CWahEKcfbp1IqsM/1I1uhcW5o/wdY=; b=PGluHX4elZ+dcwPspx60tBqVbXgy86oSlzCTXYv3j6X3c/EisdII8vTZzw4GOYaGNd BQpeqiPE2nCq9IZYPkwlr7KhTWRlbLh8oqGhZnLLmq7womYf8PWPU7IUuN0D2VY8JPQS h5eL+Gvo4kt6naDYSBA+Y/9sWfsfOS1p68uq4IezbmNJWsCMCxLJxrEIAYuBjCx99HqK tLkkPLkhGEL2lLlA0ZlexzLm20HnP0YkjvS6Jker7DoYj6CnFgAjQO7+nUYXM9MmHLK+ Y0267C1yYAJ2jZpNYKanHN5qyCWVTRT9C0ULXRnjb4kzzIG6wrF4nL7HdbnOeJS01sU6 BwZw== X-Gm-Message-State: AOAM532UEIib8a1rzLgnGuHW/PaeGVwFKjx3a2f6p//aWmm2WuXlKkIB URgMHG0IaCY/XIJ43Dlx7WW4aZG/bzw+9e8tRUE= X-Received: by 2002:a50:d55b:: with SMTP id f27mr3747046edj.312.1594721012001; Tue, 14 Jul 2020 03:03:32 -0700 (PDT) MIME-Version: 1.0 References: <20200629114927.17379-1-bruno.thomsen@gmail.com> <20200629114927.17379-2-bruno.thomsen@gmail.com> <20200713025246.GY21277@dragon> In-Reply-To: <20200713025246.GY21277@dragon> From: Bruno Thomsen Date: Tue, 14 Jul 2020 12:03:16 +0200 Message-ID: Subject: Re: [PATCH 2/3] ARM: dts: imx7: add support for kamstrup flex concentrator To: Shawn Guo Cc: open list , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rob Herring , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Bruno Thomsen , Mauro Carvalho Chehab Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Den man. 13. jul. 2020 kl. 04.52 skrev Shawn Guo : > > On Mon, Jun 29, 2020 at 01:49:26PM +0200, Bruno Thomsen wrote: > > +&fec1 { > > + pinctrl-names = "default"; > > + pinctrl-0 = <&pinctrl_enet1>; > > + phy-mode = "rmii"; > > + phy-reset-gpios = <&gpio7 15 GPIO_ACTIVE_LOW>; > > + phy-reset-duration = <100>; > > + phy-reset-post-delay = <1000>; > > These properties are deprecated. Thanks for review Shawn. I have not yet been successful in converting the deprecated properties to generic phy properties, so hoping I could get a hit. Kernel error messages: mdio_bus 30be0000.ethernet-1: MDIO device at address 1 is missing. fec 30be0000.ethernet eth0: Unable to connect to phy Updated device tree section: &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet1>; phy-mode = "rmii"; phy-handle = <ðphy>; status = "okay"; mdio { #address-cells = <1>; #size-cells = <0>; ethphy: ethernet-phy@1 { /* Micrel KSZ8051RNLV */ compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; max-speed = <100>; reset-assert-us = <100000>; reset-deassert-us = <1000000>; reset-gpios = <&gpio7 15 GPIO_ACTIVE_LOW>; }; }; }; /Bruno > > + phy-handle = <ðphy>; > > + status = "okay"; > > + > > + mdio { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + ethphy: ethernet-phy@1 { > > + /* Micrel KSZ8051RNLV */ > > + compatible = "ethernet-phy-ieee802.3-c22"; > > + reg = <1>; > > + }; > > + }; > > +};