arm64: dts: mt8192: Follow binding order for SCP registers
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Wed, 4 May 2022 21:45:16 +0000 (17:45 -0400)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 13 May 2022 11:27:40 +0000 (13:27 +0200)
The dt-binding for SCP documents the reg-names order as sram, cfg,
l1tcm. Update the SCP node on the mt8192 devicetree to follow that
order, which gets rid of a dtbs_check warning. This doesn't change any
behavior since the SCP driver accesses the memory regions through the
names anyway.

Fixes: c63556ec6bfe ("arm64: dts: mt8192: Add SCP node")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20220504214516.2957504-1-nfraprado@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8192.dtsi

index 26dbe9e..733aec2 100644 (file)
                scp: scp@10500000 {
                        compatible = "mediatek,mt8192-scp";
                        reg = <0 0x10500000 0 0x100000>,
-                             <0 0x10700000 0 0x8000>,
-                             <0 0x10720000 0 0xe0000>;
-                       reg-names = "sram", "l1tcm", "cfg";
+                             <0 0x10720000 0 0xe0000>,
+                             <0 0x10700000 0 0x8000>;
+                       reg-names = "sram", "cfg", "l1tcm";
                        interrupts = <GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH 0>;
                        clocks = <&infracfg CLK_INFRA_SCPSYS>;
                        clock-names = "main";