From: Álvaro Fernández Rojas Date: Thu, 25 Feb 2021 19:33:38 +0000 (+0100) Subject: bmips: dts: fix syscon-reboot nodes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c919f7408db0240017ad14db213c873d1ae68a6b;p=openwrt%2Fstaging%2Fadrian.git bmips: dts: fix syscon-reboot nodes Using regmap with phandles is deprecated. Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/bmips/dts/bcm6318.dtsi b/target/linux/bmips/dts/bcm6318.dtsi index d19f8ec964..e7016eb1b2 100644 --- a/target/linux/bmips/dts/bcm6318.dtsi +++ b/target/linux/bmips/dts/bcm6318.dtsi @@ -131,16 +131,15 @@ }; 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 { diff --git a/target/linux/bmips/dts/bcm63268.dtsi b/target/linux/bmips/dts/bcm63268.dtsi index 2a0bc3cbec..5581351311 100644 --- a/target/linux/bmips/dts/bcm63268.dtsi +++ b/target/linux/bmips/dts/bcm63268.dtsi @@ -93,16 +93,15 @@ }; 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 { diff --git a/target/linux/bmips/dts/bcm6328.dtsi b/target/linux/bmips/dts/bcm6328.dtsi index f4f86c381e..62f1309e0a 100644 --- a/target/linux/bmips/dts/bcm6328.dtsi +++ b/target/linux/bmips/dts/bcm6328.dtsi @@ -134,16 +134,15 @@ }; 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 { diff --git a/target/linux/bmips/dts/bcm6358.dtsi b/target/linux/bmips/dts/bcm6358.dtsi index 8e2c9fa0ee..b396d9335b 100644 --- a/target/linux/bmips/dts/bcm6358.dtsi +++ b/target/linux/bmips/dts/bcm6358.dtsi @@ -92,16 +92,15 @@ }; 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 { diff --git a/target/linux/bmips/dts/bcm6362.dtsi b/target/linux/bmips/dts/bcm6362.dtsi index d531ed4fe5..0929d6ea3f 100644 --- a/target/linux/bmips/dts/bcm6362.dtsi +++ b/target/linux/bmips/dts/bcm6362.dtsi @@ -93,16 +93,15 @@ }; 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 { diff --git a/target/linux/bmips/dts/bcm6368.dtsi b/target/linux/bmips/dts/bcm6368.dtsi index 0b434c5c01..2c980f91f4 100644 --- a/target/linux/bmips/dts/bcm6368.dtsi +++ b/target/linux/bmips/dts/bcm6368.dtsi @@ -83,16 +83,15 @@ }; 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 {