ARM: dts: stm32: Fix qspi memory map size for stm32f7 boards
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 25 Apr 2019 14:50:55 +0000 (16:50 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Mon, 6 May 2019 07:50:26 +0000 (09:50 +0200)
stm32f746-disco embeds a 16Mb qspi flash, stm32f746-eval and
stm32f769-disco embeds a 64Mb qspi flash.
Update the reg property accordingly

Remove deprecated memory-map property.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32746g-eval-u-boot.dtsi
arch/arm/dts/stm32f746-disco-u-boot.dtsi
arch/arm/dts/stm32f769-disco-u-boot.dtsi

index 9b55bb7601b6ea576cd65204a2ffa79b67d115f2..935d44d8a99fb7a0868a668189d82e03a198a3d9 100644 (file)
 };
 
 &qspi {
+       reg = <0xA0001000 0x1000>, <0x90000000 0x4000000>;
        qflash0: n25q512a {
                #address-cells = <1>;
                #size-cells = <1>;
index bc337b1628b8770a9fc69a8c0fa690c0d4e4ff07..a6799beb19635437eec2d3e96ba4dcb32a35566e 100644 (file)
 };
 
 &qspi {
+       reg = <0xA0001000 0x1000>, <0x90000000 0x1000000>;
        qflash0: n25q128a {
                #address-cells = <1>;
                #size-cells = <1>;
                spi-max-frequency = <108000000>;
                spi-tx-bus-width = <1>;
                spi-rx-bus-width = <1>;
-               memory-map = <0x90000000 0x1000000>;
                reg = <0>;
        };
 };
index e9e43cba10ba4a59a9e3e4789814770cd27ff7ba..96770daa523e24fc57457bb45ea33d3b35238e5a 100644 (file)
 };
 
 &qspi {
+       reg = <0xA0001000 0x1000>, <0x90000000 0x4000000>;
        flash0: mx66l51235l {
                #address-cells = <1>;
                #size-cells = <1>;