From patchwork Sat Apr 30 13:09:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12833222 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 634E7C4332F for ; Sat, 30 Apr 2022 13:13:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=A0vqs832+Va2UOFKYUcy3Wd0X2300iJngrJZrWorO/U=; b=1smsIlUqdScwOp p2QF3X/18cna8qMz2HpkieON5Ud6ctOp80nfQaKfNX4U2z0bTJo1xqdCXzdzq+EYvwxg9SKJoM0r6 vKWA/Io+Md/ZhJPEHr2zqP19Mj99Lqrr+2N5ARwgNNL/H8iv61Yc+AUNM0hni0fV6JOILCPA8oTMR e9VVl7UIoRVMg4BGqVvktZz4tF2EiJHbi+zY5b9REA4NDO06QNjue/BmbQkn5ke5P+vIpZlUlJPWw F6UlMZIDw6iIpp52EHcLPwiX/uc72W+aTJzJXlv+pIKuW9sdXuLBEs7DZZQ1VUU0LPDNM/rfHkv1A dYI6GNca/45B31uFgeww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuE-00EJNV-LX; Sat, 30 Apr 2022 13:13:02 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuA-00EJKv-BO for linux-riscv@lists.infradead.org; Sat, 30 Apr 2022 13:12:59 +0000 Received: by mail-wr1-x435.google.com with SMTP id q23so14061858wra.1 for ; Sat, 30 Apr 2022 06:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod-ie.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4vCDZDxNF7ZpqCxnRxrYAOyYCsp207pYkROFjiHem+g=; b=XvSKxvLpEQjAkw8/ypM8c3YYtSSYtdpoJSa1Ww30x9aLc74D0KOsMl+k30OnNyQ9K1 vQD+hhGLkeWvpJUbcaH1pWIvAovINFPJY3/oTaPq/yJ16EmdeD/w4K0fBJeTsui55YYy inTHM0Bp8+7apN2m/AVJQQ8YGOXdG9NCDv8PVXdmkkxiovBgh5aBJpsKqnUAyQrsDbMq uz3YiOSKYBrlQIJesPeuoA0FxDQS+mVow1cs86E4Pz3dfqoDIT1SQnfxHv6gr9szD1fh DbgJG6BR0cd5EAV/Cee2G6xGOWVv10cgoLrRaGoii9oiyrJAFz4NTz24zAa5rQcCcn+8 6g9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4vCDZDxNF7ZpqCxnRxrYAOyYCsp207pYkROFjiHem+g=; b=smkhJ873XdU4K30jERlwQHe1oeQ7W0RnpJdJse3DrJcc7dIIv18BfSwGZlWt4A7NYy eEuluYDRW0Y+E32ICPA4D6nK3Ho8wD36/7GbDpeNo2O6io5NSjfYJZc0Odo8Rijs0yL2 hcYeRYJmDl//r5TZRYZpLwF81OqAIsWmXRgMQPshrn5Au2//Ed/12UIpSRRgIPSZy0O/ Ht+4pZ4vP85Nf57M6iVJ8TnQ5hZqLPICsGVADVu9orNHBtzbDfPdPxamCLSaBZCVTbi/ YrqKaNsk+sZnQq5f/hNmtysSt2QY2EirUsSxrYVh6GQJvjOGMycYN+GvEuUiQWS+qzH1 7Uig== X-Gm-Message-State: AOAM530+1oyKK2d9uc8d4ui5cXT2Iesr2Utr5yHBC7a/7pL2mn8NWyX2 n2lOj2CyzWv1E0lYRnovNddZ9Q== X-Google-Smtp-Source: ABdhPJyhk6sNyn6PYT8mUPpuoHYBQRyblDmpRGPqmY7TVB139oqJYZ2QO/EfyGQOU0BmMjp+TJTM8Q== X-Received: by 2002:a5d:40cf:0:b0:20a:e0cf:2a47 with SMTP id b15-20020a5d40cf000000b0020ae0cf2a47mr2989078wrq.575.1651324373826; Sat, 30 Apr 2022 06:12:53 -0700 (PDT) Received: from henark71.. ([109.77.36.132]) by smtp.gmail.com with ESMTPSA id p9-20020adfa209000000b0020c5253d8ebsm2004439wra.55.2022.04.30.06.12.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 06:12:53 -0700 (PDT) From: Conor Dooley To: krzk+dt@kernel.org, palmer@dabbelt.com, robh+dt@kernel.org Cc: conor.dooley@microchip.com, Cyril.Jean@microchip.com, daire.mcnamara@microchip.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, palmer@rivosinc.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Conor Dooley Subject: [PATCH v2 1/8] riscv: dts: microchip: remove icicle memory clocks Date: Sat, 30 Apr 2022 14:09:16 +0100 Message-Id: <20220430130922.3504268-2-mail@conchuod.ie> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220430130922.3504268-1-mail@conchuod.ie> References: <20220430130922.3504268-1-mail@conchuod.ie> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220430_061258_449475_6B59A5C7 X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley The clock properties in the icicle kit's memory entries cause dtbs_check errors: arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dtb: /: memory@80000000: 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+' Get rid of the clocks to avoid the errors. Reported-by: Palmer Dabbelt Fixes: 0fa6107eca41 ("RISC-V: Initial DTS for Microchip ICICLE board") Fixes: 5b28df37d311 ("riscv: dts: microchip: update peripherals in icicle kit device tree") Signed-off-by: Conor Dooley Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts index 3392153dd0f1..c71d6aa6137a 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts @@ -32,14 +32,12 @@ cpus { ddrc_cache_lo: memory@80000000 { device_type = "memory"; reg = <0x0 0x80000000 0x0 0x2e000000>; - clocks = <&clkcfg CLK_DDRC>; status = "okay"; }; ddrc_cache_hi: memory@1000000000 { device_type = "memory"; reg = <0x10 0x0 0x0 0x40000000>; - clocks = <&clkcfg CLK_DDRC>; status = "okay"; }; }; From patchwork Sat Apr 30 13:09:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12833225 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60EEAC433F5 for ; Sat, 30 Apr 2022 13:13:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=F8W7UmJUsHNiVLlgJjHR5NRjWep/gFzPpweirC1GT6A=; b=pZWRV77ew9+1Iz 9t/dzNsBd2IArk2zBp/AkureUkSGe4OmlDFl1rLgjQfK8/Tr9B/Ud2Q02rHvajkaDVhbJKckCANrn 49/BmdmtToZToEMM5xyBHWlsuS7C60kGXkMr2EWAxuMozawePKpSh+XoosVzpfrzhEG/kwjtUaCeP 6l2Z26AfUyZLi1xvcCXgtaugAIdxveShEtZTgUm5BVqjzRl8ebJVLf9RQ/IsSO8d88257u+9Fuwrd bt5Ejdexolg6LrpOrtkrCZNgHfJpXkUYb+uO7KV5GVy5zRXdl1LYFOgvf06WSWQh/xaEQiIDMC0rt 5sqsh0v9fLlWVNF05S6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuG-00EJO3-2f; Sat, 30 Apr 2022 13:13:04 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuA-00EJL1-BO for linux-riscv@lists.infradead.org; Sat, 30 Apr 2022 13:13:00 +0000 Received: by mail-wr1-x435.google.com with SMTP id v12so14016332wrv.10 for ; Sat, 30 Apr 2022 06:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod-ie.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=D3SEdr+fxIa6eNX5euS5Om6MuK6d2iGlkw5zs0H/ONs=; b=SkmHarr4ODHRRfHsVgW+WUZyogxa7T/pT1YaBfhU7ZFrtvTjXUbrQfqi/OyqAAvPlx WLvmoOBPYswSby7Wlf4NKPOMi1bPXU/vk5A092djDYYM17RPJNBliiwtkQqLd7vrKi1Y tfKnWH2Pz1C8DBZfrsckNoKk6XJzxqM6iFAdbKJwpdpDJtLXEokZPRoZsLVyhs0LVKH0 fMd977IxvpOH5iDbZnz+tfT0ptHDjlExVzX5wEPxDCKVcSBgj7axOfFVEZA1s618hH5n DhwV7NhonaR9XLG13BEBpWWV3dvTJ1Wn9JsTRs6xn7YnHdYLGSYFCoEGkrUhrO44/3EA 7NpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=D3SEdr+fxIa6eNX5euS5Om6MuK6d2iGlkw5zs0H/ONs=; b=p9dOHftL6tbYonl1x4iIRSH1rf7Sza19THtGvp0lKk6/58YXJZttoVAgX7OuTGF4UE fbLWVJ0ok0cl3SUmWIYYz2B5upGoYMgK1WWZWsNIiC3UwrTT+az6HdqUzsOA50m2mo89 RYVGX+AqBL1oKayQgajBEWBA9UQcveLk8fV0IpiLgukh7r1syBIcvLeB+Kntd3A6altw PwcvkJx8m1LFrHfHS9Pg01okhibmOHrVT004OSXdC0+zVC+n9lBzLnPaXIsfgMFmFuQk h9N/J9ZAA4BjbnpOwYdepN0LIeDvep3n5N+9/vRqFJVxwBijrg7H126DsSTFYPha62Ki RnkQ== X-Gm-Message-State: AOAM533+s+rASaMQYN2dZSnOoo2FT8Ru93LBw0piS8IgL+4wzCIA1zcA EXINVtmnZjGFxtO7lboRmXgQrA== X-Google-Smtp-Source: ABdhPJzMz8I3WPzdOc01vlw14L5jOcx76muJKJWSX4TSNP+dxUOGGZG58Ebk8tPI/T3KW4pjmDxb3g== X-Received: by 2002:a05:6000:18c9:b0:203:fb67:debe with SMTP id w9-20020a05600018c900b00203fb67debemr3004347wrq.494.1651324374961; Sat, 30 Apr 2022 06:12:54 -0700 (PDT) Received: from henark71.. ([109.77.36.132]) by smtp.gmail.com with ESMTPSA id p9-20020adfa209000000b0020c5253d8ebsm2004439wra.55.2022.04.30.06.12.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 06:12:54 -0700 (PDT) From: Conor Dooley To: krzk+dt@kernel.org, palmer@dabbelt.com, robh+dt@kernel.org Cc: conor.dooley@microchip.com, Cyril.Jean@microchip.com, daire.mcnamara@microchip.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, palmer@rivosinc.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Rob Herring , Conor Dooley Subject: [PATCH v2 2/8] riscv: dts: microchip: move sysctrlr out of soc bus Date: Sat, 30 Apr 2022 14:09:17 +0100 Message-Id: <20220430130922.3504268-3-mail@conchuod.ie> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220430130922.3504268-1-mail@conchuod.ie> References: <20220430130922.3504268-1-mail@conchuod.ie> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220430_061258_448379_3CA25BC5 X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley The MPFS system controller has no registers of its own, so move it out of the soc node to avoid dtbs_check warnings: arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dtb: soc: syscontroller: {'compatible': ['microchip,mpfs-sys-controller'], 'mboxes': [[15, 0]], 'status': ['okay']} should not be valid under {'type': 'object'} Reported-by: Palmer Dabbelt Suggested-by: Rob Herring Fixes: 528a5b1f2556 ("riscv: dts: microchip: add new peripherals to icicle kit device tree") Signed-off-by: Conor Dooley Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi index 746c4d4e7686..bf21a2edd180 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi @@ -146,6 +146,11 @@ refclk: mssrefclk { #clock-cells = <0>; }; + syscontroller: syscontroller { + compatible = "microchip,mpfs-sys-controller"; + mboxes = <&mbox 0>; + }; + soc { #address-cells = <2>; #size-cells = <2>; @@ -446,10 +451,5 @@ mbox: mailbox@37020000 { #mbox-cells = <1>; status = "disabled"; }; - - syscontroller: syscontroller { - compatible = "microchip,mpfs-sys-controller"; - mboxes = <&mbox 0>; - }; }; }; From patchwork Sat Apr 30 13:09:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12833226 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 870A8C433EF for ; Sat, 30 Apr 2022 13:13:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GnhFFS6ReEIUxoCnb2OS5GmO4f5WBhA0ZXIJvXkmrqY=; b=zJz8e7P2DlpgAY 05dvMZ9vOBd8mfirXVx8JVp6x+w21EjycFz9Kr1H3io3xX4DP8DQ7/IpHcnUIBnR8Rc2Uph7gQob0 9rKwhWU3OGKrNer3Aq1QBSHZdGpFg/ZKVQ387BtBHx2DiF0v14aPGahpGpWwD9zit3uX4Ae+qCZ27 4Dw0A2zmKD2oaEcz/YpqDDgYYkTiQHxC3vFp8bP06+aLxIpbNgrRx1kWSXtFVHUsoHZ1rj2qWLb72 BykvABko9p0U0MXguL29osnxueHnakVWHJPjB8Qy0Qvq42aEaeDWwmQpR66jiDthCjAa8xLYq5Qgq Iyix+y9Yiis86iqb1P7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuJ-00EJQB-FJ; Sat, 30 Apr 2022 13:13:07 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuA-00EJLB-Nw for linux-riscv@lists.infradead.org; Sat, 30 Apr 2022 13:13:00 +0000 Received: by mail-wm1-x32a.google.com with SMTP id k126so2585188wme.2 for ; Sat, 30 Apr 2022 06:12:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod-ie.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=U51TZQhHKAPu6F0ygHwpPoWdzkMjxCa4kGnNd6Hzk/o=; b=b0NKL9VwC3e8+DspbbgveqAFU8bLQvyX69E9r037zGadc4FwpXgqITKvvl+0SX57Ju iyd2yvK458NMGSY35dGv+++xES/M1jS4JlNfGizyR4RATqiId3ETfHip/UjmZYM01zIq ZUALlaJYdOdy0lFYEeOz7P1F34Z23Fh8y8AgDcP1xtsLq3h3SDRmczx02MN+TIKrhcr8 Zr3jtMzfpdO3CE6ZQO5CrsRbsJ2N7pRxDf7S48XXzKPKusBmNKR2NPAwiwZ9vochTqjP +4W3DBHd/+HWnJhjnMlk/89d1UXC9fF29oBpkmilBYu2uYeiHS/VI6wFnvTepFO2KT6g 6c0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=U51TZQhHKAPu6F0ygHwpPoWdzkMjxCa4kGnNd6Hzk/o=; b=AOPW8tU23Z7msc1laP2nWP7YBTTIJhB0bazyS77ZqZwpL6lZ428TRKXvKRcvSwMG7m KS9eK+10rYk6ZXieKv4P4Ds1cJ8iTmO2NglZCm1q+dChH8qsapUBj4hI0kgU4+vFmFXS TM005F5sBQkLGyEC8FWIA9CLQMcC4XgVcNqe2SjCS7JJBzookJz9YBCFxtoSrq60WYOA 0oeOZcVz38oo5lD1BCjTsR5SiQ+1K3Gsj+IZx6iJpAeg8JERnNcG5bl8vx9fpago9oIl KPmYCBoJ2m9792JpCp3uW4MW4ib8fZiYRuKBPmOP1xSf1y8gP+JUV1gr6QHkwZ2vS7qV NpDw== X-Gm-Message-State: AOAM530xI1oh1cPVvUTLedvlPiJ1NrYzHUlZ95RhRt3rz0Ij68xDPGGx 0Q9kx0vumeqX3YjgO1Q07dSySg== X-Google-Smtp-Source: ABdhPJyhZkGAtnEZF26eRlmNAzd28Gd/+hWFcNPXa+U5piOfk+rl/XVZsDmWUL3JznznT7nfvKwsSw== X-Received: by 2002:a1c:f018:0:b0:37b:c13c:3128 with SMTP id a24-20020a1cf018000000b0037bc13c3128mr7518375wmb.157.1651324376333; Sat, 30 Apr 2022 06:12:56 -0700 (PDT) Received: from henark71.. ([109.77.36.132]) by smtp.gmail.com with ESMTPSA id p9-20020adfa209000000b0020c5253d8ebsm2004439wra.55.2022.04.30.06.12.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 06:12:55 -0700 (PDT) From: Conor Dooley To: krzk+dt@kernel.org, palmer@dabbelt.com, robh+dt@kernel.org Cc: conor.dooley@microchip.com, Cyril.Jean@microchip.com, daire.mcnamara@microchip.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, palmer@rivosinc.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Conor Dooley Subject: [PATCH v2 3/8] riscv: dts: microchip: remove soc vendor from filenames Date: Sat, 30 Apr 2022 14:09:18 +0100 Message-Id: <20220430130922.3504268-4-mail@conchuod.ie> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220430130922.3504268-1-mail@conchuod.ie> References: <20220430130922.3504268-1-mail@conchuod.ie> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220430_061258_818296_753B8D3E X-CRM114-Status: GOOD ( 10.84 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley Having the SoC vendor both as the directory and in the filename adds little. Remove microchip from the filenames so that the files will resemble the other directories in riscv (and arm64). The new names follow a soc-board.dts & soc{,-fabric}.dtsi pattern. Signed-off-by: Conor Dooley Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/microchip/Makefile | 2 +- .../microchip/{microchip-mpfs-fabric.dtsi => mpfs-fabric.dtsi} | 0 .../{microchip-mpfs-icicle-kit.dts => mpfs-icicle-kit.dts} | 2 +- .../riscv/boot/dts/microchip/{microchip-mpfs.dtsi => mpfs.dtsi} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename arch/riscv/boot/dts/microchip/{microchip-mpfs-fabric.dtsi => mpfs-fabric.dtsi} (100%) rename arch/riscv/boot/dts/microchip/{microchip-mpfs-icicle-kit.dts => mpfs-icicle-kit.dts} (98%) rename arch/riscv/boot/dts/microchip/{microchip-mpfs.dtsi => mpfs.dtsi} (99%) diff --git a/arch/riscv/boot/dts/microchip/Makefile b/arch/riscv/boot/dts/microchip/Makefile index 855c1502d912..af3a5059b350 100644 --- a/arch/riscv/boot/dts/microchip/Makefile +++ b/arch/riscv/boot/dts/microchip/Makefile @@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_SOC_MICROCHIP_POLARFIRE) += microchip-mpfs-icicle-kit.dtb +dtb-$(CONFIG_SOC_MICROCHIP_POLARFIRE) += mpfs-icicle-kit.dtb obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-fabric.dtsi similarity index 100% rename from arch/riscv/boot/dts/microchip/microchip-mpfs-fabric.dtsi rename to arch/riscv/boot/dts/microchip/mpfs-fabric.dtsi diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts similarity index 98% rename from arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts rename to arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts index c71d6aa6137a..84b0015dfd47 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts @@ -3,7 +3,7 @@ /dts-v1/; -#include "microchip-mpfs.dtsi" +#include "mpfs.dtsi" /* Clock frequency (in Hz) of the rtcclk */ #define RTCCLK_FREQ 1000000 diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi b/arch/riscv/boot/dts/microchip/mpfs.dtsi similarity index 99% rename from arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi rename to arch/riscv/boot/dts/microchip/mpfs.dtsi index bf21a2edd180..cc3386068c2d 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi +++ b/arch/riscv/boot/dts/microchip/mpfs.dtsi @@ -3,7 +3,7 @@ /dts-v1/; #include "dt-bindings/clock/microchip,mpfs-clock.h" -#include "microchip-mpfs-fabric.dtsi" +#include "mpfs-fabric.dtsi" / { #address-cells = <2>; From patchwork Sat Apr 30 13:09:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12833224 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 823A7C433EF for ; Sat, 30 Apr 2022 13:13:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TQJiBp9EQ0aoZLHBsJt9RFmWCnDPLJREs+FmytnVNxY=; b=e3rndr8TO22kRJ Mkbb/gwtEXkEWo/yFM0zaVSWYEflypeHsKLS6rJ0OVl8j7QVFQ7i9m9FR3u9yzxQq008MU0UU6ZDA NYZ+MiKp440H9TYCzMdUns/EG1+lw5MW1jjpHfHcsh/JAgELJqnxwEbI12WSlK0AYEVSzg8IyqEGj Ok8K87pcnbnbKJx5cyFCqHa0F4AJGFYTw4vSJLBniJITRXi3gc05o+0jZCekW6+wkZyRNLDNZChmC JPbJraIHm3lCuj8VGk1McbvJQ95M+1xobxkC8CSO/QbQHrMbAKT9F4NOu080+K3ve9bsj7yukXut4 DtGxXdMvQsRTAFI5kxOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuH-00EJPA-PA; Sat, 30 Apr 2022 13:13:05 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuA-00EJLV-O2 for linux-riscv@lists.infradead.org; Sat, 30 Apr 2022 13:13:00 +0000 Received: by mail-wm1-x32a.google.com with SMTP id a14-20020a7bc1ce000000b00393fb52a386so7806206wmj.1 for ; Sat, 30 Apr 2022 06:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod-ie.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X01Xnve0qqr6OIc5S2nNdJzpIGzcmZy0c42E2H5TnFA=; b=0BDgOPux36pkiBKZ1Awo5enlCPyaYpWLmekPEnzNCVxB2COH9QPxWkacPNxgRb/CmC idlXYFLT19/YaJnVREMNOdAvOsVBBiNCdraRObIy2OjNC1xH/SKUgN+Zd6FGaPrJGOcp /OiJMBOE5PUYwX9QqWXnS9GKXFh/gm8mazu4tHKKzV82gKwPDIErXFcsfsWLy3tA2plI VtPWLgwiSQ0Hro1hrlHoRBEvfX4CZ5iZcpcPWWO1ZYkoisjrlqvcwcUn0R/OLwx+sfS+ dro6uUwVJ4agBlQMjvgRs+k+LB7V9rRj+Asi/9qhWx/z/OxrGWwl2FtShOcp0ATpY3nH +4fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=X01Xnve0qqr6OIc5S2nNdJzpIGzcmZy0c42E2H5TnFA=; b=ExmLjJ2mabOf2o8aIoCy5YZyvejmrcQ/hlI3TlDIRKBbFmRJ7TR5R1AXQGjbcwCAt+ 6+18UN69tPWp9DxSzy/R1PhhdOf7yOKznPTBb1jqF0HVZH2IjqTVgxgqZcJBQmvF0ldE SxH0bsFv43SiFKLT9rNN2KSG7J0ehm9sPpsLop2/93rWkYLuhxZJe8I7AFMSyXj4lG/Q yOnfFrE5Lzmec3QOe+LX/8s9xsD9HgRjmTgtZ/s1hKiXc5SwNzyLKN45aQZ3DYFaCTq5 JVirCaIDCL/4qqIP6j4Ra/rNG0TZll2Ekh0SqMG3uzjIrmrRDLdW+svwJccg3IoCrM/K iXAQ== X-Gm-Message-State: AOAM532yOnvksyyNU77IkZNKbLWdQ+AvPKVlfzGn68NHlUTyvw9Q8FJa I+OYZBOd5SRej1zB/RPWb8sSDA== X-Google-Smtp-Source: ABdhPJxEFPS4yI2UKBPZYVYHHGUEADdn/oo4ZI7S0StmG9hSxuFz1e5YOjLmg07b+nO4hMsKZnHO7g== X-Received: by 2002:a05:600c:a44:b0:38e:3ce3:3148 with SMTP id c4-20020a05600c0a4400b0038e3ce33148mr3542227wmq.26.1651324377553; Sat, 30 Apr 2022 06:12:57 -0700 (PDT) Received: from henark71.. ([109.77.36.132]) by smtp.gmail.com with ESMTPSA id p9-20020adfa209000000b0020c5253d8ebsm2004439wra.55.2022.04.30.06.12.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 06:12:57 -0700 (PDT) From: Conor Dooley To: krzk+dt@kernel.org, palmer@dabbelt.com, robh+dt@kernel.org Cc: conor.dooley@microchip.com, Cyril.Jean@microchip.com, daire.mcnamara@microchip.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, palmer@rivosinc.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Conor Dooley Subject: [PATCH v2 4/8] dt-bindings: riscv: microchip: document icicle reference design Date: Sat, 30 Apr 2022 14:09:19 +0100 Message-Id: <20220430130922.3504268-5-mail@conchuod.ie> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220430130922.3504268-1-mail@conchuod.ie> References: <20220430130922.3504268-1-mail@conchuod.ie> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220430_061258_837007_E1ABE0C5 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley Add a compatible for the icicle kit's reference design. This represents the FPGA fabric's contents & is versioned to denote which release of the reference design it applies to. Signed-off-by: Conor Dooley Signed-off-by: Conor Dooley --- .../devicetree/bindings/riscv/microchip.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/riscv/microchip.yaml b/Documentation/devicetree/bindings/riscv/microchip.yaml index 3f981e897126..c9d8fcc7a69e 100644 --- a/Documentation/devicetree/bindings/riscv/microchip.yaml +++ b/Documentation/devicetree/bindings/riscv/microchip.yaml @@ -17,10 +17,13 @@ properties: $nodename: const: '/' compatible: - items: - - enum: - - microchip,mpfs-icicle-kit - - const: microchip,mpfs + oneOf: + - items: + - enum: + - microchip,mpfs-icicle-kit + - const: microchip,mpfs + - items: + - const: microchip,mpfs-icicle-reference-rtlv2203 additionalProperties: true From patchwork Sat Apr 30 13:09:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12833230 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F2AAC433EF for ; Sat, 30 Apr 2022 13:13:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yQ0SZ8hfSgj+SgGfYHvCGUu4RqNd1si0VOS2s1QBPZY=; b=LvcVBNYCRtAKcL FcoTZaqIbEpGFde5TFo/RvL9ClZ/tSDnmercK7Kv1fvobuOwy0sn1BADk5m1Iv5a9q2iT9m8M5UOB qc1guH9zpdE2emz99F48Bpm2UZ31o4gmUOQnzWmRP1oCoeHw8UgwvScMNetLxc5HniqiaYIHPczhG ow/NfC6xnxqjk5A0PCatMYVtificbLI+G2l4CeXap1hu0SBbsY+RBU8dpO8AuumZYYf6Q4eWy5yKQ aCjUB2WmAkhSjlNUtARxOZZagzcn5JF5ek/I6QT5DEW0LyN7xI8AzoD1knPdOIZ71CRSW3gV54yFA jSDPtj1Qc5Zb0ZhV8jZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuS-00EJWY-7s; Sat, 30 Apr 2022 13:13:16 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuG-00EJML-Jb for linux-riscv@lists.infradead.org; Sat, 30 Apr 2022 13:13:08 +0000 Received: by mail-wr1-x431.google.com with SMTP id c11so4219013wrn.8 for ; Sat, 30 Apr 2022 06:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod-ie.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=l7Rc5OS3t5jH6ZKfP/hcCEMnf9UpuWYMdCo25UYCckg=; b=X9thXVlmcxmH1PE12wviFkCqeB+MZYit8NQzf7UG+cKxQdSXGYfNvp7epUsMhphPqw dgI0WpBh0Q16kC+ZyLeT3gTwo77RcBTLZdMSrV2LfXYUCnDCz9trJlWx4B6qkjb3UKcH /kwL7Y3RvEE71ZY7lCZrSxmxURm6ziJ/ptAjeQSh8WkExAGRC2DdTIw6RyuHUA0qIUQD aeDj/HfU6moCSAkfL+R0hj+IeFufhNBoyleaw0kmPvK2aA4eotgsq+ljwATz/XNDZBJO KyekhtyA4ptf7zq5UJYpNJUJHZB3KjExiMKo8fb/9Cidq4B5IFsDPeuwpSZ5mq6zs5zH vwag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=l7Rc5OS3t5jH6ZKfP/hcCEMnf9UpuWYMdCo25UYCckg=; b=1N9iLpZ23rN5vGgnEBcb38fxP8J6X3ZZQC2ugOrYFU2xdsd6iK2raDqH69wfwiwC8W /8b+W9cyGO0YtfOiuuAZvums6TLwIg0cuxoUc9GUfCNdsVaGQN7bfdYSzwzgW4Bk0V81 +aUGNxHXnJNad6HQM7/9wFU/iZKGCuHatTVs/EYIO6V9dUcTh9+HIk/CzEmiDUbYftXG RRTFLjvE9rA1O/9bKAk2m9jcDBZPQnruCn4XWHNqI3dYEg6En8KbXgbyvml2cAc1KCm4 8oBU/JSjlr9xMqzJ5t9yU/G3uyhjfQSjkjmqXUEGJZlNNKU86wxsZpqYEp5VnQN/VDbN ZQEQ== X-Gm-Message-State: AOAM531RfXEN3XJr3PeN5Ky/CXTO5n7mPxNdlvApu+Ca+lKg96mCZP7D WqAdOZj5rctCNF28UxmYAbWprA== X-Google-Smtp-Source: ABdhPJwfVdzniLJsxd2OkH7C13/Hxoma+jQxRAs+vM3HMP4eVaImC/GGXFNkSLzzDuWaaC2VqGfS6A== X-Received: by 2002:adf:e942:0:b0:20a:c907:90d6 with SMTP id m2-20020adfe942000000b0020ac90790d6mr3047537wrn.163.1651324378647; Sat, 30 Apr 2022 06:12:58 -0700 (PDT) Received: from henark71.. ([109.77.36.132]) by smtp.gmail.com with ESMTPSA id p9-20020adfa209000000b0020c5253d8ebsm2004439wra.55.2022.04.30.06.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 06:12:58 -0700 (PDT) From: Conor Dooley To: krzk+dt@kernel.org, palmer@dabbelt.com, robh+dt@kernel.org Cc: conor.dooley@microchip.com, Cyril.Jean@microchip.com, daire.mcnamara@microchip.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, palmer@rivosinc.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Conor Dooley Subject: [PATCH v2 5/8] riscv: dts: microchip: make the fabric dtsi board specific Date: Sat, 30 Apr 2022 14:09:20 +0100 Message-Id: <20220430130922.3504268-6-mail@conchuod.ie> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220430130922.3504268-1-mail@conchuod.ie> References: <20220430130922.3504268-1-mail@conchuod.ie> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220430_061304_706525_1A75B84A X-CRM114-Status: GOOD ( 11.72 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley Currently mpfs-fabric.dtsi is included by mpfs.dtsi - which is fine currently since there is only one board with this SoC upstream. However if another board was added, it would include the fabric contents of the Icicle Kit's reference design. To avoid this, rename mpfs-fabric.dtsi to mpfs-icicle-kit-fabric.dtsi & include it in the dts rather than mpfs.dtsi. Signed-off-by: Conor Dooley Signed-off-by: Conor Dooley --- .../microchip/{mpfs-fabric.dtsi => mpfs-icicle-kit-fabric.dtsi} | 2 ++ arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts | 1 + arch/riscv/boot/dts/microchip/mpfs.dtsi | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) rename arch/riscv/boot/dts/microchip/{mpfs-fabric.dtsi => mpfs-icicle-kit-fabric.dtsi} (93%) diff --git a/arch/riscv/boot/dts/microchip/mpfs-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi similarity index 93% rename from arch/riscv/boot/dts/microchip/mpfs-fabric.dtsi rename to arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi index ccaac3371cf9..7ee592e78c05 100644 --- a/arch/riscv/boot/dts/microchip/mpfs-fabric.dtsi +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi @@ -2,6 +2,8 @@ /* Copyright (c) 2020-2021 Microchip Technology Inc */ / { + compatible = "microchip,mpfs-icicle-reference-rtlv2203"; + core_pwm0: pwm@41000000 { compatible = "microchip,corepwm-rtl-v4"; reg = <0x0 0x41000000 0x0 0xF0>; diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts index 84b0015dfd47..739dfa52bed1 100644 --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts @@ -4,6 +4,7 @@ /dts-v1/; #include "mpfs.dtsi" +#include "mpfs-icicle-kit-fabric.dtsi" /* Clock frequency (in Hz) of the rtcclk */ #define RTCCLK_FREQ 1000000 diff --git a/arch/riscv/boot/dts/microchip/mpfs.dtsi b/arch/riscv/boot/dts/microchip/mpfs.dtsi index cc3386068c2d..695c4e2807f5 100644 --- a/arch/riscv/boot/dts/microchip/mpfs.dtsi +++ b/arch/riscv/boot/dts/microchip/mpfs.dtsi @@ -3,7 +3,6 @@ /dts-v1/; #include "dt-bindings/clock/microchip,mpfs-clock.h" -#include "mpfs-fabric.dtsi" / { #address-cells = <2>; From patchwork Sat Apr 30 13:09:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12833229 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9CF00C433F5 for ; Sat, 30 Apr 2022 13:13:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zAZxy0batwre8VZaq4KO0XccuKEbAZkiH7MF/WmWVog=; b=B91Me7FwepvnDt LYJTm61ZbYADBgAAI2yLTgdgdelzCYgWJkxjtilwdo0tW5ALCuYImxl0PLQFrxblFOj+U7huQtoXY lZ5RD8jXT4yF3tXTIcSftVZ/KBEqV3MLqi0tcTs85zY4iPm0/OMMSOPLsYX+2LU6UNtOe4sTmTtsR FfbXacAgU8YAc8x7YmcPjqDnuvSs5NR1GaTie/yR7V7qrASwt+6CdQS3mfh6JIJhrohgJSoTGufMs IIpSg822E8ew5DLg9amcOvsdlSIb9EwUumW15C2kgDDHCKlchfKQez5SrLGyabASuH0W9L7YJFqsV sraI7d5GS4dnMV4WGMyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuP-00EJUW-SP; Sat, 30 Apr 2022 13:13:13 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuI-00EJMj-Iu for linux-riscv@lists.infradead.org; Sat, 30 Apr 2022 13:13:08 +0000 Received: by mail-wm1-x331.google.com with SMTP id ay11-20020a05600c1e0b00b0038eb92fa965so8431707wmb.4 for ; Sat, 30 Apr 2022 06:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod-ie.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xYRDXpY3Iw2Mp2L+0vKKbLbTXTTo1snejpw1fL9RgNM=; b=U53G3o1zO2TfWVlvRkK8i7XxN1whWKxR20syfYHosot0Pj91VzSi2LEyZqdDh7kfrq ESp4RBFRHnhhskiNmRD0FQKf6Rtu9nmKrIFYAqzhmJ8/+4/60Th4hpZyD9Syi36FgMO4 gROxG2a2Es4t3+lm80t5o+PqPMvWZ0J+jEKDboaBDO8QVWYVmqH7rGMwXwesYGbz9HYf Oi5chDxwdMKBkgf+reDZAEeg9+SCarqF6U7DVhUt6lEqCssDu4HlxGgiiJjk/zKAKWeE nhIcoJlms6omOF0Z5ScPUvuhmiPG8Lii5VTQC57WigTFac9JUR1kOn6++7lZ4+14BDIW zQaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xYRDXpY3Iw2Mp2L+0vKKbLbTXTTo1snejpw1fL9RgNM=; b=Hrn0wOAKyXwqsweKCiYNSKZOFWh+l7OIoiscYCaz2SFafFLofVl0FuC0NytUZ1pCr3 3Ysx5hPK9nQh9lPvLFnRUvS+6iMan5QrQFcqM9vELoNZPMrnTl2zvQyoHqBdydBor3Sd BAk92ow1FPyLyGzlK26ZDEJdzjxxNoz/Ee1x+HBR/f4m0Kmf/GLdpJtN+AXhtqvTpJsm ldShlA8mQaCxhZAhHbbYUeUfTUHq7hmGGivkyi68zL/qTDM4q5qkkOQ+0dcnKf+xMQpD 7vABMK+yo40TMoHY/HK8wpYOOl+4ZI/KmLOGZIoK64KnZwtV1TTNAPdfI/pKKwybBYC/ NAsw== X-Gm-Message-State: AOAM532I4SG4Eh52QPZetrvMDJ52gaQcQ7TpHXDD+K0pS2gQcd26C7Ni 5S3wEnRvZk9Dy6OOySzMdSpmlQ== X-Google-Smtp-Source: ABdhPJx5TybxW4mPhyRc1B07zUGZnDh+cnuJd20nySqJGiwWmYa+KtUc1qkRi3Adv3YqzZXrvWGq6A== X-Received: by 2002:a05:600c:19c6:b0:392:926e:5023 with SMTP id u6-20020a05600c19c600b00392926e5023mr7558948wmq.110.1651324379745; Sat, 30 Apr 2022 06:12:59 -0700 (PDT) Received: from henark71.. ([109.77.36.132]) by smtp.gmail.com with ESMTPSA id p9-20020adfa209000000b0020c5253d8ebsm2004439wra.55.2022.04.30.06.12.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 06:12:59 -0700 (PDT) From: Conor Dooley To: krzk+dt@kernel.org, palmer@dabbelt.com, robh+dt@kernel.org Cc: conor.dooley@microchip.com, Cyril.Jean@microchip.com, daire.mcnamara@microchip.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, palmer@rivosinc.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Conor Dooley Subject: [PATCH v2 6/8] dt-bindings: vendor-prefixes: add Sundance DSP Date: Sat, 30 Apr 2022 14:09:21 +0100 Message-Id: <20220430130922.3504268-7-mail@conchuod.ie> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220430130922.3504268-1-mail@conchuod.ie> References: <20220430130922.3504268-1-mail@conchuod.ie> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220430_061306_684798_0F35E00E X-CRM114-Status: UNSURE ( 7.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley Sundance DSP Inc. (https://www.sundancedsp.com/) is a supplier of high-performance DSP and FPGA processor boards and I/O modules. Signed-off-by: Conor Dooley Signed-off-by: Conor Dooley Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 01430973ecec..1d47a38c2a2e 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1197,6 +1197,8 @@ patternProperties: description: Summit microelectronics "^sunchip,.*": description: Shenzhen Sunchip Technology Co., Ltd + "^sundance,.*": + description: Sundance DSP Inc. "^sunplus,.*": description: Sunplus Technology Co., Ltd. "^SUNW,.*": From patchwork Sat Apr 30 13:09:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12833228 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD2FDC433EF for ; Sat, 30 Apr 2022 13:13:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EAIp5ZKDpu8g4N3FFYvh/kWEfUjszvL9h0cGefZZpgk=; b=uLwcYzP7kMf2nb XblZtUJskg2EO7qntrZFCojpwn+Kc9tSNI9E7B9stDAsOqpUxxZnHqkdRSYyK2druP7wC6TTKNriB DylQY/c8ufdOH8aOftrBQsq2u5hzTlQdo8MtSIEDiTGlMvTBQe/cAuDIO+LBFPMANCxsN6M9Q4+iS yTqpvmYHmCt6xQp+l4yUrCwnjgKOqtgLHThBFUxjkWhlotgqORg/bdZ0u5U0PjKx8ifTgXVROIVEF 3w+TxGgwr6cBigbBfqWztZ9dUOJplfLvWnc6r4SVWXciGRW5/onj5U7ExXk4+Lqf16VIzXIk7pBk+ yxyZNd89qR5/tf28d1xg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuO-00EJTF-0i; Sat, 30 Apr 2022 13:13:12 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuH-00EJN2-MG for linux-riscv@lists.infradead.org; Sat, 30 Apr 2022 13:13:07 +0000 Received: by mail-wm1-x330.google.com with SMTP id p189so5984105wmp.3 for ; Sat, 30 Apr 2022 06:13:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod-ie.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2Ldjvg75trqwAdnOnSC1cbShnEwGZkL07QizR47KBI0=; b=3Q+LcRPAJonoG2Ba2IxaBDslynUXIxTEvrqhBNEZ6i7dnqdnblFID6Zx9ksmZECEzN 6lgj+D8WLHntXq2O9lJEtYI+n4tZCtCLw/Yv1Qqp6Vl5gvjfZ72Ik5yrqvbiOljGS9b7 Udt4fiet896JrQqswR/A3qdJwJYLFKwdVag0aQO/Wkqitfepz+snW3V1c7k7csLx2kQb cARJOxDJn7s6/G9pqRpmJRbzI2DB3YcTz5VVyJggtk5+BbPeWjIbK+VaSaY+yOTXauUL UuebwGCM8gPg1UZp4G/s+86pJzcs4PH0Vad9UZOQWHXL+m35eqzIke3O+K7trCfvqj8p XMaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2Ldjvg75trqwAdnOnSC1cbShnEwGZkL07QizR47KBI0=; b=dUj99IbZhMCfwJJSxWIX9207i3SbL1GTvAZVIHWSVpQqT88XEqUGXAaGBHSluDM8E5 3iM/SngdLqkR649RTnLyx+bZ36jChSUPWBjpREnb3rkl2Q+y7taPXQyozNcTQbea4gPA GtFVavLAshFsmPYc8Hb3TJxLuFhAlfpNpQ21jTmW4b3KsBYf7VrwTIiupCBRr6ZJmT5O 4+QnTAKpMJnO1zvH8AwGYZafY/ViU/6xVeZpe248R/OGD5seoXfpVCRr2N4yFlr83PqE k7rIlJM5yzA6GD4UwsGlwx0CY0NVFmkj6uzHoA+n/FuVigIHeqh9uAXWFDBal/hLGtAx RpNw== X-Gm-Message-State: AOAM5325pNxQm+9dVuHtc1Q7OsyjLU2X35Ugvje/sZO0dyYwbdyOF/JD Uysm4JwTyfiKyxXNhOh4Nbp4RQ== X-Google-Smtp-Source: ABdhPJwCuW2uPEbg66rIDyyS+5v2XYGjunNR1Scwt3xYvOnicye2eTMHVsC/c2tFquBud2iD8rYJ9g== X-Received: by 2002:a05:600c:198f:b0:392:9120:c6ee with SMTP id t15-20020a05600c198f00b003929120c6eemr7704932wmq.18.1651324380909; Sat, 30 Apr 2022 06:13:00 -0700 (PDT) Received: from henark71.. ([109.77.36.132]) by smtp.gmail.com with ESMTPSA id p9-20020adfa209000000b0020c5253d8ebsm2004439wra.55.2022.04.30.06.12.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 06:13:00 -0700 (PDT) From: Conor Dooley To: krzk+dt@kernel.org, palmer@dabbelt.com, robh+dt@kernel.org Cc: conor.dooley@microchip.com, Cyril.Jean@microchip.com, daire.mcnamara@microchip.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, palmer@rivosinc.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Conor Dooley Subject: [PATCH v2 7/8] dt-bindings: riscv: microchip: add polarberry compatible string Date: Sat, 30 Apr 2022 14:09:22 +0100 Message-Id: <20220430130922.3504268-8-mail@conchuod.ie> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220430130922.3504268-1-mail@conchuod.ie> References: <20220430130922.3504268-1-mail@conchuod.ie> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220430_061305_793187_C22E8B85 X-CRM114-Status: UNSURE ( 8.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley Add a binding for the Sundance Polarberry board. Signed-off-by: Conor Dooley Signed-off-by: Conor Dooley Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/riscv/microchip.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/riscv/microchip.yaml b/Documentation/devicetree/bindings/riscv/microchip.yaml index c9d8fcc7a69e..7f9296991a56 100644 --- a/Documentation/devicetree/bindings/riscv/microchip.yaml +++ b/Documentation/devicetree/bindings/riscv/microchip.yaml @@ -21,6 +21,7 @@ properties: - items: - enum: - microchip,mpfs-icicle-kit + - sundance,polarberry - const: microchip,mpfs - items: - const: microchip,mpfs-icicle-reference-rtlv2203 From patchwork Sat Apr 30 13:09:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12833227 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C5FD4C433EF for ; Sat, 30 Apr 2022 13:13:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YQcb4InWO6QdW34ITWdRUw9uw4I/S4s23I+q0Tj5ce0=; b=DIW6fIng3e+gz2 yC7CUsaurRPdeSgEenxn6L8YXk3UuVGYTYPIrCE1dj6RQUp29Gtm0Z/D8zTsEruQbst9bBr7XML6+ tgJ2oMV4ABaSfaEm7rvHmN8xObaSF0YbAlKgd0iG7heLZtMF5NckT+fx4nl7YHggiHkv5bajlRDrR YWQLV88/k8l1cRh+yVz0J+HOMaXbhRc1NRJ5irB9s3i1M8bj1S7hqNsALGH3h/SYUZc0eMMY2gZd9 RHwX86WjGr9SodPiSenjCpTRzpr5rGwsTy7qyXgI1zTttuhvP8Eaodpj0Tb56qajAVATpW73Opbfc MWb8FsicuByzOAjr0koA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuM-00EJRj-5P; Sat, 30 Apr 2022 13:13:10 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkmuF-00EJNa-CE for linux-riscv@lists.infradead.org; Sat, 30 Apr 2022 13:13:06 +0000 Received: by mail-wr1-x435.google.com with SMTP id t6so14065921wra.4 for ; Sat, 30 Apr 2022 06:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod-ie.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5BDpWQnhgIgr6un23nDrSpiOtZvz8Bid/I/OR7bUXBg=; b=SlG01VQDuxSxdPy8VMdSmhznbCqvszukWiPbnb3FyMJXyipQCen4pPNN94SZggFHBR Khv8/STbGnjHar2BvWcMavvK+nWHNx4/vLDyhSmKF1w724sCgNYYjRtvGQEwbJnjRTnI SsCBr2A7+YyYPewKZbXskdXlem0Tx0wsiuw0sTypY8DTgT8EJBv4p9x1e8jA5Gfnv02n YJkDQH5oaeAP9EjFiV4q4h3/aZgXkSeR+WJ8b1+dsG8AI3hq2n081ke8V2vUU6UX3Evk bcIsgmakIN3lF27zSgQVwm4S1yL2dE9uKV+ImcWStQjPfAsY4OfloiF484vCfyGRcmmN 27hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5BDpWQnhgIgr6un23nDrSpiOtZvz8Bid/I/OR7bUXBg=; b=cXblokTo52NqmzmMCcMxbx6LHj184Gyw1AMGfh1DlNb4HdnU5C+IN6TnDwrU2QIaiU qGQ7qvzMNUGK6ncGMmJbsiQbo2WOXcgvzc262b/D1/bk5lt7ONAW6HcuO0Yk4l8KKCtS StKvQP3Hn+jjOu5ZUyh/60L8GzutsH9ZqwXwempx11Y3lffpTUgqaZGD1gcezi85MhNl yUJgrryGRVg9YUzply3xuJ0ESFFwcCcl54F3Pb7QzdZkBi0atz3mSiL+m0gyYw3BiwE3 PwdgW/FJvwG9vwAEjHhVy4iwoL0ljg+912x86qTjcu+vjmTKiokLEnLpnclsXbxMirQB rgGA== X-Gm-Message-State: AOAM531Wd00vzhOC/5sjz/hdA7aee1x3crDq1l0A6T474o1LgwinLR6w ms8KHo/iPCi+eD3aaQ6zDlHWm+emE6gUwQIQ X-Google-Smtp-Source: ABdhPJzGWomTAcKYy8TjYtr6rv50Fq2fu7zj7OZUjLU0Hb9oHeoK5Z30y35gwYrn24hopjf/OilbsA== X-Received: by 2002:a05:6000:1689:b0:20c:4fa1:ffb7 with SMTP id y9-20020a056000168900b0020c4fa1ffb7mr3111374wrd.48.1651324382219; Sat, 30 Apr 2022 06:13:02 -0700 (PDT) Received: from henark71.. ([109.77.36.132]) by smtp.gmail.com with ESMTPSA id p9-20020adfa209000000b0020c5253d8ebsm2004439wra.55.2022.04.30.06.13.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 06:13:01 -0700 (PDT) From: Conor Dooley To: krzk+dt@kernel.org, palmer@dabbelt.com, robh+dt@kernel.org Cc: conor.dooley@microchip.com, Cyril.Jean@microchip.com, daire.mcnamara@microchip.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, palmer@rivosinc.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Conor Dooley Subject: [PATCH v2 8/8] riscv: dts: microchip: add the sundance polarberry Date: Sat, 30 Apr 2022 14:09:23 +0100 Message-Id: <20220430130922.3504268-9-mail@conchuod.ie> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220430130922.3504268-1-mail@conchuod.ie> References: <20220430130922.3504268-1-mail@conchuod.ie> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220430_061303_461234_BD2A0DFB X-CRM114-Status: GOOD ( 14.79 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley Add a minimal device tree for the PolarFire SoC based Sundance PolarBerry. Signed-off-by: Conor Dooley Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/microchip/Makefile | 1 + .../dts/microchip/mpfs-polarberry-fabric.dtsi | 16 ++++ .../boot/dts/microchip/mpfs-polarberry.dts | 95 +++++++++++++++++++ 3 files changed, 112 insertions(+) create mode 100644 arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi create mode 100644 arch/riscv/boot/dts/microchip/mpfs-polarberry.dts diff --git a/arch/riscv/boot/dts/microchip/Makefile b/arch/riscv/boot/dts/microchip/Makefile index af3a5059b350..39aae7b04f1c 100644 --- a/arch/riscv/boot/dts/microchip/Makefile +++ b/arch/riscv/boot/dts/microchip/Makefile @@ -1,3 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_SOC_MICROCHIP_POLARFIRE) += mpfs-icicle-kit.dtb +dtb-$(CONFIG_SOC_MICROCHIP_POLARFIRE) += mpfs-polarberry.dtb obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi new file mode 100644 index 000000000000..49380c428ec9 --- /dev/null +++ b/arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* Copyright (c) 2020-2022 Microchip Technology Inc */ + +/ { + fabric_clk3: fabric-clk3 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <62500000>; + }; + + fabric_clk1: fabric-clk1 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <125000000>; + }; +}; diff --git a/arch/riscv/boot/dts/microchip/mpfs-polarberry.dts b/arch/riscv/boot/dts/microchip/mpfs-polarberry.dts new file mode 100644 index 000000000000..96ec589d1571 --- /dev/null +++ b/arch/riscv/boot/dts/microchip/mpfs-polarberry.dts @@ -0,0 +1,95 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* Copyright (c) 2020-2022 Microchip Technology Inc */ + +/dts-v1/; + +#include "mpfs.dtsi" +#include "mpfs-polarberry-fabric.dtsi" + +/* Clock frequency (in Hz) of the rtcclk */ +#define MTIMER_FREQ 1000000 + +/ { + model = "Sundance PolarBerry"; + compatible = "sundance,polarberry", "microchip,mpfs"; + + aliases { + serial0 = &mmuart0; + ethernet0 = &mac1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + cpus { + timebase-frequency = ; + }; + + ddrc_cache_lo: memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x2e000000>; + status = "okay"; + }; + + ddrc_cache_hi: memory@1000000000 { + device_type = "memory"; + reg = <0x10 0x00000000 0x0 0xC0000000>; + status = "okay"; + }; +}; + +&refclk { + clock-frequency = <125000000>; +}; + +&mmuart0 { + status = "okay"; +}; + +&mmc { + status = "okay"; + bus-width = <4>; + disable-wp; + cap-sd-highspeed; + cap-mmc-highspeed; + card-detect-delay = <200>; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; + sd-uhs-sdr104; +}; + +&mac1 { + status = "okay"; + phy-mode = "sgmii"; + phy-handle = <&phy1>; + phy1: ethernet-phy@5 { + reg = <5>; + ti,fifo-depth = <0x01>; + }; + phy0: ethernet-phy@4 { + reg = <4>; + ti,fifo-depth = <0x01>; + }; +}; + +&mac0 { + status = "disabled"; + phy-mode = "sgmii"; + phy-handle = <&phy0>; +}; + +&rtc { + status = "okay"; +}; + +&mbox { + status = "okay"; +}; + +&syscontroller { + status = "okay"; +};