Received: by 10.192.165.156 with SMTP id m28csp466205imm; Wed, 11 Apr 2018 02:01:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+pdylrSCaZ5Ocr3sk9KVZfytFYwXUXlsNdgW6GJNCam9+XUPXW3n1QcRy+SEtv2rym2+aX X-Received: by 10.98.245.7 with SMTP id n7mr3282267pfh.164.1523437303075; Wed, 11 Apr 2018 02:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523437303; cv=none; d=google.com; s=arc-20160816; b=sZkPH9J9eMLD/1adKG7MRca/HLmKreaTQkFDAaL06eNvk/VqIM3Jqcvxmvvc6/717R 7XNyM7fhb5i/1KmWBZ/cNVCdnyKfIr/wowfoCISHav5NcOvjeJ7KeznijWBCSZmBC1qz NlJKSBvbr9HLwvKnmwZT6MGhvurqK7LgBpZOfZDzngGPQuS1mF8iaeaAOcXPdq2RrWM1 f6hrZo/xzlRBqj/+CxPP15USl3u/FleLvCFKLrONQ2/EGlBUIyCLKYumt1nwhHIwZV7u mAU6FKXz39AsvWYpQPuDT+39pvPUTT+N0RpiwDJp9s6+Q75X+ZnRaQdCW93tr+abK3ka RtRQ== 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=ZxIN6HmljciUuAwjUyJCOMbNTElsUP83o2cEn7WtT5E=; b=OCtc5/LXWGC4hJU57AulWWzS2VkTZArafbwg0TJjB4Nx6B0jVMMsHa0h4yG/9gIC8u u52TtphJ72fATaLshm72P6XKnH2ZUMe2SZKMdMYt5gqJChBqlWweMrSSzaZ6ZoHqKs+h LsP1wEj6BEIQMVAJKbkWh58Feig61xpPXLVAdW/uwzb7Toz6Dza4eebul+FyA99+YYUA dR2qFNWQuyaKeK7Lhi4DTxoUHGPNiSNNymvRZkdRhyzCTUnn46/xAQL7dDSxxsgeUq8o pCQG+Qj/cfP7fZbGulMv4R0zcWM+7X/SzRLCI3C4E5VBqKmRZ8694k41DNq6Cn7Qu/bD Drww== 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 x6si534660pfx.216.2018.04.11.02.01.06; Wed, 11 Apr 2018 02:01:43 -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; 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 S1753017AbeDKI4o (ORCPT + 99 others); Wed, 11 Apr 2018 04:56:44 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:33410 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752220AbeDKIyQ (ORCPT ); Wed, 11 Apr 2018 04:54:16 -0400 X-UUID: 5406680634a44a469d3f29bef5a51e03-20180411 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1795706369; Wed, 11 Apr 2018 16:54:10 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 11 Apr 2018 16:54:08 +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; Wed, 11 Apr 2018 16:54:09 +0800 From: To: , , , , CC: , , Sean Wang Subject: [PATCH v2 05/12] arm: dts: mt7623: fix all Warnings (unit_address_vs_reg) Date: Wed, 11 Apr 2018 16:53:58 +0800 Message-ID: <9b5b74f9847d024c05b5d485c967c8b9c8eec561.1523434758.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 (unit_address_vs_reg) that dtc complains so much for Node /oscillator@1 has a unit name, but no reg property Node /oscillator@0 has a unit name, but no reg property Node /pinctrl@10005000/cir@0 has a unit name, but no reg property Node /pinctrl@10005000/i2c@0 has a unit name, but no reg property Node /pinctrl@10005000/i2c@1 has a unit name, but no reg property Node /pinctrl@10005000/i2s@0 has a unit name, but no reg property Node /pinctrl@10005000/i2s@1 has a unit name, but no reg property Node /pinctrl@10005000/keys@0 has a unit name, but no reg property Node /pinctrl@10005000/leds@0 has a unit name, but no reg property Node /pinctrl@10005000/pwm@0 has a unit name, but no reg property Node /pinctrl@10005000/spi@0 has a unit name, but no reg property Node /pinctrl@10005000/uart@0 has a unit name, but no reg property Node /pinctrl@10005000/uart@1 has a unit name, but no reg property Node /pinctrl@10005000/uart@2 has a unit name, but no reg property 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 | 27 ++++++++++++--------------- arch/arm/boot/dts/mt7623n-rfb.dtsi | 2 +- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index 406a9f3..b9b5619 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -124,14 +124,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 d2a354e..71023a6 100644 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts @@ -145,8 +145,6 @@ switch@0 { compatible = "mediatek,mt7530"; - #address-cells = <1>; - #size-cells = <0>; reg = <0>; reset-gpios = <&pio 33 0>; core-supply = <&mt6323_vpa_reg>; @@ -155,7 +153,6 @@ ports { #address-cells = <1>; #size-cells = <0>; - reg = <0>; port@0 { reg = <0>; @@ -259,14 +256,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 = , ; @@ -274,7 +271,7 @@ }; }; - i2c1_pins_a: i2c@1 { + i2c1_pins_a: i2c1-default { pin-i2c1 { pinmux = , ; @@ -282,7 +279,7 @@ }; }; - i2s0_pins_a: i2s@0 { + i2s0_pins_a: i2s0-default { pin-i2s0 { pinmux = , , @@ -294,7 +291,7 @@ }; }; - i2s1_pins_a: i2s@1 { + i2s1_pins_a: i2s1-default { pin-i2s1 { pinmux = , , @@ -306,7 +303,7 @@ }; }; - key_pins_a: keys@0 { + key_pins_a: keys-alt { pins-keys { pinmux = , ; @@ -314,7 +311,7 @@ }; }; - led_pins_a: leds@0 { + led_pins_a: leds-alt { pins-leds { pinmux = , , @@ -433,7 +430,7 @@ }; }; - pwm_pins_a: pwm@0 { + pwm_pins_a: pwm-default { pins-pwm { pinmux = , , @@ -443,7 +440,7 @@ }; }; - spi0_pins_a: spi@0 { + spi0_pins_a: spi0-default { pins-spi { pinmux = , , @@ -453,21 +450,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 343e8ef..5c5cc7d 100644 --- a/arch/arm/boot/dts/mt7623n-rfb.dtsi +++ b/arch/arm/boot/dts/mt7623n-rfb.dtsi @@ -44,7 +44,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