Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2840914pxb; Tue, 24 Aug 2021 08:47:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8nBFBfKK135bxD1Q+35D3TUHUe9xwI4qvskijFaLaXe91HD7gHsDxb9jd40B8omSTcZdd X-Received: by 2002:a05:6638:3805:: with SMTP id i5mr32890496jav.72.1629820079563; Tue, 24 Aug 2021 08:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629820079; cv=none; d=google.com; s=arc-20160816; b=jpNBBLL/7x3vhpCt3K5i11axKXQDPsOUb/cprR+71NJ4sXa0Reh9BjMDmTj9gjV5dn dtQL6FpFWsfwcMRjkOUySVBigj1cx7ro0F/3v24Yuvh5OQmRVGb0B799fN/HqOyXkE2o jyS7RuXNSzRbF3q0BIYnBppE3ZHoboWAbI24mRBOvYDsiZg6yQvAHV91mU9Qg3jvCvms DG1rMcx8dHTcx11WNpG8fzd3VrdjesJyK2xZsfEHdF00aKAUS9Z6rrK+O4ELIDKvSb0t GBZx5w+b7ed621xsj0Ww+cNewafQjVbRLKD0izkWREH0VcBtx8BgGu2d3xrwtG7E92Wq 116Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=msURh4HPk6Cq1BimDbNhMMucXYT7U0Vcy0Sq2atJrx0=; b=TBAMl8fQJSxyvK4gARp6Ics5Cl8E06XE9G85CUl1rnWrtubcj18XiAexYDIwve08UN Lf7vuCf5AjNIO1wxLkM39o1UcuFt6I52h5tW01m1tKbC+gNuIJgwmbvX3ky5QMK3aq6x BPc/y3qwo2fLfLJ98mtng499oE1xTVsxrggwN4Sy+p73B99OOG0CFgNd0CnX3Mn6Jgrk lccBtlBtt/z2AUfVeFL4zcrbOjel7bMIwxC+JjjdVN1k3DH1fcUPiB4G0APxYqPqtE0K n0Z0WglyAKYFuXGURio464MwS+08A9bo45+tk7hf52oxzaYNNtyALmJEFHJPFbyVrbmS Yf6w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s2si17846619ilv.0.2021.08.24.08.47.46; Tue, 24 Aug 2021 08:47:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238449AbhHXPrB (ORCPT + 99 others); Tue, 24 Aug 2021 11:47:01 -0400 Received: from mail-ua1-f47.google.com ([209.85.222.47]:39705 "EHLO mail-ua1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238457AbhHXPq7 (ORCPT ); Tue, 24 Aug 2021 11:46:59 -0400 Received: by mail-ua1-f47.google.com with SMTP id a4so11862305uae.6 for ; Tue, 24 Aug 2021 08:46:14 -0700 (PDT) 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=msURh4HPk6Cq1BimDbNhMMucXYT7U0Vcy0Sq2atJrx0=; b=YsGe+8tOqq4BXMRPgUsvJYXfkS0T8oZHZPNYzsniDc7GPvdhPNwO9HhWoimy2PwMn1 HSf/sJfU6IhOIEAL4BKfKDD9FuFvl1jd3AIHewEm7mS7oLwlTWc3fCdLE72+y2f/Vn77 pRdqisZkK5qf33K2TIilrIsPveqWNo/wtb/QoPr4IhH5YL80ZBqhzmoNWjv/8cIpjzwp kxMuyR3BHQnSytdnu2yfE/3GmJby1RsNsFTDtEJ8JGkoLEzI0hrStPwnEScaFEDpj8bb BDS/O5ZXo/2bq9Bp+b4FICjCzJ4tKIShvwbyLeugvMrXR/dkwshRG3tQdF9wgVhzUM0T E+6Q== X-Gm-Message-State: AOAM533OCvBm0FMKc4f1PeMEzcIDOR9SkDgxYUu1uNCv+zl3eW8s+tcQ OkhYDQsK42MSserQvuahEjx+MRKpyyosM2CRxtP2hbWOI9M= X-Received: by 2002:ab0:545:: with SMTP id 63mr26240042uax.122.1629819974316; Tue, 24 Aug 2021 08:46:14 -0700 (PDT) MIME-Version: 1.0 References: <20210804123015.807929-1-bmeng.cn@gmail.com> <20210804123015.807929-2-bmeng.cn@gmail.com> In-Reply-To: <20210804123015.807929-2-bmeng.cn@gmail.com> From: Geert Uytterhoeven Date: Tue, 24 Aug 2021 17:46:03 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] riscv: dts: microchip: Add ethernet0 to the aliases node To: Bin Meng Cc: Palmer Dabbelt , Conor Dooley , Atish Patra , Linux Kernel Mailing List , linux-riscv , Bin Meng Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bin, On Wed, Aug 4, 2021 at 2:30 PM Bin Meng wrote: > From: Bin Meng > > U-Boot expects this alias to be in place in order to fix up the mac > address of the ethernet node. > > Note on the Icicle Kit board, currently only emac1 is enabled so it > becomes the 'ethernet0'. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - move the aliases node to board dts Thanks for the update! > --- a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts > +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts > @@ -14,6 +14,10 @@ / { > model = "Microchip PolarFire-SoC Icicle Kit"; > compatible = "microchip,mpfs-icicle-kit"; > > + aliases { > + ethernet0 = &emac1; > + }; > + > chosen { > stdout-path = &serial0; > }; Reviewed-by: Geert Uytterhoeven BTW, is Ethernet working in Linux for you? IP-Config is always timing out for me. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds