Received: by 10.223.185.116 with SMTP id b49csp514050wrg; Fri, 23 Feb 2018 02:22:59 -0800 (PST) X-Google-Smtp-Source: AH8x2261MVEmO0dGN4fqMHnRswgfOmWM7dP/095c1vxZKfHUYJx+aNTVRFmmaNWHdY8lZ4k94+W6 X-Received: by 10.98.47.65 with SMTP id v62mr1261225pfv.152.1519381379777; Fri, 23 Feb 2018 02:22:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519381379; cv=none; d=google.com; s=arc-20160816; b=MPJjdHb3rw33iQD5GaWaXEYkQmnTN5FG9vxU8NhVwWWZyO5/4geMiW8k8TaoGpbLMp gwaaIU2s2dRq35Sd8T18cgyatYLtXkbFNR4vVfYgL2P+cwLjDscXNa9WnVP1trbUiC0e nZemcO/vrBLXjxrXjJXsCxb5QIQK3SSvDPpx1AGUAVfiouHn79Bec0qnWwv7WWWVrZu3 ZcUT0TOhtl7dbwa+1pQiUzOrwGzxdPUwMNk7qFRgh14gLV40VMm4oXiWJ75EDAXpul7R Tmu00o1a0gUyYNEmxV1bBQtFFs2/bb8uW4sUsoLt1ZKfDQcTkmhtOc/Msl3fNRFgGZd2 I5vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=kR0Yu+6ET/wcHj/hCVuJ4AKghG/IfM0rbympO/u1KIk=; b=oHlhen1W5WQvvCQGQLdtG+PiMli0gdiru1lU2qgNlPMG7fyKJ4UzgvqjVw8tKebYkH bd11qS4Eqk4u80U4LizfcKLywCLHPvbjU7DCAX0aV/NV7exSVaNp0UY+R4aPFb7t97kN SBkJlUoYjX9QCG9po2Tb5712H+mZHBbqn6WW9/qWqTyceFAXBvb8F0K91bjDrUXg8NsV DwhU7Ev7Ncprmy5g3GuRku5UK3Ldih311wn8/MEDgDVLBkhqBbqnUXJQiUD8voOIpyjM BxADojMAfgw5ZzrFVgCIoWWKwAH1BkHFqGX6Y6Kn6LiLw1Ewg8ihiZXSzftGxnAWhkXC V3Vw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a12si1343627pgv.672.2018.02.23.02.22.45; Fri, 23 Feb 2018 02:22:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751901AbeBWKTy (ORCPT + 99 others); Fri, 23 Feb 2018 05:19:54 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:23098 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751589AbeBWKQz (ORCPT ); Fri, 23 Feb 2018 05:16:55 -0500 X-UUID: b8c44d5fd1574ac182848b7663dcc5fb-20180223 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 103238619; Fri, 23 Feb 2018 18:16:51 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 23 Feb 2018 18:16:50 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 23 Feb 2018 18:16:50 +0800 From: To: , , , , CC: , , Sean Wang Subject: [PATCH v1 12/19] arm: dts: mt7623: fix all Warnings (unit_address_vs_reg) Date: Fri, 23 Feb 2018 18:16:32 +0800 Message-ID: <5cf5b140e45b8484eca780b53cc223ba8d1d768b.1519378872.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 { 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 { 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>; -- 2.7.4