From patchwork Thu Aug 19 16:59:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 499875 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 A2CD3C432BE for ; Thu, 19 Aug 2021 16:59:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 84AC461029 for ; Thu, 19 Aug 2021 16:59:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231766AbhHSRAC (ORCPT ); Thu, 19 Aug 2021 13:00:02 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:57064 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231237AbhHSRAA (ORCPT ); Thu, 19 Aug 2021 13:00:00 -0400 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.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-canonical-0.canonical.com (Postfix) with ESMTPS id 28E30411D2 for ; Thu, 19 Aug 2021 16:59:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629392363; bh=NMKQ8HC+F1mFEutTPt5SprtiqsXf0Joxpmn/FGyaQRA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Wmn3xILc5jroBfGJ1XJhpDEwpJzxbOwCXDVtXsNoR6rQUX/G7T/OaABI9uADaKOk7 EbjZAJM58Bi7AjSejozn4RqvCTHeTxaXFsr0IxLv4JZE2ttlhSu3S6qsVDFMqk81Zm eS/XiYZ/0FQlfL7qVaIUEFfi28Hl3HUQPZuSlTEoNRslT1zeJI+Ner0K1cRmd7rEpe 2n66+oaz1IGevGf8gPLzEoqSyvbS2v3vNNiZRFRDfHC23vEhXBC9NKtJV9czhmrfZD Gd3fRBpNIVkdhTXZTUmeYefwjnBW8hzgAltaKXPT5svaCuq+jgOF3q38CgmWoaILAL l3XmGCIMapE8A== Received: by mail-ed1-f70.google.com with SMTP id m16-20020a056402511000b003bead176527so3126194edd.10 for ; Thu, 19 Aug 2021 09:59:23 -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:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NMKQ8HC+F1mFEutTPt5SprtiqsXf0Joxpmn/FGyaQRA=; b=hsA6LIlpHwU9UX2dk4vjJoSPgYHUyuP1n6xpleGX78l3GqW45bzRJ1iSluPHbb0Iit fZcqu4/lueRqXOLt1bjWBHcizGHDhvXmBeMzAvHJWYW8CkWKbW38tkuX5h74uWMek9c5 tvluwJMQO4k0hH5bGLdGMIYZAl/U+unZutaOfeRJSyIidykTPDNlRUmj02zvWU+2ZRFt jWKv9J2w2bHKYd02JPPpwXF1OD9dIbNZ0/oHnWA7xJN0gAAeb5E+IUNK3HAjqJH7IpNS K82kt4EObWl/lzkXj/M1z8RWaQJg6rTPp1XNDw6uYKPfWK2vqdypniufFI7MKQB8uHsy y4FQ== X-Gm-Message-State: AOAM5319AOcIwZEeXLa5CGAKsEsWD5RryP+WSR0q0hRw/OqwPQpIOvGS 5dA3Y1lW/t5mRQERHCda3EBCwgpIV6Quiwwa1GUBx+E6nUSBjDx/vlJVZoENS0QuTfHtiKIS0rn Z/4MaTzm+PvQLg27EDtKNoDCm6rqcFQLrjvraTrI= X-Received: by 2002:a17:906:6ad4:: with SMTP id q20mr17321657ejs.433.1629392362664; Thu, 19 Aug 2021 09:59:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTiHUoNITAHW6eENhh9K7MzzNuKTjMUdplkoqS0IOpq6oP+UAyQaSufFwMawL/9lYJf9kFuA== X-Received: by 2002:a17:906:6ad4:: with SMTP id q20mr17321630ejs.433.1629392362524; Thu, 19 Aug 2021 09:59:22 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id h8sm2023418edv.30.2021.08.19.09.59.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 09:59:21 -0700 (PDT) From: Krzysztof Kozlowski To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Atish Patra , Sagar Shrikant Kadam , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/5] riscv: dts: microchip: add missing compatibles for clint and plic Date: Thu, 19 Aug 2021 18:59:07 +0200 Message-Id: <20210819165908.135591-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210819165908.135591-1-krzysztof.kozlowski@canonical.com> References: <20210819165908.135591-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Microchip Icicle kit uses SiFive E51 and U54 cores, so it looks that also Core Local Interruptor and Platform-Level Interrupt Controller are coming from SiFive. Add proper compatibles to silence dtbs_check warnings: clint@2000000: compatible:0: 'sifive,clint0' is not one of ['sifive,fu540-c000-clint', 'canaan,k210-clint'] interrupt-controller@c000000: compatible:0: 'sifive,plic-1.0.0' is not one of ['sifive,fu540-c000-plic', 'canaan,k210-plic'] Signed-off-by: Krzysztof Kozlowski --- arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi index d9f7ee747d0d..6f843afacfad 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi @@ -161,7 +161,7 @@ cache-controller@2010000 { }; clint@2000000 { - compatible = "sifive,clint0"; + compatible = "sifive,fu540-c000-clint", "sifive,clint0"; reg = <0x0 0x2000000 0x0 0xC000>; interrupts-extended = <&cpu0_intc 3 &cpu0_intc 7 &cpu1_intc 3 &cpu1_intc 7 @@ -172,7 +172,7 @@ &cpu3_intc 3 &cpu3_intc 7 plic: interrupt-controller@c000000 { #interrupt-cells = <1>; - compatible = "sifive,plic-1.0.0"; + compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0"; reg = <0x0 0xc000000 0x0 0x4000000>; riscv,ndev = <186>; interrupt-controller;