[PATCH 4/4] mips: bmips: dts: fix qspi register order

Jonas Gorski
2025-12-25T10:26:21Z

Align the register order to the schema. Fixes warnings like:

arch/mips/boot/dts/brcm/bcm97435svmb.dtb: spi@41d200 (brcm,spi-brcmstb-qspi): reg-names:0: 'cs_reg' is not one of ['hif_mspi', 'mspi']
from schema $id: http://devicetree.org/schemas/spi/brcm,spi-bcm-qspi.yaml
arch/mips/boot/dts/brcm/bcm97435svmb.dtb: spi@41d200 (brcm,spi-brcmstb-qspi): reg-names:1: 'bspi' was expected
from schema $id: http://devicetree.org/schemas/spi/brcm,spi-bcm-qspi.yaml
arch/mips/boot/dts/brcm/bcm97435svmb.dtb: spi@41d200 (brcm,spi-brcmstb-qspi): reg-names:2: 'bspi' is not one of ['intr_regs', 'intr_status_reg', 'cs_reg']
from schema $id: http://devicetree.org/schemas/spi/brcm,spi-bcm-qspi.yaml

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
---
arch/mips/boot/dts/brcm/bcm7125.dtsi | 4 ++--
arch/mips/boot/dts/brcm/bcm7346.dtsi | 4 ++--
arch/mips/boot/dts/brcm/bcm7358.dtsi | 4 ++--
arch/mips/boot/dts/brcm/bcm7360.dtsi | 4 ++--
arch/mips/boot/dts/brcm/bcm7362.dtsi | 4 ++--
arch/mips/boot/dts/brcm/bcm7420.dtsi | 4 ++--
arch/mips/boot/dts/brcm/bcm7425.dtsi | 4 ++--
arch/mips/boot/dts/brcm/bcm7435.dtsi | 4 ++--
8 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/arch/mips/boot/dts/brcm/bcm7125.dtsi b/arch/mips/boot/dts/brcm/bcm7125.dtsi
index dd1cc3cda694..81ee0f49b645 100644
--- a/arch/mips/boot/dts/brcm/bcm7125.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7125.dtsi
@@ -250,8 +250,8 @@ qspi: spi@443000 {
compatible = "brcm,spi-brcmstb-qspi",
"brcm,spi-bcm-qspi";
clocks = <&upg_clk>;
- reg = <0x440920 0x4 0x443200 0x188 0x443000 0x50>;
- reg-names = "cs_reg", "hif_mspi", "bspi";
+ reg = <0x443200 0x188 0x443000 0x50 0x440920 0x4>;
+ reg-names = "hif_mspi", "bspi", "cs_reg";
interrupts = <0x5 0x6 0x0 0x1 0x2 0x3 0x4>;
interrupt-parent = <&spi_l2_intc>;
interrupt-names = "mspi_done",
diff --git a/arch/mips/boot/dts/brcm/bcm7346.dtsi b/arch/mips/boot/dts/brcm/bcm7346.dtsi
index 21c7418aaf0d..6efb6347a2e4 100644
--- a/arch/mips/boot/dts/brcm/bcm7346.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7346.dtsi
@@ -474,8 +474,8 @@ qspi: spi@413000 {
compatible = "brcm,spi-brcmstb-qspi",
"brcm,spi-bcm-qspi";
clocks = <&upg_clk>;
- reg = <0x410920 0x4 0x413200 0x188 0x413000 0x50>;
- reg-names = "cs_reg", "hif_mspi", "bspi";
+ reg = <0x413200 0x188 0x413000 0x50 0x410920 0x4>;
+ reg-names = "hif_mspi", "bspi", "cs_reg";
interrupts = <0x5 0x6 0x0 0x1 0x2 0x3 0x4>;
interrupt-parent = <&spi_l2_intc>;
interrupt-names = "mspi_done",
diff --git a/arch/mips/boot/dts/brcm/bcm7358.dtsi b/arch/mips/boot/dts/brcm/bcm7358.dtsi
index 63b3a42a8dc6..527406a5fa4d 100644
--- a/arch/mips/boot/dts/brcm/bcm7358.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7358.dtsi
@@ -342,8 +342,8 @@ qspi: spi@413000 {
compatible = "brcm,spi-brcmstb-qspi",
"brcm,spi-bcm-qspi";
clocks = <&upg_clk>;
- reg = <0x410920 0x4 0x413200 0x188 0x413000 0x50>;
- reg-names = "cs_reg", "hif_mspi", "bspi";
+ reg = <0x413200 0x188 0x413000 0x50 0x410920 0x4>;
+ reg-names = "hif_mspi", "bspi", "cs_reg";
interrupts = <0x5 0x6 0x0 0x1 0x2 0x3 0x4>;
interrupt-parent = <&spi_l2_intc>;
interrupt-names = "mspi_done",
diff --git a/arch/mips/boot/dts/brcm/bcm7360.dtsi b/arch/mips/boot/dts/brcm/bcm7360.dtsi
index 9d89da400104..7ed6dbd145bf 100644
--- a/arch/mips/boot/dts/brcm/bcm7360.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7360.dtsi
@@ -393,8 +393,8 @@ qspi: spi@413000 {
compatible = "brcm,spi-brcmstb-qspi",
"brcm,spi-bcm-qspi";
clocks = <&upg_clk>;
- reg = <0x410920 0x4 0x413200 0x188 0x413000 0x50>;
- reg-names = "cs_reg", "hif_mspi", "bspi";
+ reg = <0x413200 0x188 0x413000 0x50 0x410920 0x4>;
+ reg-names = "hif_mspi", "bspi", "cs_reg";
interrupts = <0x5 0x6 0x0 0x1 0x2 0x3 0x4>;
interrupt-parent = <&spi_l2_intc>;
interrupt-names = "mspi_done",
diff --git a/arch/mips/boot/dts/brcm/bcm7362.dtsi b/arch/mips/boot/dts/brcm/bcm7362.dtsi
index a0d15fcd3b81..194b6dd34eab 100644
--- a/arch/mips/boot/dts/brcm/bcm7362.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7362.dtsi
@@ -389,8 +389,8 @@ qspi: spi@413000 {
compatible = "brcm,spi-brcmstb-qspi",
"brcm,spi-bcm-qspi";
clocks = <&upg_clk>;
- reg = <0x410920 0x4 0x413200 0x188 0x413000 0x50>;
- reg-names = "cs_reg", "hif_mspi", "bspi";
+ reg = <0x413200 0x188 0x413000 0x50 0x410920 0x4>;
+ reg-names = "hif_mspi", "bspi", "cs_reg";
interrupts = <0x5 0x6 0x0 0x1 0x2 0x3 0x4>;
interrupt-parent = <&spi_l2_intc>;
interrupt-names = "mspi_done",
diff --git a/arch/mips/boot/dts/brcm/bcm7420.dtsi b/arch/mips/boot/dts/brcm/bcm7420.dtsi
index a38041451faf..be4c9ba3d509 100644
--- a/arch/mips/boot/dts/brcm/bcm7420.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7420.dtsi
@@ -311,8 +311,8 @@ qspi: spi@443000 {
compatible = "brcm,spi-brcmstb-qspi",
"brcm,spi-bcm-qspi";
clocks = <&upg_clk>;
- reg = <0x440920 0x4 0x443200 0x188 0x443000 0x50>;
- reg-names = "cs_reg", "hif_mspi", "bspi";
+ reg = <0x443200 0x188 0x443000 0x50 0x440920 0x4>;
+ reg-names = "hif_mspi", "bspi", "cs_reg";
interrupts = <0x5 0x6 0x0 0x1 0x2 0x3 0x4>;
interrupt-parent = <&spi_l2_intc>;
interrupt-names = "mspi_done",
diff --git a/arch/mips/boot/dts/brcm/bcm7425.dtsi b/arch/mips/boot/dts/brcm/bcm7425.dtsi
index c2b3ea21410d..8c476a20aea5 100644
--- a/arch/mips/boot/dts/brcm/bcm7425.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7425.dtsi
@@ -485,8 +485,8 @@ qspi: spi@41c000 {
compatible = "brcm,spi-brcmstb-qspi",
"brcm,spi-bcm-qspi";
clocks = <&upg_clk>;
- reg = <0x419920 0x4 0x41c200 0x188 0x41c000 0x50>;
- reg-names = "cs_reg", "hif_mspi", "bspi";
+ reg = <0x41c200 0x188 0x41c000 0x50 0x419920 0x4>;
+ reg-names = "hif_mspi", "bspi", "cs_reg";
interrupts = <0x5 0x6 0x0 0x1 0x2 0x3 0x4>;
interrupt-parent = <&spi_l2_intc>;
interrupt-names = "mspi_done",
diff --git a/arch/mips/boot/dts/brcm/bcm7435.dtsi b/arch/mips/boot/dts/brcm/bcm7435.dtsi
index 826731515f0b..328fafe7519b 100644
--- a/arch/mips/boot/dts/brcm/bcm7435.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7435.dtsi
@@ -501,8 +501,8 @@ qspi: spi@41d200 {
compatible = "brcm,spi-brcmstb-qspi",
"brcm,spi-bcm-qspi";
clocks = <&upg_clk>;
- reg = <0x41a920 0x4 0x41d400 0x188 0x41d200 0x50>;
- reg-names = "cs_reg", "hif_mspi", "bspi";
+ reg = <0x41d400 0x188 0x41d200 0x50 0x41a920 0x4>;
+ reg-names = "hif_mspi", "bspi", "cs_reg";
interrupts = <0x5 0x6 0x0 0x1 0x2 0x3 0x4>;
interrupt-parent = <&spi_l2_intc>;
interrupt-names = "mspi_done",
--
2.43.0