Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp321537ybv; Sat, 22 Feb 2020 04:26:11 -0800 (PST) X-Google-Smtp-Source: APXvYqzt3WUB1A31UTtPk7d5X8D7ceDK8FOVT+CL+ci0pdeO7hKOLkHYmCXd15/S+BpqbzQEGBDX X-Received: by 2002:a05:6808:8cd:: with SMTP id k13mr6126820oij.4.1582374371198; Sat, 22 Feb 2020 04:26:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582374371; cv=none; d=google.com; s=arc-20160816; b=Wm2wpmmUe6ze0QZIsX09UObOP1Rek39utRKd3+Fl59A93hTD1o+6K0t0mwZhcl9WPd RR4wGTaEokBYuZWH9x4DcvidZGcE5ccNzrmDjo2kXXc6uo4tlT8EP/xHvNxGMFNcjMRW LhMyVDO39lTDz1DfUo1/+k2DLchhhRHpI89wWR4Hncp9NKkvYV13TEfF+1oeS8NoJVKO 3mOMC+55a3u0bEiWHQWOSXhzjEixFpjDJjHMgotWS7ldEf/YRzcScaW1vz0w7LTihHSp wLi8IVYuNjro9mEfhkygBLlfQHy1/qfwi0QU2oVkdqispzZfPPADrpdgWBUtdn8AWgLh UxnQ== 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=/Y50RHD2QGihstG7fjd8c2NdZnfKYGCwsRvJsD3a51U=; b=B+F1laKIN07LxnYX68wEMrex9EuXmdx8M2agHHUCvSsNkMlrcalh2VuolSLxdTfZvr xJbhFb9T2eECdDz7qJv1/H0D4+HhROiowCNLZkEh/vDrhuGp6b1CmqO6/m2UzYOoCYQt IoHdhBYRgzoh5v/v1cYRcpsMj6XwTJCUv1pIh7DWCmhZUAiTYkGov9gfRTUL68GcoH4U FBgEMzKMz11AEjSxLaDSLGEJdfnQ2DIh9Zu0vohFpO2mTW2Rr7U1BC7gwOUPxxI2E5VD 8QaMa7VjdEm3bCsWFlF+C4Itn/81e9CqgkR6zfpuYyluSRTLcRRt29VRYKum3QXQIeuX NfCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NhTbOsAt; 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=pass (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 q66si2235014oig.65.2020.02.22.04.25.55; Sat, 22 Feb 2020 04:26:11 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NhTbOsAt; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727266AbgBVMZu (ORCPT + 99 others); Sat, 22 Feb 2020 07:25:50 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:35841 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726763AbgBVMZu (ORCPT ); Sat, 22 Feb 2020 07:25:50 -0500 Received: by mail-ed1-f67.google.com with SMTP id j17so5903038edp.3; Sat, 22 Feb 2020 04:25:47 -0800 (PST) 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=/Y50RHD2QGihstG7fjd8c2NdZnfKYGCwsRvJsD3a51U=; b=NhTbOsAtlr89Xk/roSZUnzFyZi5buN3T9l38N0HrufP0cibwbgBJAtd3Y6AwlCm2H4 RhzUVdn6aK6roKwiZuRD6a6mQ6b6K7MdCI3UGhk/0trmFnf9vnNzDjFhTo2wsFgy1l8x yujA86FhM08935s665nOaSZB5pgb3+HjNlnPQyCseTvVPOldvQgQmuxY0/C4syo+Qlmw SvpcKC832vgrQLLbEHYpP7qUChKzkzBlizGq9uAQonHYQCdyulva0IyA/SOW51d01veR /KRKZxsBRRM9cfuODq3hZH+O3r/UI/1dSDADAkxc7imMvh9rjJ1GMoca0tHYb+y4k7kP 19ZA== 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=/Y50RHD2QGihstG7fjd8c2NdZnfKYGCwsRvJsD3a51U=; b=n5NMSLPTHvhAAWTobjpYP5hVN/T5s909xLXuJc/dBfXB4+8t6orAobukmh0waxn1N3 QjxBhr72KzC/5pc5knNWT4fxHkR/HBNsjLVpoytRdwfp90/k0O0wdOUxFj53zhjjQHAM s6dUydgVCzyo2i9t6HZvxIZmvqkRX+tBWjWIh/IV19ekQJDPOv7rEai4IN7b6iNI3Qp3 XeM9I06pQOmf1p2JQKthk/lN7nT3aoPuif7K7/tJUm9izRXUsHxtsC8BpUy0Yhtu+0+W 50Munqyh/62Ejb/T+JDApdL0yqB4+Xe5cNMI2nN0DVVz1k5fi4XhH9pNHlgYa3mZvlOR vDCw== X-Gm-Message-State: APjAAAWpGSDD9r6qGy7Hp/l1stZn0beV4BsCa3EyWq80TxGQ8DgN5r0/ e6yByTbAaVCvnn1ew1ZLleYBwwFvUUWu/Vki9ms= X-Received: by 2002:a05:6402:3132:: with SMTP id dd18mr38997644edb.118.1582374346881; Sat, 22 Feb 2020 04:25:46 -0800 (PST) MIME-Version: 1.0 References: <20200219151259.14273-5-olteanv@gmail.com> <20200222113829.32431-1-michael@walle.cc> In-Reply-To: <20200222113829.32431-1-michael@walle.cc> From: Vladimir Oltean Date: Sat, 22 Feb 2020 14:25:36 +0200 Message-ID: Subject: Re: [PATCH v2 net-next/devicetree 4/5] arm64: dts: fsl: ls1028a: add node for Felix switch To: Michael Walle Cc: Andrew Lunn , "David S. Miller" , devicetree@vger.kernel.org, Florian Fainelli , lkml , Mark Rutland , netdev , Rob Herring , Shawn Guo , Vivien Didelot 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 Hi Michael, On Sat, 22 Feb 2020 at 13:38, Michael Walle wrote: > > Hi, > > > + > > + enetc_port2: ethernet@0,2 { > > + compatible = "fsl,enetc"; > > + reg = <0x000200 0 0 0 0>; > > + phy-mode = "gmii"; > Can we disable this port by default in this dtsi? As mentioned in the other > mail, I'd prefer to have all ports disabled because it doesn't make sense > to have this port while having all the external ports disabled. > Ok. What would you want to happen with the "ethernet" property? Do you want the board dts to set that too? > > + /* Internal port with DSA tagging */ > > + mscc_felix_port4: port@4 { > > + reg = <4>; > > + phy-mode = "internal"; > > + ethernet = <&enetc_port2>; > Likewise, I'd prefer to have this disabled. > Ok. > > + enetc_port3: ethernet@0,6 { > > + compatible = "fsl,enetc"; > > + reg = <0x000600 0 0 0 0>; > > + status = "disabled"; > > + phy-mode = "gmii"; > shouldn't the status be after the phy-mode property? Why? > > -michael > Regards, -Vladimir