]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: DTS: stm32: add pwrcfg node for stm32f746
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 15 Nov 2017 12:14:43 +0000 (13:14 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
This node is needed to enable performance mode
when system frequency is set up to 200Mhz.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/dts/stm32f7-u-boot.dtsi
arch/arm/dts/stm32f746.dtsi

index 5f77f578af81f07715cbd38dad8b890333c4774f..a56ae9312100631e2a27f5cd561332f5d33d4797 100644 (file)
@@ -22,3 +22,7 @@
                 u-boot,dm-pre-reloc;
        };
 };
+
+&pwrcfg {
+       u-boot,dm-pre-reloc;
+};
index 783d4e734e5873f428d6f3a992d2fde24d68a388..b95cca21b620b8877851f87a51cc1f3b232380cc 100644 (file)
                        status = "disabled";
                        u-boot,dm-pre-reloc;
                };
+
+               pwrcfg: power-config@58024800 {
+                       compatible = "syscon";
+                       reg = <0x40007000 0x400>;
+               };
+
                rcc: rcc@40023810 {
                        #reset-cells = <1>;
                        #clock-cells = <2>;
                        compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
                        reg = <0x40023800 0x400>;
                        clocks = <&clk_hse>;
+                       st,syscfg = <&pwrcfg>;
                        u-boot,dm-pre-reloc;
                };