From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05C6AC4727C for ; Thu, 1 Oct 2020 07:22:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C009021481 for ; Thu, 1 Oct 2020 07:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601536961; bh=IXuTFuC7rQ4Qor2zSW00GnxfS7g4NnI+wtcVUAuvIJQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=0Xs2aAG8pQHNuvpNltykCS6Tbus6DNTVLW13Mqo4Rc9V0rLQ5nOfzPYknEcb38ma8 a9rov20biibS47nk1ULpAycXHAeHv5Sn9e2RKzK1oft62nUNcWi7c87+kd1RpiTfTL TYaAJDItDDF47cMYkV6ZqMLtFn9qMU4ateI8N6Rk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731045AbgJAHWl convert rfc822-to-8bit (ORCPT ); Thu, 1 Oct 2020 03:22:41 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:40551 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725883AbgJAHWl (ORCPT ); Thu, 1 Oct 2020 03:22:41 -0400 Received: by mail-ed1-f67.google.com with SMTP id t16so4528769edw.7; Thu, 01 Oct 2020 00:22:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=fwr1GeVaFEp1uM5sVnPT1yQbyvQmB6fV3m98V7FTLsE=; b=HlqT77hLOhdW7BqyeFS7+kf6Nm/XJ7DIwzXYMT/FP7ZXosS4WrUF3cjc5RImcQfeq6 ukgQ41cklCvn7SsvrGLuLnIuZnk+/TEfDGNBgjA2UaLoLDZebRcxRc7jXIMFZB7a/EeV 9gHsQc7hhI5dC8aYBAkJFpboOvV/pTwRYUzGYjtE8yTC5hQDx+0VWr5S44gJaOfaRQa9 g2Xh1OJ5R8yRYXh0j5pkV+lYhm+jOqtPmJARIFc708a+oRNxaJVXUfr0naLo0Pn7sZUH kL7uJhRErWPffAKA3QUIEYjLArpa5hRI+UlhjquBCdZ0McfTsGNqkZlZb3S6Btu5GhnL 8waA== X-Gm-Message-State: AOAM5321M2qcwc+NuWAo0VCWX5deNi0uzt81Oa/kvWuQ/dX0lmTKk/px 65aYfOZP4Co5yrMifwhaL7cTm+wdRKo= X-Google-Smtp-Source: ABdhPJyursdQ3jc4/q0hvBhAH8cOPenfHB/GW7XJSvMFDQANFlI7O7t0Exapy9HiBOqu25ycbqhjvw== X-Received: by 2002:aa7:ce15:: with SMTP id d21mr6744623edv.284.1601536959051; Thu, 01 Oct 2020 00:22:39 -0700 (PDT) Received: from kozik-lap ([194.230.155.194]) by smtp.googlemail.com with ESMTPSA id v25sm3367079edr.29.2020.10.01.00.22.37 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Oct 2020 00:22:38 -0700 (PDT) Date: Thu, 1 Oct 2020 09:22:36 +0200 From: Krzysztof Kozlowski To: =?utf-8?Q?=C5=81ukasz?= Stelmach Cc: Rob Herring , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com Subject: Re: [PATCH] ARM: dts: exynos: Add a placeholder for a MAC address Message-ID: <20201001072236.GA4815@kozik-lap> References: <20200930143151.23961-1-l.stelmach@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20200930143151.23961-1-l.stelmach@samsung.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Sep 30, 2020 at 04:31:51PM +0200, Łukasz Stelmach wrote: > Add a placeholder for a MAC address. A bootloader may fill it > to set the MAC address and override EEPROM settings. > > Signed-off-by: Łukasz Stelmach > --- > arch/arm/boot/dts/exynos5422-odroidxu3.dts | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts > index db0bc17a667b..9f7f3eacb750 100644 > --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts > +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts > @@ -70,3 +70,21 @@ &pwm { > &usbdrd_dwc3_1 { > dr_mode = "peripheral"; > }; > + > +&usbhost2 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + hub@1 { > + compatible = "usb8087,0024"; > + reg = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + ethernet: usbether@1 { > + compatible = "usb0c45,6310"; > + reg = <1>; > + mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */ Why do you need a placeholder? U-Boot can just append the address/property. Best regards, Krzysztof