Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5596036ybi; Tue, 28 May 2019 16:03:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUXNFeKwwDn+XJPvLP5tz92mO0c/qEv4Lelr7HayAZEO0MAV4O6ARhsEmfvRHP0p59NdHh X-Received: by 2002:a17:90a:1b0b:: with SMTP id q11mr8605117pjq.80.1559084626436; Tue, 28 May 2019 16:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559084626; cv=none; d=google.com; s=arc-20160816; b=rrUkH8BubiL/igkcHHa3Murnk+kqg3QYjSxiVXEf6q5lmIdxjN8ZouWnHh1WoaVd15 a2cRIlTRYl5JeglG8rB9uFnAT59a4GoLfHsqjpy84xvzAzVAvRaJs1a/jHPq8CqA8kUu CxoKCpX8p2oJp4QeTZlsEnPTpjEaZ3Y4ymlcG8KpNnuLGolzMnNFIS1iG78ICGyafVqT 5GUwiuxUHZTh2RJDswHU3XXqe0Uo5gtd/nc/FBf+ni097xdeX+CC+eMuTIfDyIsaF+0G E+zG3lp89uihJAlzR7XIFWbEjwmg/4TZcqqeXxH/OWBAGpgaD6FDoFSAZMpB8M2XZmzw mTXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=UhDRw3r3UGwm2vyQ38HyiVKpdnmKQn3bdX4h2mhrNw4=; b=uWWUrLcvQrG6Qoydl+HaynS5xNfm9T3DhIGfxclwXP5dZQTJo0E/YbV6hkAaPRexh1 Au1hP/IHAzG8OZvDe8MOwj89mIyjBOoSEwx11MvEQnODenDgMwsjF9r6XnYsThZFjxCa Po9vyxlraCjfAfLoW6B7Cs88B4Yuz9H4m/9Gg2gNcrUw3GVTQcuRoLeBupqElMmDk6wN 68/du9DwnQJVe+VZBR9jkLLXcAgNy/bvBN/VsekyzrTqTjz8gtzhwzW2qqlHEUJy/NZ9 13q9I6JGxgtEsMv5qhuapW79p3tLtqlfB3wWEECAy5Tv+CckR+UZrMv4PYBhadDsJCEW 9ppA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iyEbEcxn; 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 ch10si27129078plb.207.2019.05.28.16.03.31; Tue, 28 May 2019 16:03: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=iyEbEcxn; 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 S1727599AbfE1XCR (ORCPT + 99 others); Tue, 28 May 2019 19:02:17 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:33164 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727483AbfE1XCM (ORCPT ); Tue, 28 May 2019 19:02:12 -0400 Received: by mail-pf1-f193.google.com with SMTP id z28so269611pfk.0; Tue, 28 May 2019 16:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UhDRw3r3UGwm2vyQ38HyiVKpdnmKQn3bdX4h2mhrNw4=; b=iyEbEcxn6S/MuK024Xfl88KIaECfvI+zXln1AR9XOg8WZy8GokbylfZkMzKeynTUPN HtFLyoh6ec+Rd/1u2qefsNm0DuiD7dhMudBFqgylmPFCQhoIj/TYj6qLnuux+sdbr9d5 Djvb68Oyzmal+nSgRtZv5za771gS8gBLPifkPYCpU7jYczVhthAyXblEN7KjV3EIK4Wd J0uIBsffT7IEkUSkvxoLap1v19xR4kivXL2EZt/u509hVifT+/LWjavKNAO88MkzRBAt P00qFtwH25EnhbInskB5HE26em2VnM/RJpwM54PGv851qtRFA8JibUub6yinXySPSjNd R9BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UhDRw3r3UGwm2vyQ38HyiVKpdnmKQn3bdX4h2mhrNw4=; b=Y+P1MIxrDP77AVgehP9+hFsMUJJq28WxFUlFvobkfS/OR/Hp78LMk1/gYX1/Dj2+6p +9LtIeGvcVEUGBYTFWColcM4CHW4Dd9yscIG9E7PtiHx7eMjF57auMtUq5J8ogn30ohh e8Lj4PQyeg2clqlicdTBxS1oCnk6NR5HE8/l+xWoUc1IVeW8dSvJSJi83+V17WF+TZOn a3Wa7chtJVHTBdJ/UtaufrVdOQ0PD43tYIgsc1nRymj8giGCru4kQhfYyyWSFJLNSuvq AeHVsupdo2G7UtfTi65/0tITQM6iQDYMgSxMandVcykDlTWmlM4F4InZQ98Ql9x1vbDG P3Vw== X-Gm-Message-State: APjAAAVWirsY8rgXhoxfJc4DB+Px+YHpWC1wqFZTOXA//zhDnTq48/WU TYRHlF8EPtPfNaRrIenwlDB3OTHe X-Received: by 2002:a17:90a:bb82:: with SMTP id v2mr8857173pjr.73.1559084531988; Tue, 28 May 2019 16:02:11 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id j13sm14369573pfh.13.2019.05.28.16.02.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 May 2019 16:02:11 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Florian Fainelli , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM IPROC ARM ARCHITECTURE), Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Brian Norris , Gregory Fong , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 2/7] ARM: dts: Cygnus: Fix most DTC W=1 warnings Date: Tue, 28 May 2019 16:01:29 -0700 Message-Id: <20190528230134.27007-3-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190528230134.27007-1-f.fainelli@gmail.com> References: <20190528230134.27007-1-f.fainelli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the bulk of the unit_address_vs_reg warnings and unnecessary \#address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/bcm-cygnus-clock.dtsi | 12 ++++++------ arch/arm/boot/dts/bcm-cygnus.dtsi | 6 +++--- arch/arm/boot/dts/bcm911360_entphn.dts | 2 -- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/bcm-cygnus-clock.dtsi b/arch/arm/boot/dts/bcm-cygnus-clock.dtsi index 80b6ba4ca50c..52f91a12a99a 100644 --- a/arch/arm/boot/dts/bcm-cygnus-clock.dtsi +++ b/arch/arm/boot/dts/bcm-cygnus-clock.dtsi @@ -42,7 +42,7 @@ clocks { }; /* Cygnus ARM PLL */ - armpll: armpll { + armpll: armpll@19000000 { #clock-cells = <0>; compatible = "brcm,cygnus-armpll"; clocks = <&osc>; @@ -67,7 +67,7 @@ clocks { clock-mult = <1>; }; - genpll: genpll { + genpll: genpll@301d000 { #clock-cells = <1>; compatible = "brcm,cygnus-genpll"; reg = <0x0301d000 0x2c>, <0x0301c020 0x4>; @@ -94,7 +94,7 @@ clocks { clock-mult = <1>; }; - lcpll0: lcpll0 { + lcpll0: lcpll0@301d02c { #clock-cells = <1>; compatible = "brcm,cygnus-lcpll0"; reg = <0x0301d02c 0x1c>, <0x0301c020 0x4>; @@ -103,7 +103,7 @@ clocks { "usb_phy", "smart_card", "ch5"; }; - mipipll: mipipll { + mipipll: mipipll@180a9800 { #clock-cells = <1>; compatible = "brcm,cygnus-mipipll"; reg = <0x180a9800 0x2c>, <0x0301c020 0x4>, <0x180aa024 0x4>; @@ -113,7 +113,7 @@ clocks { "ch5_unused"; }; - asiu_clks: asiu_clks { + asiu_clks: asiu_clks@301d048 { #clock-cells = <1>; compatible = "brcm,cygnus-asiu-clk"; reg = <0x0301d048 0xc>, <0x180aa024 0x4>; @@ -122,7 +122,7 @@ clocks { clock-output-names = "keypad", "adc/touch", "pwm"; }; - audiopll: audiopll { + audiopll: audiopll@180aeb00 { #clock-cells = <1>; compatible = "brcm,cygnus-audiopll"; reg = <0x180aeb00 0x68>; diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index 5f7b46503a51..2dac3efc7640 100644 --- a/arch/arm/boot/dts/bcm-cygnus.dtsi +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi @@ -45,7 +45,7 @@ ethernet0 = ð0; }; - memory { + memory@0 { device_type = "memory"; reg = <0 0>; }; @@ -69,7 +69,7 @@ interrupts = ; }; - core { + core@19000000 { compatible = "simple-bus"; ranges = <0x00000000 0x19000000 0x1000000>; #address-cells = <1>; @@ -91,7 +91,7 @@ <0x20100 0x100>; }; - L2: l2-cache { + L2: l2-cache@22000 { compatible = "arm,pl310-cache"; reg = <0x22000 0x1000>; cache-unified; diff --git a/arch/arm/boot/dts/bcm911360_entphn.dts b/arch/arm/boot/dts/bcm911360_entphn.dts index 53f990defd6a..b2d323f4a5ab 100644 --- a/arch/arm/boot/dts/bcm911360_entphn.dts +++ b/arch/arm/boot/dts/bcm911360_entphn.dts @@ -49,8 +49,6 @@ gpio_keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; hook { label = "HOOK"; -- 2.17.1