From patchwork Wed Aug 25 13:04:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 502448 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49C30C4338F for ; Wed, 25 Aug 2021 13:05:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 61BEC61101 for ; Wed, 25 Aug 2021 13:05:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241055AbhHYNGY (ORCPT ); Wed, 25 Aug 2021 09:06:24 -0400 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:34336 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241036AbhHYNGX (ORCPT ); Wed, 25 Aug 2021 09:06:23 -0400 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id BC89840658 for ; Wed, 25 Aug 2021 13:05:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629896736; bh=UfizrBJBT6h793qifWAMSREo4JNWpi+qoZht6aRmJGE=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZM4WRgEKiFu4emREJsvcpdegETCZbnTLHsMvMgsj4DUKF4e+E8tXzsBYqs8a4bpYj gBZZyIbV9Z0Nt8G9TzuiWRNMIna3E442zJRjcpuMr4oZ6+N7fJ3JD6CP0xt6OGCLgF uoh5UCwvR067+lUeBzVTNQ8kbC8BEfGMoM1cOCu+KwxiqoaHocsD5wYVcUZEIXM1kJ Bow4mbyrC2l1CYUU2WAcmG1fWBZ+T+yU1L6/1Elsrxl2YorXojo4QtkJynsl1HrDs+ pEr+Ej7N/IUERoAangvQO10m/0is/wQk3iyW0TL7DRbqJVC64iUKCVEYnArWoMyCTT PazJpyJWlwAsA== Received: by mail-wr1-f70.google.com with SMTP id b8-20020a5d5508000000b001574e8e9237so2688420wrv.16 for ; Wed, 25 Aug 2021 06:05:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UfizrBJBT6h793qifWAMSREo4JNWpi+qoZht6aRmJGE=; b=ide09RqOI+rSyw4rTn72ka7PrfqQZSs25+jQKflamqeWAQlynvKNLiLOQJyeeX1hxH t6D2laY64TJYrT9Cayb2FaJH5+bAjRa/AYjjviei2SMwqV4wRM5YVNTFnOI9pTGaplpM smNPxtdGDjtRErr6Hkz3AEhQ4eq5Nnj4LeJaHs1lz/+irZcgQ4c+9WIk++ENuZEvWhVK t2gHj4/840JCU9gmKtd3E5aIRE5rkmtyRUmcjVJS2/hJmQ8e1/NIv60RdISVBLdc97Pg BsZ4JIHV9cxVBbjgFPA7DELXoO+duTUxj+IQBSApl8V86EMOnbcBVMRaKLrTOhmn+Rmo uMLw== X-Gm-Message-State: AOAM532p/R8kKjVeV3e7/2gTzTapUUk012WAC53re/CgVkPtXc3oo4Go mNa/iLcC2A2w/0D6Zl2Mczg0vC4r1Mb6dnuNXu4NADDwMaBEBDQWyNxcSrOObFFDmKJMIwd2O/Y TZTRvcmJXhhCJlzc5GHfZ7CFfBWFb4lwZWc0C3LY= X-Received: by 2002:a05:6000:92:: with SMTP id m18mr18711693wrx.293.1629896734660; Wed, 25 Aug 2021 06:05:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLGSV31y+kVM+3CidhWNxCQ29UIuSq21ADvfXfOGHO2Gp5VvBVX5SwObpLHLgExu1hCrgJxw== X-Received: by 2002:a05:6000:92:: with SMTP id m18mr18711663wrx.293.1629896734471; Wed, 25 Aug 2021 06:05:34 -0700 (PDT) Received: from localhost.localdomain ([79.98.113.233]) by smtp.gmail.com with ESMTPSA id 11sm5338828wmi.15.2021.08.25.06.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Aug 2021 06:05:34 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Krzysztof Kozlowski , Atish Patra , Sagar Shrikant Kadam , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/5] riscv: dts: sifive: drop duplicated nodes and properties in sifive Date: Wed, 25 Aug 2021 15:04:50 +0200 Message-Id: <20210825130452.203407-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210825130452.203407-1-krzysztof.kozlowski@canonical.com> References: <20210825130452.203407-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The DTSI file defines soc node and address/size cells, so there is no point in duplicating it in DTS file. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. None --- arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 5 ----- arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts | 5 ----- 2 files changed, 10 deletions(-) diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts index 2b4af7b4cc2f..ba304d4c455c 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts @@ -8,8 +8,6 @@ #define RTCCLK_FREQ 1000000 / { - #address-cells = <2>; - #size-cells = <2>; model = "SiFive HiFive Unleashed A00"; compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000", "sifive,fu540"; @@ -27,9 +25,6 @@ memory@80000000 { reg = <0x0 0x80000000 0x2 0x00000000>; }; - soc { - }; - hfclk: hfclk { #clock-cells = <0>; compatible = "fixed-clock"; diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts index 9b0b9b85040e..4f66919215f6 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts @@ -8,8 +8,6 @@ #define RTCCLK_FREQ 1000000 / { - #address-cells = <2>; - #size-cells = <2>; model = "SiFive HiFive Unmatched A00"; compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000", "sifive,fu740"; @@ -27,9 +25,6 @@ memory@80000000 { reg = <0x0 0x80000000 0x4 0x00000000>; }; - soc { - }; - hfclk: hfclk { #clock-cells = <0>; compatible = "fixed-clock";