bmips: dts: fix syscon-reboot nodes
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 25 Feb 2021 19:33:38 +0000 (20:33 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 25 Feb 2021 19:40:02 +0000 (20:40 +0100)
Using regmap with phandles is deprecated.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/dts/bcm6318.dtsi
target/linux/bmips/dts/bcm63268.dtsi
target/linux/bmips/dts/bcm6328.dtsi
target/linux/bmips/dts/bcm6358.dtsi
target/linux/bmips/dts/bcm6362.dtsi
target/linux/bmips/dts/bcm6368.dtsi

index d19f8ec9641c76b44b7e22768608502a1f496599..e7016eb1b2d67777ab0431e6f3b33ade4c8d5896 100644 (file)
                };
 
                pll_cntl: syscon@10000074 {
-                       compatible = "syscon";
+                       compatible = "syscon", "simple-mfd";
                        reg = <0x10000074 0x4>;
                        native-endian;
-               };
 
-               syscon-reboot {
-                       compatible = "syscon-reboot";
-                       regmap = <&pll_cntl>;
-                       offset = <0>;
-                       mask = <0x1>;
+                       syscon-reboot {
+                               compatible = "syscon-reboot";
+                               offset = <0>;
+                               mask = <0x1>;
+                       };
                };
 
                gpio: syscon@10000080 {
index 2a0bc3cbec4ed9327a493e045f2461b6713f044a..558135131180782953b7eed159b3eec7d944e2c7 100644 (file)
                };
 
                pll_cntl: syscon@10000008 {
-                       compatible = "syscon";
+                       compatible = "syscon", "simple-mfd";
                        reg = <0x10000008 0x4>;
                        native-endian;
-               };
 
-               syscon-reboot {
-                       compatible = "syscon-reboot";
-                       regmap = <&pll_cntl>;
-                       offset = <0x0>;
-                       mask = <0x1>;
+                       syscon-reboot {
+                               compatible = "syscon-reboot";
+                               offset = <0x0>;
+                               mask = <0x1>;
+                       };
                };
 
                periph_rst: reset-controller@10000010 {
index f4f86c381e6f518936b31a51995e10b052b0a026..62f1309e0a4bc21f12a7293b7aafc1f0428db422 100644 (file)
                };
 
                pll_cntl: syscon@10000068 {
-                       compatible = "syscon";
+                       compatible = "syscon", "simple-mfd";
                        reg = <0x10000068 0x4>;
                        native-endian;
-               };
 
-               syscon-reboot {
-                       compatible = "syscon-reboot";
-                       regmap = <&pll_cntl>;
-                       offset = <0>;
-                       mask = <0x1>;
+                       syscon-reboot {
+                               compatible = "syscon-reboot";
+                               offset = <0>;
+                               mask = <0x1>;
+                       };
                };
 
                gpio: syscon@10000080 {
index 8e2c9fa0eeb2934c48e28cb7d097f61cb26b8e36..b396d9335ba2b200bc01380a5dc724488dc8006b 100644 (file)
                };
 
                pll_cntl: syscon@fffe0008 {
-                       compatible = "syscon";
+                       compatible = "syscon", "simple-mfd";
                        reg = <0xfffe0008 0x4>;
                        native-endian;
-               };
 
-               syscon-reboot {
-                       compatible = "syscon-reboot";
-                       regmap = <&pll_cntl>;
-                       offset = <0x0>;
-                       mask = <0x1>;
+                       syscon-reboot {
+                               compatible = "syscon-reboot";
+                               offset = <0x0>;
+                               mask = <0x1>;
+                       };
                };
 
                periph_intc: interrupt-controller@fffe000c {
index d531ed4fe58ec2ba71c9957df0566e5a40ab1100..0929d6ea3fd9e2d838dcfc8c239b4fd65b3c0de8 100644 (file)
                };
 
                pll_cntl: syscon@10000008 {
-                       compatible = "syscon";
+                       compatible = "syscon", "simple-mfd";
                        reg = <0x10000008 0x4>;
                        native-endian;
-               };
 
-               syscon-reboot {
-                       compatible = "syscon-reboot";
-                       regmap = <&pll_cntl>;
-                       offset = <0x0>;
-                       mask = <0x1>;
+                       syscon-reboot {
+                               compatible = "syscon-reboot";
+                               offset = <0x0>;
+                               mask = <0x1>;
+                       };
                };
 
                periph_rst: reset-controller@10000010 {
index 0b434c5c013141912b239bf307be97514ab6a573..2c980f91f4f85afdf9e1f4564cf0b6e7e1ab39c4 100644 (file)
                };
 
                pll_cntl: syscon@10000008 {
-                       compatible = "syscon";
+                       compatible = "syscon", "simple-mfd";
                        reg = <0x10000008 0x4>;
                        native-endian;
-               };
 
-               syscon-reboot {
-                       compatible = "syscon-reboot";
-                       regmap = <&pll_cntl>;
-                       offset = <0x0>;
-                       mask = <0x1>;
+                       syscon-reboot {
+                               compatible = "syscon-reboot";
+                               offset = <0x0>;
+                               mask = <0x1>;
+                       };
                };
 
                periph_rst: reset-controller@10000010 {