Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5597423ybi; Tue, 28 May 2019 16:05:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/VmyLt/ihlhPqvPrOpglZWMa38MoO+uNST9SUP2vx7B5yEdkNCiD9uHViXvzTWOIIESy/ X-Received: by 2002:a62:b40a:: with SMTP id h10mr139241058pfn.216.1559084703170; Tue, 28 May 2019 16:05:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559084703; cv=none; d=google.com; s=arc-20160816; b=G7Ord08Cg3tVixeQF9LRcbU6wI7ruUVpr90plUNj+iJ8cgjho4X7exVkeJLcNMEmGl RRKEUz8nKfyIEec+wrKIT5p57fYQ8BIzcRlkfoGr5jYiaHCZLa447N2KPESrgtr/0ras Vx3ZhHvYXQ4sQ9hhAqriZclsuhUQD1KIsKkb5KSgHYyJaTVHGzU2k8NQpKQRDpZSAPEr 6Z5kIaqd9BxvdSz5wlgFJqibBgojoBNSRbXUlmV3529w2gWGYuJfsvVaru2ZrK67zrWl L0bggf4U2SAwqZVmeeFza0uTJI+ecFZjYHBwV7NrfD+WUpeSBv94eUb5CHUgWV/1h8gw qsAw== 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=DiNorqXWgoDbfgP/oEKyzpDwUhueYSzO5ddWgL3qZc0=; b=Dk61xU39sBInu8PFGGfh11/hZOIWObbGcg06qjYUS2ArkKwb0iAV0rZrLe1aWhfjFr uoH2h9QrneccDrI3siZtihz7dM/TpWa5VtnC/3doLlbhKaDIWhLH4LZcGhW33FEQ55hO CkTAPNPyP2zFMvN4jJiu9Yji0GxEuON5412yfJg7/pfk5crNRlJu5lcU5UE8pcS0MdBb M61NLK8KePVbwzwz22yCGy+hdiM7wL5aLf2oebKFOTqwjaC8OhE9XBDqmnHmdZx9yXMD h5WedIC4d83ikW/2XPoLRQHTiWYxcq/g21nLxdv+rTHhvUq930wfdYw6B0ehr/oCMZl9 vtjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tihjiVu6; 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 61si22931644plf.355.2019.05.28.16.04.47; Tue, 28 May 2019 16:05:03 -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=tihjiVu6; 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 S1728007AbfE1XC6 (ORCPT + 99 others); Tue, 28 May 2019 19:02:58 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:33168 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726463AbfE1XCO (ORCPT ); Tue, 28 May 2019 19:02:14 -0400 Received: by mail-pf1-f195.google.com with SMTP id z28so269664pfk.0; Tue, 28 May 2019 16:02:13 -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=DiNorqXWgoDbfgP/oEKyzpDwUhueYSzO5ddWgL3qZc0=; b=tihjiVu6azC/bBIP8aC4nnh34lp68t+9yZ67YgfV+qfTeuSQ0Ug/zIefYv1k8dM+N+ nwggC0P9xHpGBBDMt4ntfXDQVblOA6KVb9YyZ2aPqZf5Lw9j5SwwbqtDIOsT2iJ2vXBl JwXGNyjGF5DJiBSs69UK8iy55ek8cUO3ID333MxJzm8KvUI6S9imRH72NNIU4yfPXwFe kPzZOcnuyZ1KHsQeO6tjzNCJOh9540seNX9URpAohk9lW1zNLwNoHWGG8/rvdmA4H3UM wLrcRT93as7OwQ8Q66IJJXoQb14EJR8a4tAXDF2Q910WXnPfR59JxM6NOln+sp36zNOJ 5wMA== 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=DiNorqXWgoDbfgP/oEKyzpDwUhueYSzO5ddWgL3qZc0=; b=Jssjs5SjU1mQg9x6WnmpU5tEN/sbmOeHkeT8I53uUUYgQPavZx1M1VUn9bBvpkL8E9 PLkP8n2VKVdlv2DW4JWdP0cZrJfn4p8i5NV9oXx/5iu061M3FtYdwdzwYg6C+LNhplFf No089rhDTOhivUP4k1i6K/iSunkVHRDA4zlP2gkAKx1lWwAqe57AkfXLeq3b6ZhZKRcl cU+5uhwJJcBZbHT0s4u6oMaZXqkgFhY/Ia57LoLxGIpmU+8umVfIq2CK/6WfdVNKs0Ey pwfhzFBZgtYN+u3YknHOI4my4jeJ+KDNKaoQjkWA8teygOr34YOIk0jsdfy6BUwCRWz3 VjuA== X-Gm-Message-State: APjAAAVvG9TOJZNTlRLdJzIHjoW7d0ockxQLy2VqucFtc5m46MwLMmqd aqBy0cCR0ABZX7td2gCPwi8= X-Received: by 2002:a17:90a:37c2:: with SMTP id v60mr1569862pjb.24.1559084533477; Tue, 28 May 2019 16:02:13 -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.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 May 2019 16:02:12 -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 3/7] ARM: dts: bcm-mobile: Fix most DTC W=1 warnings Date: Tue, 28 May 2019 16:01:30 -0700 Message-Id: <20190528230134.27007-4-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/bcm11351.dtsi | 12 ++++++------ arch/arm/boot/dts/bcm21664-garnet.dts | 2 +- arch/arm/boot/dts/bcm21664.dtsi | 10 +++++----- arch/arm/boot/dts/bcm23550-sparrow.dts | 2 +- arch/arm/boot/dts/bcm23550.dtsi | 8 ++++---- arch/arm/boot/dts/bcm28155-ap.dts | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index b99c2e579622..6197e7d80e3b 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -100,7 +100,7 @@ reg-io-width = <4>; }; - L2: l2-cache { + L2: l2-cache@3ff20000 { compatible = "brcm,bcm11351-a2-pl310-cache"; reg = <0x3ff20000 0x1000>; cache-unified; @@ -225,21 +225,21 @@ #size-cells = <1>; ranges; - root_ccu: root_ccu { + root_ccu: root_ccu@35001000 { compatible = "brcm,bcm11351-root-ccu"; reg = <0x35001000 0x0f00>; #clock-cells = <1>; clock-output-names = "frac_1m"; }; - hub_ccu: hub_ccu { + hub_ccu: hub_ccu@34000000 { compatible = "brcm,bcm11351-hub-ccu"; reg = <0x34000000 0x0f00>; #clock-cells = <1>; clock-output-names = "tmon_1m"; }; - aon_ccu: aon_ccu { + aon_ccu: aon_ccu@35002000 { compatible = "brcm,bcm11351-aon-ccu"; reg = <0x35002000 0x0f00>; #clock-cells = <1>; @@ -248,7 +248,7 @@ "pmu_bsc_var"; }; - master_ccu: master_ccu { + master_ccu: master_ccu@3f001000 { compatible = "brcm,bcm11351-master-ccu"; reg = <0x3f001000 0x0f00>; #clock-cells = <1>; @@ -261,7 +261,7 @@ "hsic2_12m"; }; - slave_ccu: slave_ccu { + slave_ccu: slave_ccu@3e011000 { compatible = "brcm,bcm11351-slave-ccu"; reg = <0x3e011000 0x0f00>; #clock-cells = <1>; diff --git a/arch/arm/boot/dts/bcm21664-garnet.dts b/arch/arm/boot/dts/bcm21664-garnet.dts index 8b045cfab64b..be468f4adc37 100644 --- a/arch/arm/boot/dts/bcm21664-garnet.dts +++ b/arch/arm/boot/dts/bcm21664-garnet.dts @@ -21,7 +21,7 @@ model = "BCM21664 Garnet board"; compatible = "brcm,bcm21664-garnet", "brcm,bcm21664"; - memory { + memory@80000000 { device_type = "memory"; reg = <0x80000000 0x40000000>; /* 1 GB */ }; diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 758daa334148..3cf66faf3b56 100644 --- a/arch/arm/boot/dts/bcm21664.dtsi +++ b/arch/arm/boot/dts/bcm21664.dtsi @@ -90,7 +90,7 @@ reg-io-width = <4>; }; - L2: l2-cache { + L2: l2-cache@3ff20000 { compatible = "arm,pl310-cache"; reg = <0x3ff20000 0x1000>; cache-unified; @@ -295,21 +295,21 @@ clock-frequency = <156000000>; }; - root_ccu: root_ccu { + root_ccu: root_ccu@35001000 { compatible = BCM21664_DT_ROOT_CCU_COMPAT; reg = <0x35001000 0x0f00>; #clock-cells = <1>; clock-output-names = "frac_1m"; }; - aon_ccu: aon_ccu { + aon_ccu: aon_ccu@35002000 { compatible = BCM21664_DT_AON_CCU_COMPAT; reg = <0x35002000 0x0f00>; #clock-cells = <1>; clock-output-names = "hub_timer"; }; - master_ccu: master_ccu { + master_ccu: master_ccu@3f001000 { compatible = BCM21664_DT_MASTER_CCU_COMPAT; reg = <0x3f001000 0x0f00>; #clock-cells = <1>; @@ -323,7 +323,7 @@ "sdio4_sleep"; }; - slave_ccu: slave_ccu { + slave_ccu: slave_ccu@3e011000 { compatible = BCM21664_DT_SLAVE_CCU_COMPAT; reg = <0x3e011000 0x0f00>; #clock-cells = <1>; diff --git a/arch/arm/boot/dts/bcm23550-sparrow.dts b/arch/arm/boot/dts/bcm23550-sparrow.dts index 1c66b15f3013..ace77709f468 100644 --- a/arch/arm/boot/dts/bcm23550-sparrow.dts +++ b/arch/arm/boot/dts/bcm23550-sparrow.dts @@ -45,7 +45,7 @@ bootargs = "console=ttyS0,115200n8"; }; - memory { + memory@80000000 { device_type = "memory"; reg = <0x80000000 0x20000000>; /* 512 MB */ }; diff --git a/arch/arm/boot/dts/bcm23550.dtsi b/arch/arm/boot/dts/bcm23550.dtsi index 701198f5f498..a36c9b1d23c8 100644 --- a/arch/arm/boot/dts/bcm23550.dtsi +++ b/arch/arm/boot/dts/bcm23550.dtsi @@ -371,21 +371,21 @@ clock-frequency = <156000000>; }; - root_ccu: root_ccu { + root_ccu: root_ccu@35001000 { compatible = BCM21664_DT_ROOT_CCU_COMPAT; reg = <0x35001000 0x0f00>; #clock-cells = <1>; clock-output-names = "frac_1m"; }; - aon_ccu: aon_ccu { + aon_ccu: aon_ccu@35002000 { compatible = BCM21664_DT_AON_CCU_COMPAT; reg = <0x35002000 0x0f00>; #clock-cells = <1>; clock-output-names = "hub_timer"; }; - slave_ccu: slave_ccu { + slave_ccu: slave_ccu@3e011000 { compatible = BCM21664_DT_SLAVE_CCU_COMPAT; reg = <0x3e011000 0x0f00>; #clock-cells = <1>; @@ -398,7 +398,7 @@ "bsc4"; }; - master_ccu: master_ccu { + master_ccu: master_ccu@3f001000 { compatible = BCM21664_DT_MASTER_CCU_COMPAT; reg = <0x3f001000 0x0f00>; #clock-cells = <1>; diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index fbfca83bd28f..ead6e9804dbf 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -21,7 +21,7 @@ model = "BCM28155 AP board"; compatible = "brcm,bcm28155-ap", "brcm,bcm11351"; - memory { + memory@80000000 { device_type = "memory"; reg = <0x80000000 0x40000000>; /* 1 GB */ }; -- 2.17.1