From patchwork Mon Oct 17 09:42:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 1690751 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=clCix6a4; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MrX8w4zDLz23kX for ; Mon, 17 Oct 2022 20:42:39 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1okMdj-0001rr-GS; Mon, 17 Oct 2022 09:42:31 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1okMdg-0001r9-Cc for kernel-team@lists.ubuntu.com; Mon, 17 Oct 2022 09:42:28 +0000 Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (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-1.canonical.com (Postfix) with ESMTPS id 260CB3F475 for ; Mon, 17 Oct 2022 09:42:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1665999748; bh=QYOLESthPXzJdBxhKxBWAPe0LOfrscQbRpQPQtSQCQo=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=clCix6a4HJL+MaSpzHrko5jZJdVVsVpNCkWJ7AqRm+zAxFoISvteAVSTQTkfQ/rJm WgiBhG3E5khaoIO5SFIrvPRuPlGtt/cdr0IoDX99gPRJDUy7leqaJFas9IQNIz5UYJ zQ95D+//20TtPpG5kB7oenkmiUp4jPAx5wDhc4w447ZvagscbZoPSPID+OitE0J+RO hSgEEBxreqfol7h03f5mkj8iirxQB0L6bQCMK5EtEfhSH529N2wrl+ld7iPuF6pfyz Os9ObYBd42tnPeBgn5J/URyuEaHaygc91DQ4pmUr1uWNGTwqOvngzcxdGpdctlWfsP pJNe9IvHgR90g== Received: by mail-qt1-f200.google.com with SMTP id a19-20020a05622a02d300b0039a3711179dso8036892qtx.12 for ; Mon, 17 Oct 2022 02:42:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QYOLESthPXzJdBxhKxBWAPe0LOfrscQbRpQPQtSQCQo=; b=VzRCdNXsjFCtefcPWHQRwUzSTxE25FxBPcFjFZa+Bj2nBQstspMqbhulXQAZK6tz28 So0T77tHcACgZiyMSQRrXEfnJ8eFdLUooihhbYhtF8Ho/+JSyOyCFW0xZtA7F/tDtbR5 hmS9nThO1thUZvXU/EL4wmGOdyZ2D+jjP1Y5osR0zmIGTOPYasF0fL71RhdH6PG9Q9YG +uvljrObmGO86FyLU/XGj7Q7xRlXmNFJz2YQZl16Wd6gxIpWzktBHiqFyaUJG/wkau/E dXEYlHoWpXEuS0WnUFrvKKSrlT55m2OIvoxQyTpwAwVYTs9aRfRjWhmDGAbRdnByJoCh rxxw== X-Gm-Message-State: ACrzQf2ocgb5Ay2N1j1ARWmNp/iLuc8k2rgog2pB9m3IGZ8usb4vXiSz /Bc0sUf9Vlzpx6yMF2FaB/5YQk3Ps1eoolWYbINdQb7JhBFET34/RaGHlIzfDjLMdyJVLHH1vDw A4bjoTphB+j/WNlyhHG8ZxXHXKM4oSucHb91U53gh4w== X-Received: by 2002:a05:622a:3:b0:39c:e2d9:2fa2 with SMTP id x3-20020a05622a000300b0039ce2d92fa2mr7267798qtw.582.1665999747161; Mon, 17 Oct 2022 02:42:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6kkdbyCVgUYdVzFVaIXqjhVe2H75ut8+hFodYtY4g1CWNoKzHDxsG4rxATk39kctrhZ+A49w== X-Received: by 2002:a05:622a:3:b0:39c:e2d9:2fa2 with SMTP id x3-20020a05622a000300b0039ce2d92fa2mr7267789qtw.582.1665999746902; Mon, 17 Oct 2022 02:42:26 -0700 (PDT) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id fa11-20020a05622a4ccb00b0035cf0f50d7csm7413287qtb.52.2022.10.17.02.42.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 02:42:26 -0700 (PDT) From: Emil Renner Berthing To: kernel-team@lists.ubuntu.com Subject: [SRU][K][PATCH 1/5] riscv: dts: microchip: icicle: re-jig fabric peripheral addresses Date: Mon, 17 Oct 2022 11:42:15 +0200 Message-Id: <20221017094219.250906-2-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221017094219.250906-1-emil.renner.berthing@canonical.com> References: <20221017094219.250906-1-emil.renner.berthing@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Conor Dooley BugLink: https://bugs.launchpad.net/bugs/1993148 When users try to add onto the reference design, they find that the current addresses that peripherals connected to Fabric InterConnect (FIC) 3 use are restrictive. For the v2022.09 reference design, the peripherals have been shifted down, leaving more contiguous address space for their custom IP/peripherals. Signed-off-by: Conor Dooley (cherry picked from commit ab291621a8b85269496ae9a964b6d49cd1e030c8) Signed-off-by: Emil Renner Berthing --- arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi index 0d28858b83f2..33a373692e2e 100644 --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi @@ -4,18 +4,18 @@ / { compatible = "microchip,mpfs-icicle-reference-rtlv2203", "microchip,mpfs"; - core_pwm0: pwm@41000000 { + core_pwm0: pwm@40000000 { compatible = "microchip,corepwm-rtl-v4"; - reg = <0x0 0x41000000 0x0 0xF0>; + reg = <0x0 0x40000000 0x0 0xF0>; microchip,sync-update-mask = /bits/ 32 <0>; #pwm-cells = <2>; clocks = <&fabric_clk3>; status = "disabled"; }; - i2c2: i2c@44000000 { + i2c2: i2c@40000200 { compatible = "microchip,corei2c-rtl-v7"; - reg = <0x0 0x44000000 0x0 0x1000>; + reg = <0x0 0x40000200 0x0 0x1000>; #address-cells = <1>; #size-cells = <0>; clocks = <&fabric_clk3>; From patchwork Mon Oct 17 09:42:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 1690749 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=GvtG/fF6; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MrX8w3tz9z23kV for ; Mon, 17 Oct 2022 20:42:39 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1okMdj-0001sG-P9; Mon, 17 Oct 2022 09:42:31 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1okMdh-0001rT-Oy for kernel-team@lists.ubuntu.com; Mon, 17 Oct 2022 09:42:29 +0000 Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (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-1.canonical.com (Postfix) with ESMTPS id 1FB303F475 for ; Mon, 17 Oct 2022 09:42:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1665999749; bh=gNn2lJuRtyG+4/b+yW/UB4VLl5FJC00+0SBqR3zukdM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GvtG/fF6wD4MaHh5Xh3dzHCfEQPZmBagFKeKOOWov2WQr8Vk44MKn6wfF6ltVTh7A Px/kTWCfyYZ9j9ex1cgzwsotrhBIUJ0VVGTaXHxb+gMR2UKlP4mzo3FQAQYGy6Y2fm endrw/VQP+tWdhz7aFqMlQ7DNsZTe/V7VoXzucZ/jVFAA+4zspLYR4ySgVqnHJ9+00 3IBsVoscrs/Zu6tsN68U4qcNmisHhyOkFEorOq6WzjRaPWaX6djzX/ps40wc8EZ17W yAx9SXy4XETbqX6i3xof3TliuQjt6RGqI0kgNZYwACzNfhB8b7AY8P5Iv7xcxQklqe c7ThRQnXl/zzg== Received: by mail-qt1-f200.google.com with SMTP id br5-20020a05622a1e0500b00394c40fee51so8072840qtb.17 for ; Mon, 17 Oct 2022 02:42:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gNn2lJuRtyG+4/b+yW/UB4VLl5FJC00+0SBqR3zukdM=; b=6iAplVtkTRBAzVcBdiwijahyvO2qLwRPRJJAhE734SF8br/ziuMo39u4P9VHVbiAu9 AljNqfmq66k64cBK10PK/AyB4bzleY0zCNsinJpWoyFZVKU1qBb7Qx46uXLwiWkLArjK Jdvw6S6r1P2LtEuvDC7EQvyLh28zTShxuCGtr/W3gmzJd7Svl5AUxDHb10vaNmXD3DoH eICVGSBSHHXr3FQciVIXCjYGPWZQZP83DmxPkw+lJxFLJwUyssQ98CFj9uD15Y7jIDOk veNCzWKVKK7XELm84yStAn0XG/kKcknTiABummfxAMlPdZETq5FRmvaZhybf1XEg4m4R oFog== X-Gm-Message-State: ACrzQf3xDKAWYgbnk84cqoTzSAZHMgEfHg4hrliDAYAqtyY1Pk2ou5Be siLcG09bNnEdrKjuB0+T8FhvmWW0KMBGjt+3OOnBaGGWAjVQ8I5uI4jIOp8GgIBOx6g2bLgsFoN WW+9RndyuNCb8BSY/lGZEdIpWipg4HMvqDlUULvPHvQ== X-Received: by 2002:a37:b2c5:0:b0:6df:f8d6:6ea0 with SMTP id b188-20020a37b2c5000000b006dff8d66ea0mr6914610qkf.386.1665999748162; Mon, 17 Oct 2022 02:42:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM677kC0Qi2ikZyPadmxrvA/ZDR3oD+Wa6FueF0MTZG+Jr+VWuSsPFEY6IGCSaRUGtkeS8x+CQ== X-Received: by 2002:a37:b2c5:0:b0:6df:f8d6:6ea0 with SMTP id b188-20020a37b2c5000000b006dff8d66ea0mr6914606qkf.386.1665999747919; Mon, 17 Oct 2022 02:42:27 -0700 (PDT) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id fa11-20020a05622a4ccb00b0035cf0f50d7csm7413287qtb.52.2022.10.17.02.42.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 02:42:27 -0700 (PDT) From: Emil Renner Berthing To: kernel-team@lists.ubuntu.com Subject: [SRU][K][PATCH 2/5] riscv: dts: microchip: reduce the fic3 clock rate Date: Mon, 17 Oct 2022 11:42:16 +0200 Message-Id: <20221017094219.250906-3-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221017094219.250906-1-emil.renner.berthing@canonical.com> References: <20221017094219.250906-1-emil.renner.berthing@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Conor Dooley BugLink: https://bugs.launchpad.net/bugs/1993148 For the v2022.09 release of the reference design, the fic3 clock rate been reduced from 62.5 MHz to 50 MHz as it allows timing to be closed significantly more quickly by customers who chose to build the reference design themselves. Signed-off-by: Conor Dooley (cherry picked from commit fa52935abef422d119dda3c10c02787a86e6289d) Signed-off-by: Emil Renner Berthing --- arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi index 33a373692e2e..2888bfd05fbe 100644 --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi @@ -28,7 +28,7 @@ i2c2: i2c@40000200 { fabric_clk3: fabric-clk3 { compatible = "fixed-clock"; #clock-cells = <0>; - clock-frequency = <62500000>; + clock-frequency = <50000000>; }; fabric_clk1: fabric-clk1 { From patchwork Mon Oct 17 09:42:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 1690754 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=BKKqXucq; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MrX905t8qz23jp for ; Mon, 17 Oct 2022 20:42:44 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1okMdp-0001xF-15; Mon, 17 Oct 2022 09:42:37 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1okMdi-0001rb-RZ for kernel-team@lists.ubuntu.com; Mon, 17 Oct 2022 09:42:30 +0000 Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) (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 F30593F465 for ; Mon, 17 Oct 2022 09:42:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1665999750; bh=iTEgUChhh8nexvyyFBheuYFG6ZRjJu/xbfpQCldCoMI=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BKKqXucqP/IzD4oxhbnKUMmshHXACZ/ooQxJcbehT7CyTMl9wjZs3CUfKLK5mEgXX VVYoRbDoTwtQb6Bxw+VYNKYdxjgyVF2t25W2bRI+sEjq5vXeqiVd+o6gCmu3xb91gl c/IcLiOyRvLu7foHghlBhjUNdTiptbvjkrPouUfivCKOlVjE4WGyMkx/vYI6djGFqp ESvOzS+k6E0x/erZNTqk4uWHDwZWsK9KipEIQM06VBroBjIT+coHDMpSBJP/STTd5f TatJLBF/2RCHOkc/KHXe/d47rOzLxd1zarZWa3yPnH5HgrhOJVJx7K/OPU2qb2pwxY v0PZfynrYh7fw== Received: by mail-qt1-f199.google.com with SMTP id 17-20020ac85711000000b0039ccd4c9a37so8026038qtw.20 for ; Mon, 17 Oct 2022 02:42:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iTEgUChhh8nexvyyFBheuYFG6ZRjJu/xbfpQCldCoMI=; b=7DQrhuu91SB34/DTBGOTAFdx+xHscbguGKq38DbB05VSFl0WtPFnKBfMNmRlS+x8KX QrM6rnZNo1DuZxOAORDnmgVtwUmP9FfpyMVMfgEGnJERRan1tu7C0MOQr5FO0dhN28Wy 6Ex/QI8BWB98/rsGliA1nzwGcMjXfBm5p0gjo5/xQpBVANkT64ElPeduAT7hkoZPloMb vu4PJJyaH0ZpsxEPOmZ/cwhTjzlT+67pbbiKfHcJVufYXezJE7lNoTafywxoQt4DKQhp y/7E1WIypoJdvk3IBih8kYcXY2ERyVn93yhSaVqmmX07uNXJka5ZXEIHY3HxwuBMP49V G44w== X-Gm-Message-State: ACrzQf3Jw+24QgJ0+heXd621Eqp4WFuzIsI0NBuaSeDjxdZF7ME+Juse 7qFBeaCY4+xWeupJAsCsF8r8ndxgJx3S+njgm1pNsga4KhoNtln1jT2ea3jaNqRX3IEdB5Mhiux pfKXGZvGBJ2HatYdWIQ7PHE2a2ZeoEXQ7DGgX2M7NLw== X-Received: by 2002:ad4:5dce:0:b0:4b3:c93f:2b2c with SMTP id m14-20020ad45dce000000b004b3c93f2b2cmr7575051qvh.16.1665999749018; Mon, 17 Oct 2022 02:42:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5/fO6VkWKkZT9LxqAd3kzIBLY1mHbjPWQdV1eyizeIMU3l88UK3aGtGk9RUSPl4DXuURMFsQ== X-Received: by 2002:ad4:5dce:0:b0:4b3:c93f:2b2c with SMTP id m14-20020ad45dce000000b004b3c93f2b2cmr7575042qvh.16.1665999748798; Mon, 17 Oct 2022 02:42:28 -0700 (PDT) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id fa11-20020a05622a4ccb00b0035cf0f50d7csm7413287qtb.52.2022.10.17.02.42.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 02:42:28 -0700 (PDT) From: Emil Renner Berthing To: kernel-team@lists.ubuntu.com Subject: [SRU][K][PATCH 3/5] riscv: dts: microchip: update memory configuration for v2022.10 Date: Mon, 17 Oct 2022 11:42:17 +0200 Message-Id: <20221017094219.250906-4-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221017094219.250906-1-emil.renner.berthing@canonical.com> References: <20221017094219.250906-1-emil.renner.berthing@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Conor Dooley BugLink: https://bugs.launchpad.net/bugs/1993148 In the v2022.10 reference design, the seg registers are going to be changed, resulting in a required change to the memory map in Linux. A small 4M reservation is made at the end of 32-bit DDR to provide some memory for the HSS to use, so that it can cache its payload.bin between reboots of a specific context. Signed-off-by: Conor Dooley (cherry picked from commit 6c1193301791d3fcc0ad9ff3b861a8216e00773b) Signed-off-by: Emil Renner Berthing --- arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts index f3f87ed2007f..46210cb67de6 100644 --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts @@ -32,15 +32,26 @@ cpus { ddrc_cache_lo: memory@80000000 { device_type = "memory"; - reg = <0x0 0x80000000 0x0 0x2e000000>; + reg = <0x0 0x80000000 0x0 0x40000000>; status = "okay"; }; ddrc_cache_hi: memory@1000000000 { device_type = "memory"; - reg = <0x10 0x0 0x0 0x40000000>; + reg = <0x10 0x40000000 0x0 0x40000000>; status = "okay"; }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + hss_payload: region@BFC00000 { + reg = <0x0 0xBFC00000 0x0 0x400000>; + no-map; + }; + }; }; &core_pwm0 { From patchwork Mon Oct 17 09:42:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 1690752 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=JG6awadM; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MrX8y4vDSz23jp for ; Mon, 17 Oct 2022 20:42:42 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1okMdm-0001u9-UX; Mon, 17 Oct 2022 09:42:34 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1okMdj-0001s2-RU for kernel-team@lists.ubuntu.com; Mon, 17 Oct 2022 09:42:31 +0000 Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) (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 70E5E3F465 for ; Mon, 17 Oct 2022 09:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1665999751; bh=GRbbEUoowQpw6db4M9w+JM6k/4tlu2YHcB1RhJMuBCU=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JG6awadMr/hibpZtc8JzWpiMbVtgGuLsYrpErlpD+L3WgCgTGS9+gN/UZxFxSeWyW 5wGK0oTBi24jFPrAcLkAI5dsnK2PKqyXlzTJBH49o2Khl/E/Gpm5dYJ0/HMZe53NYs Hdcws4hexvTenCDV7g7EMqiuysnaCViQou4fMQgSGjxtrWzr+bMZq8WRdN9NVSJey7 6vYT/xfRYYZveFwDnjrgZVBarxdGgNZBYTFal/5biZrCm5kxbqjRrLDigOcA55WyeG fR+IdZ5xUvCP+ckcPKL1/ZhIdJA/nYk9Ths0XQhvqzQvxzFoO+eTqpWqmRZnwrrVnX jYJMeQhKXQPEg== Received: by mail-qk1-f200.google.com with SMTP id w13-20020a05620a424d00b006e833c4fb0dso9050698qko.2 for ; Mon, 17 Oct 2022 02:42:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GRbbEUoowQpw6db4M9w+JM6k/4tlu2YHcB1RhJMuBCU=; b=OtgZt95Iax4v0kCwkSUZiEN94vUCiH1i9Zbsxk3Icp0oPDdHYDvVG5HvKgZfCELY3O qyL7UquLm/msokFCZ4DswZQs/E0NigwOHaO1ZvV2w4kWpdm1nYArq9Ns8f+th9ZCNmcd 5E9pjf/kyFafRYsEfqUkGZfYaYlQIBtt4OXUDDUXqIyPYbllKC7egZQuGfqmBHXl0HCX bELnlj7jSKFoGYapZwIAePF6AkPRd2nnk8IFUs1vGTXZKz+KpGB45LXJjxKiVeTri4ru HXDN8m0XlwYaaF1sOhnCZ4pCCKSqXF3Gngn4OvKmMG3788Sr2ZtSt3zstQJPiUeJCq/T d4jA== X-Gm-Message-State: ACrzQf3c3r2qkvr8kJfrLPORMmSFr4kCF+sH+Y/LEls1cd8+G15FrOd4 rkmdh9UgfgIa9MQCck8DYv8J4m2rA0y6a5o5IldnIpQDreWuVCattu2itKS96n0y3Q1fg7leKHd MIiDx5JAeVkLdXTDbHoTnYSi/DnhVOX8gRBAEkobJ0g== X-Received: by 2002:a05:620a:25c8:b0:6ae:2408:6e9a with SMTP id y8-20020a05620a25c800b006ae24086e9amr6960415qko.222.1665999750215; Mon, 17 Oct 2022 02:42:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6/lcartOG+IttckgWYvNU79Fts/SuWR5KZaNle4YuO8OWMpClZCzTwGD8NfGcbY5Z8fpywVA== X-Received: by 2002:a05:620a:25c8:b0:6ae:2408:6e9a with SMTP id y8-20020a05620a25c800b006ae24086e9amr6960406qko.222.1665999749927; Mon, 17 Oct 2022 02:42:29 -0700 (PDT) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id fa11-20020a05622a4ccb00b0035cf0f50d7csm7413287qtb.52.2022.10.17.02.42.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 02:42:29 -0700 (PDT) From: Emil Renner Berthing To: kernel-team@lists.ubuntu.com Subject: [SRU][K][PATCH 4/5] riscv: dts: microchip: fix fabric i2c reg size Date: Mon, 17 Oct 2022 11:42:18 +0200 Message-Id: <20221017094219.250906-5-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221017094219.250906-1-emil.renner.berthing@canonical.com> References: <20221017094219.250906-1-emil.renner.berthing@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Conor Dooley BugLink: https://bugs.launchpad.net/bugs/1993148 The size of the reg should've been changed when the address was changed, but obviously I forgot to do so. Fixes: ab291621a8b8 ("riscv: dts: microchip: icicle: re-jig fabric peripheral addresses") Signed-off-by: Conor Dooley (cherry picked from commit c210b91818e81068ca2573c20684644b8e110a07) Signed-off-by: Emil Renner Berthing --- arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi index 2888bfd05fbe..36c71e24aac1 100644 --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi @@ -15,7 +15,7 @@ core_pwm0: pwm@40000000 { i2c2: i2c@40000200 { compatible = "microchip,corei2c-rtl-v7"; - reg = <0x0 0x40000200 0x0 0x1000>; + reg = <0x0 0x40000200 0x0 0x100>; #address-cells = <1>; #size-cells = <0>; clocks = <&fabric_clk3>; From patchwork Mon Oct 17 09:42:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 1690753 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=fFaVjrcR; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MrX8z1py2z23kV for ; Mon, 17 Oct 2022 20:42:43 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1okMdn-0001ub-75; Mon, 17 Oct 2022 09:42:35 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1okMdk-0001t4-Pn for kernel-team@lists.ubuntu.com; Mon, 17 Oct 2022 09:42:32 +0000 Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) (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-1.canonical.com (Postfix) with ESMTPS id 752A23F475 for ; Mon, 17 Oct 2022 09:42:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1665999752; bh=BYA51nPB9VtYbxtTTB4F3/7leUCOkc4iHsgsITNCgnk=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=fFaVjrcR0v1unSV2XEpHEPh6q1yjbBHEENsLxAdNXSjiK1xbjHXNSrkt8QuhOP0Fz RLvAIbUrpwHe5vsu1OfTQTwpVIpCbBEqET8SgkRHBY1Gj69+qt1HafxaP3lAQOR9zO tIESI+UyzfPy9whRLI/l0v54b5nyfWYu6h+xHHKFpcjU6XUzRjUX+7bQ/3ShoMgEl2 SyjCc1gh559/JNcUUjnmCKABdtIpzkbH/8Z25DVeUDwmB/7yBZxS0xYua9+7D0kmy4 HAKhsxGIRitxQykRhq90IWWPujoWAfuStYmXmhYTLf03LrjHolu+ADz4yfatq2peae pCAKVntOOZ5gw== Received: by mail-qk1-f199.google.com with SMTP id o13-20020a05620a2a0d00b006cf9085682dso9041340qkp.7 for ; Mon, 17 Oct 2022 02:42:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BYA51nPB9VtYbxtTTB4F3/7leUCOkc4iHsgsITNCgnk=; b=NIeUR/btbzTwQczeluzQcrHNXiBq4iMMHu8S8J3FD2go/42dHy/IrEhAfr+7AQx93c xQb91194AATB9JxqiB222bU8W1ZmyTNFKez66lr5Qss4qHdmjnzW4PKNNVGdSTUxZ94F Rnbax9oBmUyUYPNal97s+3o5nbL1jFU2SpTKCullUM85yeWOTrvTUMwcB3uxDTeZMR+S XU19Q5AtJT45TOP6yJ/6iHih0XSKZyrUAgEE75QcrWcli7fhyO7bohlndvmId9l4hw8M zCuLsUcpfcBg9FUtXEu6pZmrPyqyztJvI6Ycw1qMBvXusQckb1N8rtKoFvJYXHxXP7mr Vl5g== X-Gm-Message-State: ACrzQf3CDkH62ZJyov5UnDofJ8SRlprcX2YjFzXeP6OXqI+IiX3JIeNC WjqyFFYkQ6Kjhat+t/UnLzEiS1VIalBjuRWhvcWMGqSwQRbb2di2b2A7Elx/Oi2VXzexUKXyyrt Ucz3ekOFB3Jf94QhtCaPbMhi8Dkzeol0nvl5BBMv1iQ== X-Received: by 2002:a05:620a:28c1:b0:6ee:d04d:469a with SMTP id l1-20020a05620a28c100b006eed04d469amr6855709qkp.540.1665999751476; Mon, 17 Oct 2022 02:42:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM62NrzcEJuXBBPLsDSEFBbl+OpI8SVbJavqXt3VoSfelOJmHFizhGB8WwXDKpn63yFAEEiUbQ== X-Received: by 2002:a05:620a:28c1:b0:6ee:d04d:469a with SMTP id l1-20020a05620a28c100b006eed04d469amr6855702qkp.540.1665999751238; Mon, 17 Oct 2022 02:42:31 -0700 (PDT) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id fa11-20020a05622a4ccb00b0035cf0f50d7csm7413287qtb.52.2022.10.17.02.42.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 02:42:31 -0700 (PDT) From: Emil Renner Berthing To: kernel-team@lists.ubuntu.com Subject: [SRU][K][PATCH 5/5] UBUNTU: SAUCE: riscv: dts: microchip: Disable PCIe on the Icicle Kit Date: Mon, 17 Oct 2022 11:42:19 +0200 Message-Id: <20221017094219.250906-6-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221017094219.250906-1-emil.renner.berthing@canonical.com> References: <20221017094219.250906-1-emil.renner.berthing@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1993148 After discussing with Microchip we agreed that unfortunately PCIe support for the PolarFire-SoC Icicle Kit 2022.10 reference design is not yet ready for Kinetic. So don't enable the PCIe node in the device tree to make sure it doesn't cause trouble and avoid nasty error messages at boot. Signed-off-by: Emil Renner Berthing --- arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts index 46210cb67de6..abb7dead48f6 100644 --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts @@ -136,9 +136,11 @@ &mmuart4 { status = "okay"; }; +/* UBUNTU: PCIe support is not yet ready, so disable it for now &pcie { status = "okay"; }; +*/ &qspi { status = "okay";