Received: by 10.213.65.68 with SMTP id h4csp1106284imn; Sun, 18 Mar 2018 15:02:47 -0700 (PDT) X-Google-Smtp-Source: AG47ELs2hGOt4gJLfuA+QsHRXcola7VBcuTD6+OcrFGDaH4juCX/pQLN1DSITwaS2v/BESfhByZz X-Received: by 10.99.127.82 with SMTP id p18mr1826659pgn.188.1521410567006; Sun, 18 Mar 2018 15:02:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521410566; cv=none; d=google.com; s=arc-20160816; b=o0/Jxd2MnlwVMnHuUgwA6KWFOh5s/3GQiePvphTzbsDsTnED10hoaW4DjW1GC51FeT kYRPjk7pSYAE8+G/JavbDlsWCW3tKPUgINESzHzin2pT1e/3/oQnPmHoVFek8aMLyGxj E0qXHeSNnwgGQ8UNxP9GAeND7Wwtp7vorggXd2zstffguhrUzRqr1nmfU8XHQ2YnKgsy mckI50roBosvMLfRs0tDeyJPTW6OslPQwGjRDQhZdUrZOGucpz8H2gEFKNosuM6C4GdQ UdYgPT9mpX+rrkXDVZBGKUGRjcXW5dB2ZSFEJStRYoIyBhNhBCV0dKcymGziHFhNcoXr 55lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=7XF7sW+MTTtA6rlbi0QMCO+9Y5Ktk1HCDH9wRQEFXUU=; b=hgqq7Pc/qaqqovinrqVQEewe0sc6UFfmxogWtDGDMwYQxPkH9vEri8Pb6aC8vc0prk rX9eONPPXW5Z4YBFr+1GREPvPpqHVP1O0rXdppxjVRvGNGQ9QUA0f+axqiF1EInG1GiL /jEjew+gXCbdBsu91guEDUvgYPEpkNaUVcgZCWNl572plDbu7irA6dNm7pwvyorYZJcm W8ZqDTS59FeChK0GkXCE0lMdTfbrWqiRZcv/GUkqPPmSjrE0mOmt6t+ZDGfiXR81SP1D jd00X0u3WjgAZnQmx4u87gLWXg99cd5wah0AIwdXaeKUX1iwUT/TT1CuWbCLCaNLwhHD F2dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZUeXb9Kl; 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 i190si8587652pgc.42.2018.03.18.15.02.32; Sun, 18 Mar 2018 15:02:46 -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=pass header.i=@gmail.com header.s=20161025 header.b=ZUeXb9Kl; 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 S1754654AbeCRVyz (ORCPT + 99 others); Sun, 18 Mar 2018 17:54:55 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:44448 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754304AbeCRVyw (ORCPT ); Sun, 18 Mar 2018 17:54:52 -0400 Received: by mail-wr0-f196.google.com with SMTP id u46so2669264wrc.11; Sun, 18 Mar 2018 14:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7XF7sW+MTTtA6rlbi0QMCO+9Y5Ktk1HCDH9wRQEFXUU=; b=ZUeXb9KlWTaS1YJ66uWz48giQJX1BC8jYRHQKGceiI5jpC9RcuSkfX6CncoXdyn1sd SKeC/SPHXyh9xSP4yhplD+c7peNg9lIClUSe1eNDoxbVb1tPnNg9DnR6grHEeyg68oUq yvwYDWTp70YJ792FTxfWT9JfrjCP/+jiixxvQ8x7vcbDlIa8DgCS/jAA97lUI3dWI6Jj 4MJSf+uuVUGQD+PuosbBkirWJeZTDS1ZFwA4qaKJlOLg3xsrZma7P4zCC3xYEA+UoKkc 3sY9zSrUjVszBohGBWEAlKhjCRlW4hz98SQEA+lUUtAqMg8kN8CkPSRlgLGM38sleo8C SuwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7XF7sW+MTTtA6rlbi0QMCO+9Y5Ktk1HCDH9wRQEFXUU=; b=uat7mhXnk4WsJwM7K5lBIawXPTvd0eVW64l6hosvHy7PMqwSEm4WMjV9bpEl0Oyr3f SFSEIaWm9gz3Xh2z0ECs08yQTkjC12oMBedkMqofU36vMEvjGd4fP5sU3i/SRQAxST0N wp7WznXBB89cfK+ZJHJtNAGpMC2X4y1pNtrQkWPV66Fkelg01fZ227Irnl4LDmnecww9 2i+YAE3lonP/dR58Z6+sXk8fFuYNzwEX/651V9NakKCP4MNJeZGt3yG/mXAjfV2IU/Ex sT2ahL/5JXJTFOpxXIUfaQ7sSkZmNSy6Y2LnNmIla4lPxDQ3+x3g/+H78OgeoaXTGBAR 0nog== X-Gm-Message-State: AElRT7GIiHi4RBHTDKY2RWNZ8nThWENODHwXr0o1zkJitlIHmekM0yBq iQmnjiU6LRKLEO5XkIHjxc458GXF X-Received: by 10.223.130.107 with SMTP id 98mr7096637wrb.16.1521410090225; Sun, 18 Mar 2018 14:54:50 -0700 (PDT) Received: from ziggy.stardust ([93.176.145.166]) by smtp.gmail.com with ESMTPSA id n7sm13157796wrg.20.2018.03.18.14.54.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 14:54:49 -0700 (PDT) Subject: Re: [PATCH v1 12/19] arm: dts: mt7623: fix all Warnings (unit_address_vs_reg) To: sean.wang@mediatek.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <5cf5b140e45b8484eca780b53cc223ba8d1d768b.1519378872.git.sean.wang@mediatek.com> From: Matthias Brugger Message-ID: <0ff8d1ab-704a-1263-ec16-a9f3464b5798@gmail.com> Date: Sun, 18 Mar 2018 22:54:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <5cf5b140e45b8484eca780b53cc223ba8d1d768b.1519378872.git.sean.wang@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/23/2018 11:16 AM, sean.wang@mediatek.com wrote: > From: Sean Wang > > Fix below a lot of warnings that dtc complains so much > > Warning (unit_address_vs_reg): Node /oscillator@1 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /oscillator@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/cir@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/i2c@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/i2c@1 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/i2s@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/i2s@1 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/keys@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/leds@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/pwm@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/spi@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/uart@0 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/uart@1 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /pinctrl@10005000/uart@2 has a unit name, but no reg property > Warning (unit_address_vs_reg): Node /ethernet@1b100000/mdio-bus/switch@0/ports has a reg or ranges property, but no unit name > > Signed-off-by: Sean Wang > Cc: Rob Herring > Cc: Mark Rutland > Cc: devicetree@vger.kernel.org > --- > arch/arm/boot/dts/mt7623.dtsi | 4 ++-- > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 29 +++++++++++++-------------- > arch/arm/boot/dts/mt7623n-rfb.dtsi | 2 +- > 3 files changed, 17 insertions(+), 18 deletions(-) > > diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi > index 4b68448..bf9db44 100644 > --- a/arch/arm/boot/dts/mt7623.dtsi > +++ b/arch/arm/boot/dts/mt7623.dtsi > @@ -130,14 +130,14 @@ > #clock-cells = <0>; > }; > > - rtc32k: oscillator@1 { > + rtc32k: oscillator-1 { > compatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <32000>; > clock-output-names = "rtc32k"; > }; > > - clk26m: oscillator@0 { > + clk26m: oscillator-0 { > compatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <26000000>; > diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > index a6295ef..75e61c4 100644 > --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > @@ -158,7 +158,6 @@ > ports { > #address-cells = <1>; > #size-cells = <0>; > - reg = <0>; > > port@0 { > reg = <0>; > @@ -262,14 +261,14 @@ > }; > > &pio { > - cir_pins_a:cir@0 { > + cir_pins_a:cir-default { > pins-cir { > pinmux = ; > bias-disable; > }; > }; > > - i2c0_pins_a: i2c@0 { > + i2c0_pins_a: i2c0-default { > pins-i2c0 { > pinmux = , > ; > @@ -277,7 +276,7 @@ > }; > }; > > - i2c1_pins_a: i2c@1 { > + i2c1_pins_a: i2c1-default { > pin-i2c1 { > pinmux = , > ; > @@ -285,7 +284,7 @@ > }; > }; > > - i2s0_pins_a: i2s@0 { > + i2s0_pins_a: i2s0-default { > pin-i2s0 { > pinmux = , > , > @@ -297,7 +296,7 @@ > }; > }; > > - i2s1_pins_a: i2s@1 { > + i2s1_pins_b: i2s1-default { Why does this change from i2s1_pins_a to i2s1_pins_b? > pin-i2s1 { > pinmux = , > , > @@ -309,7 +308,7 @@ > }; > }; > > - key_pins_a: keys@0 { > + key_pins_a: keys-alt { > pins-keys { > pinmux = , > ; > @@ -317,7 +316,7 @@ > }; > }; > > - led_pins_a: leds@0 { > + led_pins_a: leds-alt { > pins-leds { > pinmux = , > , > @@ -428,15 +427,15 @@ > }; > }; > > - pcie_default: pcie_pin_default { > - pins_cmd_dat { > + pcie_default: pcie-pin-default { > + pins-cmd-dat { No pcie node present in upstream. Please rebase. Regards, Matthias > pinmux = , > ; > bias-disable; > }; > }; > > - pwm_pins_a: pwm@0 { > + pwm_pins_a: pwm-default { > pins-pwm { > pinmux = , > , > @@ -446,7 +445,7 @@ > }; > }; > > - spi0_pins_a: spi@0 { > + spi0_pins_a: spi0-default { > pins-spi { > pinmux = , > , > @@ -456,21 +455,21 @@ > }; > }; > > - uart0_pins_a: uart@0 { > + uart0_pins_a: uart0-default { > pins-dat { > pinmux = , > ; > }; > }; > > - uart1_pins_a: uart@1 { > + uart1_pins_a: uart1-default { > pins-dat { > pinmux = , > ; > }; > }; > > - uart2_pins_a: uart@2 { > + uart2_pins_a: uart2-default { > pins-dat { > pinmux = , > ; > diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi > index 256c5fd..128586d 100644 > --- a/arch/arm/boot/dts/mt7623n-rfb.dtsi > +++ b/arch/arm/boot/dts/mt7623n-rfb.dtsi > @@ -50,7 +50,7 @@ > reg = <0 0x80000000 0 0x40000000>; > }; > > - usb_p1_vbus: regulator@0 { > + usb_p1_vbus: regulator-5v { > compatible = "regulator-fixed"; > regulator-name = "usb_vbus"; > regulator-min-microvolt = <5000000>; >