Skip to contentSkip to conversation

mips: lantiq: danube: rename stp node on EASY50712 reference board

PATCH New Aleksander Jan Bajkowski 1 participant 3 messages Aug 15, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover mips: lantiq: danube: rename stp node on EASY50712 reference board

This fixes the following warning:
arch/mips/boot/dts/lantiq/danube_easy50712.dtb: stp@e100bb0 (lantiq,gpio-stp-xway): $nodename:0: 'stp@e100bb0' does not match '^gpio@[0-9a-f]+$'
from schema $id: http://devicetree.org/schemas/gpio/gpio-stp-xway.yaml#

---
Changes in v2:
- added sysctrl patch
---
Aleksander Jan Bajkowski (2):
mips: lantiq: xway: sysctrl: rename stp clock
mips: lantiq: danube: rename stp node on EASY50712 reference board

 arch/mips/boot/dts/lantiq/danube_easy50712.dts | 2 +-
 arch/mips/lantiq/xway/sysctrl.c                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.47.2
#1 lore raw

PATCH v2 1/2 mips: lantiq: xway: sysctrl: rename stp clock

Bindig requires a node name matching ‘^gpio@[0-9a-f]+$’. This patch changes the clock name from “stp” to “gpio”.

---
 arch/mips/lantiq/xway/sysctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lantiq/xway/sysctrl.c +1 -1
index 5a75283d17f1..dcea4cf064ef 100644
@@ -485,7 +485,7 @@ void __init ltq_soc_init(void)
 	/* add our generic xway clocks */
 	clkdev_add_pmu("10000000.fpi", NULL, 0, 0, PMU_FPI);
 	clkdev_add_pmu("1e100a00.gptu", NULL, 1, 0, PMU_GPT);
-	clkdev_add_pmu("1e100bb0.stp", NULL, 1, 0, PMU_STP);
+	clkdev_add_pmu("1e100bb0.gpio", NULL, 1, 0, PMU_STP);
 	clkdev_add_pmu("1e100c00.serial", NULL, 0, 0, PMU_ASC1);
 	clkdev_add_pmu("1e104100.dma", NULL, 1, 0, PMU_DMA);
 	clkdev_add_pmu("1e100800.spi", NULL, 1, 0, PMU_SPI);
Signature · 1 line
2.47.2
#2 lore raw

PATCH v2 2/2 mips: lantiq: danube: rename stp node on EASY50712 reference board

In reply to Aleksander Jan Bajkowski

This fixes the following warning:
arch/mips/boot/dts/lantiq/danube_easy50712.dtb: stp@e100bb0 (lantiq,gpio-stp-xway): $nodename:0: 'stp@e100bb0' does not match '^gpio@[0-9a-f]+$'
from schema $id: http://devicetree.org/schemas/gpio/gpio-stp-xway.yaml#

---
 arch/mips/boot/dts/lantiq/danube_easy50712.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/boot/dts/lantiq/danube_easy50712.dts +1 -1
index 1ce20b7d05cb..aa7256ddd529 100644
@@ -91,7 +91,7 @@ etop@e180000 {
 			mac-address = [ 00 11 22 33 44 55 ];
 		};
 
-		stp0: stp@e100bb0 {
+		stp0: gpio@e100bb0 {
 			#gpio-cells = <2>;
 			compatible = "lantiq,gpio-stp-xway";
 			gpio-controller;
Signature · 1 line
2.47.2