* [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements
@ 2026-03-19 16:31 Conor Dooley
2026-03-19 16:31 ` [PATCH v1 1/5] riscv: dts: microchip: gpio controllers on mpfs need 2 interrupt cells Conor Dooley
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Conor Dooley @ 2026-03-19 16:31 UTC (permalink / raw)
To: linux-riscv
Cc: conor, Conor Dooley, Daire McNamara, Rob Herring,
Krzysztof Kozlowski, devicetree, linux-kernel,
Valentina.FernandezAlanis, Brian.Burke, cyril.jean
From: Conor Dooley <conor.dooley@microchip.com>
Yo,
Some minor improvements etc for the BeagleV Fire, spotted while updating
our downstream stuff to the latest lts.
Produces errors at the moment, as it depends on changing the
interrupt-cells in the gpio binding.
Cheers,
Conor.
CC: Conor Dooley <conor.dooley@microchip.com>
CC: Daire McNamara <daire.mcnamara@microchip.com>
CC: Rob Herring <robh@kernel.org>
CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
CC: linux-riscv@lists.infradead.org
CC: devicetree@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Valentina.FernandezAlanis@microchip.com
CC: Brian.Burke@microchip.com
CC: cyril.jean@microchip.com
Conor Dooley (5):
riscv: dts: microchip: gpio controllers on mpfs need 2 interrupt cells
riscv: dts: microchip: remove gpio hogs from beaglev-fire
riscv: dts: microchip: clean up beaglev-fire regulator node names
riscv: dts: microchip: add adc interrupt on beaglev-fire
riscv: dts: microchip: add gpio line names on beaglev-fire
.../boot/dts/microchip/mpfs-beaglev-fire.dts | 36 ++++++++++---------
arch/riscv/boot/dts/microchip/mpfs.dtsi | 6 ++--
2 files changed, 22 insertions(+), 20 deletions(-)
--
2.51.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v1 1/5] riscv: dts: microchip: gpio controllers on mpfs need 2 interrupt cells
2026-03-19 16:31 [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
@ 2026-03-19 16:31 ` Conor Dooley
2026-03-19 16:31 ` [PATCH v1 2/5] riscv: dts: microchip: remove gpio hogs from beaglev-fire Conor Dooley
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2026-03-19 16:31 UTC (permalink / raw)
To: linux-riscv
Cc: conor, Conor Dooley, Daire McNamara, Rob Herring,
Krzysztof Kozlowski, devicetree, linux-kernel,
Valentina.FernandezAlanis, Brian.Burke, cyril.jean
From: Conor Dooley <conor.dooley@microchip.com>
The platform has variable interrupt types for GPIO interrupts, in
addition to having multiple lines per GPIO controller. Two interrupt
cells are required.
Fixes: 528a5b1f2556d ("riscv: dts: microchip: add new peripherals to icicle kit device tree")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
arch/riscv/boot/dts/microchip/mpfs.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/riscv/boot/dts/microchip/mpfs.dtsi b/arch/riscv/boot/dts/microchip/mpfs.dtsi
index 5c2963e269b83..8cca84484b85d 100644
--- a/arch/riscv/boot/dts/microchip/mpfs.dtsi
+++ b/arch/riscv/boot/dts/microchip/mpfs.dtsi
@@ -473,7 +473,7 @@ gpio0: gpio@20120000 {
reg = <0x0 0x20120000 0x0 0x1000>;
interrupt-parent = <&plic>;
interrupt-controller;
- #interrupt-cells = <1>;
+ #interrupt-cells = <2>;
clocks = <&clkcfg CLK_GPIO0>;
gpio-controller;
#gpio-cells = <2>;
@@ -485,7 +485,7 @@ gpio1: gpio@20121000 {
reg = <0x0 0x20121000 0x0 0x1000>;
interrupt-parent = <&plic>;
interrupt-controller;
- #interrupt-cells = <1>;
+ #interrupt-cells = <2>;
clocks = <&clkcfg CLK_GPIO1>;
gpio-controller;
#gpio-cells = <2>;
@@ -497,7 +497,7 @@ gpio2: gpio@20122000 {
reg = <0x0 0x20122000 0x0 0x1000>;
interrupt-parent = <&plic>;
interrupt-controller;
- #interrupt-cells = <1>;
+ #interrupt-cells = <2>;
clocks = <&clkcfg CLK_GPIO2>;
gpio-controller;
#gpio-cells = <2>;
--
2.51.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 2/5] riscv: dts: microchip: remove gpio hogs from beaglev-fire
2026-03-19 16:31 [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
2026-03-19 16:31 ` [PATCH v1 1/5] riscv: dts: microchip: gpio controllers on mpfs need 2 interrupt cells Conor Dooley
@ 2026-03-19 16:31 ` Conor Dooley
2026-03-19 16:31 ` [PATCH v1 3/5] riscv: dts: microchip: clean up beaglev-fire regulator node names Conor Dooley
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2026-03-19 16:31 UTC (permalink / raw)
To: linux-riscv
Cc: conor, Conor Dooley, Daire McNamara, Rob Herring,
Krzysztof Kozlowski, devicetree, linux-kernel,
Valentina.FernandezAlanis, Brian.Burke, cyril.jean
From: Conor Dooley <conor.dooley@microchip.com>
sd-det-hog should be cd-gpios, but when the mmc-spi-slot was added, the
"cd-" prefix was omitted and the collision with the hog was not noticed.
vio-enable-hog is just a regulator that can be modelled as such.
Fixes: 1088d49b62648 ("riscv: dts: microchip: enable qspi adc/mmc-spi-slot on BeagleV Fire")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
.../boot/dts/microchip/mpfs-beaglev-fire.dts | 25 ++++++++-----------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts b/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
index f44ad8e6f4e49..2c0a420d89ff0 100644
--- a/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
+++ b/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
@@ -77,6 +77,15 @@ imx219_vddl: fixedregulator-2 {
regulator-max-microvolt = <1200000>;
};
+ regulator-1v8-syzygy {
+ compatible = "regulator-fixed";
+ gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
+ regulator-name = "syzygy_1v8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ enable-active-high;
+ };
};
&gpio0 {
@@ -118,20 +127,6 @@ &gpio2 {
"P8_PIN27", "P8_PIN28", "P8_PIN29", "P8_PIN30", "M2_W_DISABLE1",
"M2_W_DISABLE2", "VIO_ENABLE", "SD_DET";
status = "okay";
-
- vio-enable-hog {
- gpio-hog;
- gpios = <30 30>;
- output-high;
- line-name = "VIO_ENABLE";
- };
-
- sd-det-hog {
- gpio-hog;
- gpios = <31 31>;
- input;
- line-name = "SD_DET";
- };
};
&i2c0 {
@@ -287,7 +282,7 @@ channel@7 {
mmc@1 {
compatible = "mmc-spi-slot";
reg = <1>;
- gpios = <&gpio2 31 1>;
+ cd-gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
voltage-ranges = <3300 3300>;
spi-max-frequency = <5000000>;
disable-wp;
--
2.51.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 3/5] riscv: dts: microchip: clean up beaglev-fire regulator node names
2026-03-19 16:31 [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
2026-03-19 16:31 ` [PATCH v1 1/5] riscv: dts: microchip: gpio controllers on mpfs need 2 interrupt cells Conor Dooley
2026-03-19 16:31 ` [PATCH v1 2/5] riscv: dts: microchip: remove gpio hogs from beaglev-fire Conor Dooley
@ 2026-03-19 16:31 ` Conor Dooley
2026-03-19 16:31 ` [PATCH v1 4/5] riscv: dts: microchip: add adc interrupt on beaglev-fire Conor Dooley
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2026-03-19 16:31 UTC (permalink / raw)
To: linux-riscv
Cc: conor, Conor Dooley, Daire McNamara, Rob Herring,
Krzysztof Kozlowski, devicetree, linux-kernel,
Valentina.FernandezAlanis, Brian.Burke, cyril.jean
From: Conor Dooley <conor.dooley@microchip.com>
Recently the binding for regulator-fixed introduced preferred naming, in
the regulator-XvY format. Change the existing regulators to match this
pattern.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts b/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
index 2c0a420d89ff0..37c3525d490c0 100644
--- a/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
+++ b/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
@@ -63,14 +63,14 @@ imx219_vana: fixedregulator-0 {
regulator-max-microvolt = <2800000>;
};
- imx219_vdig: fixedregulator-1 {
+ imx219_vdig: regulator-1v8 {
compatible = "regulator-fixed";
regulator-name = "imx219_vdig";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
- imx219_vddl: fixedregulator-2 {
+ imx219_vddl: regulator-1v2 {
compatible = "regulator-fixed";
regulator-name = "imx219_vddl";
regulator-min-microvolt = <1200000>;
--
2.51.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 4/5] riscv: dts: microchip: add adc interrupt on beaglev-fire
2026-03-19 16:31 [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
` (2 preceding siblings ...)
2026-03-19 16:31 ` [PATCH v1 3/5] riscv: dts: microchip: clean up beaglev-fire regulator node names Conor Dooley
@ 2026-03-19 16:31 ` Conor Dooley
2026-03-19 16:31 ` [PATCH v1 5/5] riscv: dts: microchip: add gpio line names " Conor Dooley
2026-05-05 9:47 ` [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
5 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2026-03-19 16:31 UTC (permalink / raw)
To: linux-riscv
Cc: conor, Conor Dooley, Daire McNamara, Rob Herring,
Krzysztof Kozlowski, devicetree, linux-kernel,
Valentina.FernandezAlanis, Brian.Burke, cyril.jean
From: Conor Dooley <conor.dooley@microchip.com>
The mcp3464r on the beaglev-fire has its interrupt wired up, but not
present in the devicetree. Add it.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts b/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
index 37c3525d490c0..e8d0a825a5bfc 100644
--- a/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
+++ b/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
@@ -4,6 +4,7 @@
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
#include "mpfs.dtsi"
#include "mpfs-beaglev-fire-fabric.dtsi"
@@ -226,6 +227,7 @@ adc@0 {
spi-cpha;
spi-max-frequency = <5000000>;
microchip,hw-device-address = <1>;
+ interrupts-extended = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
--
2.51.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 5/5] riscv: dts: microchip: add gpio line names on beaglev-fire
2026-03-19 16:31 [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
` (3 preceding siblings ...)
2026-03-19 16:31 ` [PATCH v1 4/5] riscv: dts: microchip: add adc interrupt on beaglev-fire Conor Dooley
@ 2026-03-19 16:31 ` Conor Dooley
2026-05-05 9:47 ` [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
5 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2026-03-19 16:31 UTC (permalink / raw)
To: linux-riscv
Cc: conor, Conor Dooley, Daire McNamara, Rob Herring,
Krzysztof Kozlowski, devicetree, linux-kernel,
Valentina.FernandezAlanis, Brian.Burke, cyril.jean
From: Conor Dooley <conor.dooley@microchip.com>
GPIO controller 2 has the gpio-line-names property, but the two other
controllers do not. Add the property for these controllers too.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts b/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
index e8d0a825a5bfc..99c1e05d4d169 100644
--- a/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
+++ b/arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
@@ -95,6 +95,8 @@ &gpio0 {
<21>, <22>, <23>, <24>,
<25>, <26>;
ngpios = <14>;
+ gpio-line-names = "", "", "", "", "", "", "",
+ "", "", "", "", "", "SD_CARD_CS", "USER_BUTTON";
status = "okay";
};
@@ -106,6 +108,9 @@ &gpio1 {
<43>, <44>, <45>, <46>,
<47>, <48>, <49>, <50>;
ngpios = <24>;
+ gpio-line-names = "", "", "", "", "", "", "", "", "", "",
+ "", "", "", "", "", "", "", "", "", "",
+ "ADC_IRQn", "", "", "USB_OCn";
status = "okay";
};
--
2.51.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements
2026-03-19 16:31 [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
` (4 preceding siblings ...)
2026-03-19 16:31 ` [PATCH v1 5/5] riscv: dts: microchip: add gpio line names " Conor Dooley
@ 2026-05-05 9:47 ` Conor Dooley
5 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2026-05-05 9:47 UTC (permalink / raw)
To: linux-riscv
Cc: Conor Dooley, Daire McNamara, Rob Herring, Krzysztof Kozlowski,
devicetree, linux-kernel, Valentina.FernandezAlanis, Brian.Burke,
cyril.jean
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
On Thu, Mar 19, 2026 at 04:31:14PM +0000, Conor Dooley wrote:
> From: Conor Dooley <conor.dooley@microchip.com>
>
> Yo,
>
> Some minor improvements etc for the BeagleV Fire, spotted while updating
> our downstream stuff to the latest lts.
>
> Produces errors at the moment, as it depends on changing the
> interrupt-cells in the gpio binding.
This has been merged as part of 7.1-rc1, so I've applied this series.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-05-05 9:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-19 16:31 [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
2026-03-19 16:31 ` [PATCH v1 1/5] riscv: dts: microchip: gpio controllers on mpfs need 2 interrupt cells Conor Dooley
2026-03-19 16:31 ` [PATCH v1 2/5] riscv: dts: microchip: remove gpio hogs from beaglev-fire Conor Dooley
2026-03-19 16:31 ` [PATCH v1 3/5] riscv: dts: microchip: clean up beaglev-fire regulator node names Conor Dooley
2026-03-19 16:31 ` [PATCH v1 4/5] riscv: dts: microchip: add adc interrupt on beaglev-fire Conor Dooley
2026-03-19 16:31 ` [PATCH v1 5/5] riscv: dts: microchip: add gpio line names " Conor Dooley
2026-05-05 9:47 ` [PATCH v1 0/5] riscv: dts: minor beaglev-fire improvements Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox