From patchwork Fri Feb 23 10:16:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Wang X-Patchwork-Id: 10237369 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3A7A1602DC for ; Fri, 23 Feb 2018 10:38:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 227AE2907F for ; Fri, 23 Feb 2018 10:38:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17548290D9; Fri, 23 Feb 2018 10:38:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 73F782907F for ; Fri, 23 Feb 2018 10:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BUlmPt4j11KHYBxINNv82Q0C17glEwBYggyJ+iDxCA8=; b=W+oFYG07sC951x bm9coIuWFwUHrCinFEwKGrXkS7Lb6yXuzln+Afi/m41CKBIdfXNNjy1DcLkfM0bQmr2/ym3z1QdQq WvNH3DE0KnsL/f0EYmDZ9QiBBXoAYQBrQ46V86Q/N5xcJWCb8GyvEUWVyJ/4e12leTGjGXcmu4iu5 ucCea9UJEh0K7lCe27jFJy9PE/V7VGXTJcarPmGw8WpydPVUPaExF/praZP4Of4fR+b/tZwoDdcbE hnchIzL+BBo0izN5N16h/FnF9FRcVs1lUXwXGw+GPc3PFFQt4N3Q91l6tYSwSedmfKAtY9GCfknvD woaTMBkoJuYjNJjz2JIA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1epAjo-0008Ic-Kb; Fri, 23 Feb 2018 10:38:00 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1epAdZ-0003Ib-7p; Fri, 23 Feb 2018 10:31:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kR0Yu+6ET/wcHj/hCVuJ4AKghG/IfM0rbympO/u1KIk=; b=hVV74Fgd6B8xklmB9IzwCGdma LNvv0sEaJIXKd1VxBajavfU6OfI6g2B2TvMcAziQPf5AlnaAyimzIZuTUUho1V7ZUp2KVsw44sIF+ U+RUOJfrwwYQJh1/IZaJJD8z6XbQ01KGrukdxmv0jSgqvgPQ+6FQWdukPCoclBFZFWNeSrIEcb+5M t1ScF8rbGhgbVjh3vJXSwJeeqXnhFAgznUONTFcjH9t6FXRBm7oBzGMYQMZ1Vwod0GSPEcQ+wcgyz HA/XVvA6Fb1zUVtEiqXQhb0DqgDFgwXqRzbr/dVkgWEDFz/bsKbtMMT5zHfKlr7i9iuX90wrJZ026 sYv7tWpQg==; Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1epAPo-0005bc-Lw; Fri, 23 Feb 2018 10:17:22 +0000 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: , , , , 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 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180223_101720_988822_AE994BF8 X-CRM114-Status: GOOD ( 13.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sean Wang , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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>;