rockchip: dts: rk3399: move the u-boot, dm-pre-reloc to the u-boot.dtsi
authorPeter Robinson <pbrobinson@gmail.com>
Sat, 9 Nov 2019 20:30:05 +0000 (20:30 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 17 Nov 2019 09:22:53 +0000 (17:22 +0800)
The u-boot specific pieces in the dts files should be in u-boot.dtsi
not the main files, this allows easier sync with upstream. The
rk3399.dtsi has a mix of both so move them all for consistency.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
(Fix with missing pmugrf)
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-u-boot.dtsi
arch/arm/dts/rk3399.dtsi

index 2738a3889ef65788853205b877ebfb017729722c..40240bbfc2b8561e73fdfaeaa64239db6e7bcc03 100644 (file)
@@ -3,10 +3,50 @@
  * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
  */
 
+&cic {
+       u-boot,dm-pre-reloc;
+};
+
+&cru {
+       u-boot,dm-pre-reloc;
+};
+
+&dmc {
+       u-boot,dm-pre-reloc;
+};
+
+&grf {
+       u-boot,dm-pre-reloc;
+};
+
+&pinctrl {
+       u-boot,dm-pre-reloc;
+};
+
 &pmu {
        u-boot,dm-pre-reloc;
 };
 
+&pmugrf {
+       u-boot,dm-pre-reloc;
+};
+
+&pmu {
+       u-boot,dm-pre-reloc;
+};
+
+&pmucru {
+       u-boot,dm-pre-reloc;
+};
+
+&pmusgrf {
+       u-boot,dm-pre-reloc;
+};
+
+&sdhci {
+       u-boot,dm-pre-reloc;
+};
+
 &sdmmc {
        u-boot,dm-pre-reloc;
 };
 &uart2 {
        u-boot,dm-pre-reloc;
 };
+
+&vopb {
+       u-boot,dm-pre-reloc;
+};
+
+&vopl {
+       u-boot,dm-pre-reloc;
+};
index b73442ee34393ed84d0cd928e232e323cad97c79..3f773b10f4de648305bb1ffee68ce32138b064bc 100644 (file)
        };
 
        sdhci: sdhci@fe330000 {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-sdhci-5.1", "arasan,sdhci-5.1";
                reg = <0x0 0xfe330000 0x0 0x10000>;
                interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH 0>;
        };
 
        pmugrf: syscon@ff320000 {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-pmugrf", "syscon", "simple-mfd";
                reg = <0x0 0xff320000 0x0 0x1000>;
 
        };
 
        pmusgrf: syscon@ff330000 {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-pmusgrf", "syscon";
                reg = <0x0 0xff330000 0x0 0xe3d4>;
        };
        };
 
        cic: syscon@ff620000 {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-cic", "syscon";
                reg = <0x0 0xff620000 0x0 0x100>;
        };
        };
 
        dmc: dmc {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-dmc";
                devfreq-events = <&dfi>;
                interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH 0>;
        };
 
        pmucru: pmu-clock-controller@ff750000 {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-pmucru";
                reg = <0x0 0xff750000 0x0 0x1000>;
                rockchip,grf = <&pmugrf>;
        };
 
        cru: clock-controller@ff760000 {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-cru";
                reg = <0x0 0xff760000 0x0 0x1000>;
                rockchip,grf = <&grf>;
        };
 
        grf: syscon@ff770000 {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
                reg = <0x0 0xff770000 0x0 0x10000>;
                #address-cells = <1>;
        };
 
        vopl: vop@ff8f0000 {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-vop-lit";
                reg = <0x0 0xff8f0000 0x0 0x3efc>;
                interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>;
        };
 
        vopb: vop@ff900000 {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-vop-big";
                reg = <0x0 0xff900000 0x0 0x3efc>;
                interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>;
        };
 
        pinctrl: pinctrl {
-               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3399-pinctrl";
                rockchip,grf = <&grf>;
                rockchip,pmu = <&pmugrf>;