]> git.itanic.dy.fi Git - linux-stable/commitdiff
staging: mt7621-dts: properly define 'cpc' and 'mc' nodes
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sat, 2 Oct 2021 06:07:06 +0000 (08:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 10:36:45 +0000 (12:36 +0200)
'cpc' and 'mc' nodes correspond with the MIPS 'Cluster Power Controller'
and 'MIPS Common Device Memory Map' which are present in some MIPS related
boards. There is already bindings documentation for these two located in:
- Documentation/devicetree/bindings/power/mti,mips-cpc.yaml
- Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml

Hence, properly update compatible strings and align nodes with already
mainlined bindings documentation. Also, move their definition to a proper
place since both of them are not related with the palmbus at all.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211002060706.30511-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/mt7621.dtsi

index eeabe9c0f4fb8169d47a8fc93abb42df7454e71b..719ef28171f4c4dbd4d6b18c0a111ee86a7631fa 100644 (file)
@@ -127,16 +127,6 @@ memc: syscon@5000 {
                        reg = <0x5000 0x1000>;
                };
 
-               cpc: cpc@1fbf0000 {
-                            compatible = "mediatek,mt7621-cpc";
-                            reg = <0x1fbf0000 0x8000>;
-               };
-
-               mc: mc@1fbf8000 {
-                           compatible = "mediatek,mt7621-mc";
-                           reg = <0x1fbf8000 0x8000>;
-               };
-
                uartlite: uartlite@c00 {
                        compatible = "ns16550a";
                        reg = <0xc00 0x100>;
@@ -358,6 +348,16 @@ timer {
                };
        };
 
+       cpc: cpc@1fbf0000 {
+               compatible = "mti,mips-cpc";
+               reg = <0x1fbf0000 0x8000>;
+       };
+
+       cdmm: cdmm@1fbf8000 {
+               compatible = "mti,mips-cdmm";
+               reg = <0x1fbf8000 0x8000>;
+       };
+
        nand: nand@1e003000 {
                status = "disabled";