MLK-21953-03 arm64: imx8mn: Fix-up power domains ids
authorAbel Vesa <abel.vesa@nxp.com>
Mon, 1 Jul 2019 08:30:24 +0000 (11:30 +0300)
committerAbel Vesa <abel.vesa@nxp.com>
Tue, 2 Jul 2019 13:29:16 +0000 (16:29 +0300)
When cherry-picked from imx_4.14.y, the power-domains
node was using domain-ids. In order to work on imx_4.19.y
the reg property has to be used instead. This also implies
the address-cells and size-cells properties have to be added.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8mn.dtsi

index 6c21a50..25e71fe 100644 (file)
 
        power-domains {
                compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <0>;
 
                /* HSIOMIX */
                hsio_pd: power-domain@0 {
                        compatible = "fsl,imx8mn-pm-domain";
-                       domain-id = <0>;
+                       reg = <0>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        #power-domain-cells = <0>;
                        domain-name = "HSIO_PD";
                        clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>;
 
                        usb_otg1_pd: power-domain@2{
+                               reg = <2>;
                                #power-domain-cells = <0>;
-                               domain-id = <2>;
                                domain-name = "USB_OTG1_PD";
                        };
                };
                /* GPU2D&3D */
                gpumix_pd: power-domain@4 {
                        compatible = "fsl,imx8mn-pm-domain";
-                       domain-id = <4>;
+                       reg = <4>;
                        #power-domain-cells = <0>;
                        domain-name = "GPUMIX_PD";
                        clocks = <&clk IMX8MN_CLK_GPU_CORE_ROOT>,
 
                dispmix_pd: power-domain@9 {
                        compatible = "fsl,imx8mn-pm-domain";
-                       domain-id = <9>;
+                       reg = <9>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        #power-domain-cells = <0>;
                        domain-name = "DISPMIX_PD";
                        clocks = <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
                                 <&clk IMX8MN_CLK_DISP_APB_ROOT>;
 
                        mipi_pd: power-domain@10 {
-                               domain-id = <10>;
+                               reg = <10>;
                                #power-domain-cells = <0>;
                                domain-name = "MIPI_PD";
                        };