From patchwork Thu Aug 19 16:59:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 500600 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 C1DCDC4338F for ; Thu, 19 Aug 2021 16:59:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D96E601FD for ; Thu, 19 Aug 2021 16:59:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbhHSQ7z (ORCPT ); Thu, 19 Aug 2021 12:59:55 -0400 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:46606 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbhHSQ7y (ORCPT ); Thu, 19 Aug 2021 12:59:54 -0400 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (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-1.canonical.com (Postfix) with ESMTPS id AEF90411F0 for ; Thu, 19 Aug 2021 16:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629392357; bh=odiP8qNzCjQyM5ut6+4pfn5opT3C8BN5X2IXeYZ+uMg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=qUxHeUdfUp1mJk1cY4Q5crjWDI4pI8nrCrlS3qw3oTeJkyKKwUd127M1HStyo4n3F GHmKK+HOm1d7wgqSpCyTCvroLyyr7jL7oyTBSAPk6VHye0tjO8x+LZ4DsG5Mh6/p5t 9ANMCucPAPk5svp9GxU0FenmoYDkGtXTf4cnLxuPuACopclM7BAKDwhvx+JFdkIwr+ 70V+q6lHxWJJXNm45muB1SyLbX+GF+senolPJcaCswbMNPFE6bQlA2f2H39JkbTRrk Td+2z77MUYYVXzsnOT/ANl23RVPB0bJ090VdEo4ezQWEEosauUl9n1wOAFxQ+rtFlQ Go3UfKf2iqeKg== Received: by mail-ed1-f71.google.com with SMTP id k13-20020aa7c04d000000b003bf04c03fc4so3130329edo.22 for ; Thu, 19 Aug 2021 09:59:17 -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:mime-version :content-transfer-encoding; bh=odiP8qNzCjQyM5ut6+4pfn5opT3C8BN5X2IXeYZ+uMg=; b=is+3tEBsiy4SEEM+dkwzpGPoVr5nzSiTtGc/7UUtLiGEygs/7xLXNZbIxQDLxLCGP+ nbZGRY9RwL2OcuD07QOXXy/Pp4Y9oRGeVbNGj/6lk/NsS8CMEaXwjzzZujkQeobTkABZ hCt7y4bZNqIyN8y78l/ylA6YXBlBo5q8KZrvVt5SBNQ5851i73Pq16NA/uRrwVXsX2Fs ivIImvppY1auQ+9RwvUJgPywL12W11UakQ49IvgetxJV8YWkIPOLGLt3ejqymhLEnO13 c3XkSTs0FnFrQhO+Mjhtl6i/GP5UV71cTP0xjXA79YtkiWHwsgr1liMmTaEpKJeQePLZ NREQ== X-Gm-Message-State: AOAM533Rel+7BEy09SJlr7y++FBafSOjbk/vm4905MFaXe4QLNOkDApd 2cj1CqdEXt+nQ983nqsmaxaFiWNslLqrc8Di/VbE5YgRdidVWCn4O1QhvkmMzTJXqkOK2WCpJ1n WrA51bbdW4q8jbm9vNeOG1yFfseLRUorMS7dX3h8= X-Received: by 2002:aa7:da8c:: with SMTP id q12mr17338220eds.304.1629392357464; Thu, 19 Aug 2021 09:59:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9NLI19XYdziHhF/9RoSTCqYZEy4vkbe0t27FhZYRkfyGlpzr7xF3AO+fMykRg6cWcoCzMyA== X-Received: by 2002:aa7:da8c:: with SMTP id q12mr17338204eds.304.1629392357351; Thu, 19 Aug 2021 09:59:17 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id h8sm2023418edv.30.2021.08.19.09.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 09:59:17 -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 1/5] dt-bindings: mtd: jedec, spi-nor: document issi, is25wp256 Date: Thu, 19 Aug 2021 18:59:04 +0200 Message-Id: <20210819165908.135591-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document bindings for the issi,is25wp256 SPI NOR flash. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index ed590d7c6e37..0db64ac7dc33 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -33,6 +33,7 @@ properties: - items: - enum: - issi,is25lp016d + - issi,is25wp256 - micron,mt25qu02g - mxicy,mx25r1635f - mxicy,mx25u6435f From patchwork Thu Aug 19 16:59:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 499876 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 96283C4338F for ; Thu, 19 Aug 2021 16:59:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7A642601FD for ; Thu, 19 Aug 2021 16:59:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230458AbhHSQ75 (ORCPT ); Thu, 19 Aug 2021 12:59:57 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:56982 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230312AbhHSQ74 (ORCPT ); Thu, 19 Aug 2021 12:59:56 -0400 Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.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 11D1D411CD for ; Thu, 19 Aug 2021 16:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629392359; bh=eulTWffz2zcY1QHzF3VctUTdQdyWBbuhcOokJb1Arrg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rhtOTdmthNu2ThG+hY3/LzKIqTR9Droed/Mx6QU+buHVClI6aO8E1z/DNARz7IaN2 jVfYLBpBMy3r69LYb2H2O/n06OrkCLcnR9O3eVho/70XSv94RNGDA8ahrQrLCzOsPX 5/W3xF8adtdheZeSDKMdlMrYGdmSKjxuOpsdfi6XFTjI0kRpjd9O75ZEIwNj2ceaTC WJdzp6wfpCoeGsp/hXs1PsKcsTixkSQMSdhy/TorPrd9wO8QaJAgD2aBHJD3U3tSdF gzTis6ckblOOf8X/Ux1GyYrbTgE6X8u2hZ6XOH3gxP5lUFWvOK/V0kZR9OWHeCAtob gE2zoJYQL+bYg== Received: by mail-ej1-f70.google.com with SMTP id k12-20020a170906680cb02905aeccdbd1efso2495772ejr.9 for ; Thu, 19 Aug 2021 09:59:19 -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=eulTWffz2zcY1QHzF3VctUTdQdyWBbuhcOokJb1Arrg=; b=jvQOd3jtMZNpuUp9laabiNSUBRoI5/NfCDLbjlolKKbiVFMA/wjRI4b+XFqOWtSz9K A5NWgaALznWMTgvC1zkRNShw7jfWMTMJjMzJthWrMAglkQAG2T98PL80FLvk3rJUX/rQ 5IHifSsncXem2VLCHB4p27CWWjYivHlRbLNrKuT8s+az5gCRmFYeST7bgliRe820EZv6 hIiNahrsVygDY6GqK8V/0V8vCQnk692SHLMAnT+ftzUR/sXJHEyRP9SgOx/cfrSlhdbL hQMnsy5ig7Gvwih6D4iEPOneDYCQRrUW9jeB13tqJtsNYGD6ppFmptKxQDsBBEbv50lf 98mg== X-Gm-Message-State: AOAM5304acRsGAIe2gVxfqMCFS+EO+CU/2FVAc054/5IOlb7wtURO3A2 wZ96fant+CV9GrOMxSzFSiQIKBEEg+/NOOzBNs7uvtE0NQLbiLcveUvjuqqFZSrsc6/a5vU9kAh vww6eQMeLEBybl56whgcRCvAYV6rquVwF4hpUqYQ= X-Received: by 2002:a05:6402:781:: with SMTP id d1mr17839055edy.32.1629392358804; Thu, 19 Aug 2021 09:59:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJww4UtUY6h9OU4l9uS3kIuoYiIOm0VucV6SoXDn0iXyU7Cxho1WRMomPQZIfagqOlV+lXh0nw== X-Received: by 2002:a05:6402:781:: with SMTP id d1mr17839040edy.32.1629392358686; Thu, 19 Aug 2021 09:59:18 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id h8sm2023418edv.30.2021.08.19.09.59.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 09:59:18 -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 2/5] riscv: dts: sifive: fix Unleashed board compatible Date: Thu, 19 Aug 2021 18:59:05 +0200 Message-Id: <20210819165908.135591-2-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 Add missing sifive,fu540 compatible to fix dtbs_check warnings: arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dt.yaml: /: compatible: 'oneOf' conditional failed, one must be fixed: ['sifive,hifive-unleashed-a00', 'sifive,fu540-c000'] is too short 'sifive,hifive-unleashed-a00' is not one of ['sifive,hifive-unmatched-a00'] 'sifive,fu740-c000' was expected Signed-off-by: Krzysztof Kozlowski --- arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts index 60846e88ae4b..c960e19cfa70 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts @@ -11,7 +11,8 @@ / { #address-cells = <2>; #size-cells = <2>; model = "SiFive HiFive Unleashed A00"; - compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000"; + compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000", + "sifive,fu540"; chosen { stdout-path = "serial0"; From patchwork Thu Aug 19 16:59:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 500599 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 5A918C432BE for ; Thu, 19 Aug 2021 16:59:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3EC8060FE6 for ; Thu, 19 Aug 2021 16:59:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231210AbhHSQ77 (ORCPT ); Thu, 19 Aug 2021 12:59:59 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:57018 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230505AbhHSQ75 (ORCPT ); Thu, 19 Aug 2021 12:59:57 -0400 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (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 A8449411CD for ; Thu, 19 Aug 2021 16:59:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629392360; bh=Y4VjdAw6i2XAmKpVIHlCuxlv3sz5tzJooO2Kj1Zm5KY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eDBA272Y2svg85DF9lw/MbX3WzKN4Xur5Wx2Pdx2BTgOOn4EESIj/hqlklcgYSM20 gbzfUSfJQZdXEFEoaXQe4YoFWGZ9twXzmsXDvOMNL5SLG+sUdB3rpn9nHtom+DLikJ Am/wIIDUEGaP6hyzLR0axFiJflPXxiemdO7DysUHl9T4a7wvX4Nxkj1rOzCG3pm4nj MM5q25jHqSKMfMFBfZCW3cZPrqkwtAoTG+GcCYi+nLcy0jCENxN16H3e1RhXGC9by2 7FegM4hKXRBkulA+BGeBUa1BPeBj202wbgsEASQGoL92xgoTt7/Ha6YfHHmyCjG+q+ zqPC7zwCKmXxQ== Received: by mail-ed1-f69.google.com with SMTP id j15-20020aa7c40f0000b02903be5fbe68a9so3146933edq.2 for ; Thu, 19 Aug 2021 09:59:20 -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=Y4VjdAw6i2XAmKpVIHlCuxlv3sz5tzJooO2Kj1Zm5KY=; b=iPj+xc6ctFD6MpF2TDXQ6Q72x1ta5WOt6ecddD85kn/HtN4i1kiM93FcvaGojxyDgq dBoyKL3eP/O8ZVqlwzajCqCL2Yww1pXMuk4a77RpbkJVNJDMMYjECZ016rEky9mfm82S iH1ytlMmNGTiue1PVCWA701ZjuutlrvSTtc++jjDldRSCR69npJ/EuO+weK9moGaqtAx vfHElmum0wuN69h/Xoeraiv9W5GPmWvB3aL/am5LkHfq9mhKfAXS2E8gjC+sRJ/Dzsgo X2TtHLzykixDJdpnZs2i/GIUTwAjuSnYvocGlB0GRsff0LgWYcxjIDidESjnT4CvWSdb Fbrg== X-Gm-Message-State: AOAM530HPttrgZGCr25ZQLyWZq6wDxriIwhzeQajXTQ637ISC/z8W43A ACOsfJpun6NPFif3zNKTvEjYJuQQU0gsVniydLQL7Sys+wLGDXU/9smxymebthOa5qGsVhKgyqC 2jCYShYggKBLKrwVxgcwGERywHjNUs7raSbF1J+c= X-Received: by 2002:a17:907:9844:: with SMTP id jj4mr11566653ejc.274.1629392360424; Thu, 19 Aug 2021 09:59:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy43yi4cd7I0ui+CNEC5/97mRyJRHDDxkOUtMndNvJTXPpnkWSykdSV4XJEwgHTzH2mBfqKLQ== X-Received: by 2002:a17:907:9844:: with SMTP id jj4mr11566632ejc.274.1629392360273; Thu, 19 Aug 2021 09:59:20 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id h8sm2023418edv.30.2021.08.19.09.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 09:59:19 -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 3/5] riscv: dts: sifive: drop duplicated nodes and properties in sifive Date: Thu, 19 Aug 2021 18:59:06 +0200 Message-Id: <20210819165908.135591-3-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 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 --- 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 c960e19cfa70..ed2c2429c6c2 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 2e4ea84f27e7..960d65ca5d4f 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"; 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; From patchwork Thu Aug 19 16:59:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 500598 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 DDFC8C4320A 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 C51B761029 for ; Thu, 19 Aug 2021 16:59:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231406AbhHSRAD (ORCPT ); Thu, 19 Aug 2021 13:00:03 -0400 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:46698 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231455AbhHSRAB (ORCPT ); Thu, 19 Aug 2021 13:00:01 -0400 Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (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-1.canonical.com (Postfix) with ESMTPS id 2DC3B411EF for ; Thu, 19 Aug 2021 16:59:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629392364; bh=z1RQh6TbDCdHTYWqenSZoV+dbCUcnrr2PV0XynCVMNM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dfcRDwGQJOYfgEMdu/YSMlD56hOeXFieYa93cLS/bkazxm0UfEu842grcNQCm35B8 SNdwvrz1HIEsimIwvNA+dbc5kbUNVXYKy9+IsjvdzL6bYUldmVCuZY7x8qC6LmQlMb WT1fJY3MqNgrFNpYPC8qIZ1CXEG6sQRJP0DqvtHXEZQfhYIevRe4H9H69o43Lm0Vch CfE3I0bls5BM9ldVjJjLN9jrA6YpTST0kSKSIJJQvLTIbGBk9L6pQIZJdWCHO+aJEh 7FjlEy1Aitm0f4gjhSY1nycuouNt3+Z4KvjhOsENzv/ar9n7fU3JSZ6s25svXJJY23 hsHx9Y9/XoFQg== Received: by mail-ej1-f69.google.com with SMTP id h22-20020a170906719600b005bc74a33a63so2518198ejk.8 for ; Thu, 19 Aug 2021 09:59:24 -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=z1RQh6TbDCdHTYWqenSZoV+dbCUcnrr2PV0XynCVMNM=; b=nJ1hSidq00Od0+RSBuzJpvNJjFOg3mFYC16SJfUrVa6JQpHxPHoKk/+M9Tsj4maWlQ Ajoi3EtZ6gBbaRpITnUsqDtm8aOtWjd4OhBAS8KUWejV97LvHO6vayKxxOLxjxgrylSn BXShCREIu7+KxTRsaWEzJCevzrJlj/mH2lNoO7q3JrEWh7ZMw6NkL3YgUmsgxEi70Tj9 3hwlYgNJR6dDKCLmO2tGVs5eK0W6Vb5LqonNvmDmgVF+x0LLeZhZ3Dx8UMnKHUK1WmD7 nlZVdUa9WYVNqE+VNT42P+dPIAjiB70We3nCQhu9aCcBAJxgUZKiHjoliniarmg5vc++ LiPg== X-Gm-Message-State: AOAM531PIfpw2+uUocoxkolsvNqjNwNMPfrP5oIuJvjsjDdV2x+KFV7j GgAR9NGWysytrv+0Bb90l3XPKFVmYaycy4B+5017+SYcVEzPci05neM+UAh4JV38gs/RoXt47x+ ZSUH26mdafF4kjH+aDnGGV3Jt73fbhShy8zaHcKE= X-Received: by 2002:a17:906:4c89:: with SMTP id q9mr16811900eju.118.1629392363973; Thu, 19 Aug 2021 09:59:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN/cjF/lAeY/btLW56iOgt8LTWAswf2EwA7y38kwFtmqm0X0IiH2XLz30C8VuHrDQfV3G+tA== X-Received: by 2002:a17:906:4c89:: with SMTP id q9mr16811892eju.118.1629392363864; Thu, 19 Aug 2021 09:59:23 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id h8sm2023418edv.30.2021.08.19.09.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 09:59:23 -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 5/5] riscv: dts: sifive: add missing compatible for plic Date: Thu, 19 Aug 2021 18:59:08 +0200 Message-Id: <20210819165908.135591-5-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 Add proper compatible for Platform-Level Interrupt Controller to silence dtbs_check warnings: interrupt-controller@c000000: compatible: ['sifive,plic-1.0.0'] is too short Signed-off-by: Krzysztof Kozlowski --- arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi index 7db861053483..0655b5c4201d 100644 --- a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi +++ b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi @@ -141,7 +141,7 @@ soc { ranges; plic0: 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 = <53>; interrupt-controller;