2018-07-09 13:17:22 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
|
|
|
/*
|
|
|
|
* Copyright : STMicroelectronics 2018
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "stm32mp157c-ed1-u-boot.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
2019-04-12 12:38:28 +00:00
|
|
|
gpio26 = &stmfx_pinctrl;
|
2018-07-09 13:17:22 +00:00
|
|
|
i2c1 = &i2c2;
|
|
|
|
i2c4 = &i2c5;
|
2019-04-12 12:38:28 +00:00
|
|
|
pinctrl2 = &stmfx_pinctrl;
|
2019-02-12 15:50:38 +00:00
|
|
|
spi0 = &qspi;
|
2019-03-29 14:42:23 +00:00
|
|
|
usb0 = &usbotg_hs;
|
2018-07-09 13:17:22 +00:00
|
|
|
};
|
2022-10-21 12:45:57 +00:00
|
|
|
|
|
|
|
fwu-mdata {
|
|
|
|
compatible = "u-boot,fwu-mdata-gpt";
|
|
|
|
fwu-mdata-store = <&sdmmc1>;
|
|
|
|
};
|
2018-07-09 13:17:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&flash0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2023-06-08 15:16:42 +00:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
|
|
|
|
partition@0 {
|
|
|
|
label = "fsbl1";
|
|
|
|
reg = <0x00000000 0x00040000>;
|
|
|
|
};
|
|
|
|
partition@80000 {
|
|
|
|
label = "fsbl2";
|
|
|
|
reg = <0x00040000 0x00040000>;
|
|
|
|
};
|
|
|
|
partition@100000 {
|
|
|
|
label = "ssbl";
|
|
|
|
reg = <0x00080000 0x00200000>;
|
|
|
|
};
|
|
|
|
partition@280000 {
|
|
|
|
label = "u-boot-env";
|
|
|
|
reg = <0x00280000 0x00080000>;
|
|
|
|
};
|
|
|
|
partition@300000 {
|
|
|
|
label = "nor-user";
|
|
|
|
reg = <0x00300000 0x03d00000>;
|
|
|
|
};
|
|
|
|
#else
|
|
|
|
partition@0 {
|
|
|
|
label = "fsbl1";
|
|
|
|
reg = <0x00000000 0x00040000>;
|
|
|
|
};
|
|
|
|
partition@40000 {
|
|
|
|
label = "fsbl2";
|
|
|
|
reg = <0x00040000 0x00040000>;
|
|
|
|
};
|
|
|
|
partition@100000 {
|
|
|
|
label = "fip";
|
|
|
|
reg = <0x00080000 0x00400000>;
|
|
|
|
};
|
|
|
|
partition@480000 {
|
|
|
|
label = "u-boot-env";
|
|
|
|
reg = <0x00480000 0x00080000>;
|
|
|
|
};
|
|
|
|
partition@500000 {
|
|
|
|
label = "nor-user";
|
|
|
|
reg = <0x00500000 0x03b00000>;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&fmc {
|
|
|
|
nand-controller@4,0 {
|
|
|
|
nand@0 {
|
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
|
|
|
|
partition@0 {
|
|
|
|
label = "fsbl";
|
|
|
|
reg = <0x00000000 0x00200000>;
|
|
|
|
};
|
|
|
|
partition@200000 {
|
|
|
|
label = "ssbl1";
|
|
|
|
reg = <0x00200000 0x00200000>;
|
|
|
|
};
|
|
|
|
partition@400000 {
|
|
|
|
label = "ssbl2";
|
|
|
|
reg = <0x00400000 0x00200000>;
|
|
|
|
};
|
|
|
|
partition@600000 {
|
|
|
|
label = "UBI";
|
|
|
|
reg = <0x00600000 0x3fa00000>;
|
|
|
|
};
|
|
|
|
#else
|
|
|
|
partition@0 {
|
|
|
|
label = "fsbl";
|
|
|
|
reg = <0x00000000 0x00200000>;
|
|
|
|
};
|
|
|
|
partition@200000 {
|
|
|
|
label = "fip1";
|
|
|
|
reg = <0x00200000 0x00400000>;
|
|
|
|
};
|
|
|
|
partition@600000 {
|
|
|
|
label = "fip2";
|
|
|
|
reg = <0x00600000 0x00400000>;
|
|
|
|
};
|
|
|
|
partition@1200000 {
|
|
|
|
label = "UBI";
|
|
|
|
reg = <0x00a00000 0x3f600000>;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2018-07-09 13:17:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&qspi {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-07-09 13:17:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&qspi_clk_pins_a {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-07-09 13:17:22 +00:00
|
|
|
pins {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-07-09 13:17:22 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&qspi_bk1_pins_a {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-07-09 13:17:22 +00:00
|
|
|
pins1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-07-09 13:17:22 +00:00
|
|
|
};
|
|
|
|
pins2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-07-09 13:17:22 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&qspi_bk2_pins_a {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-07-09 13:17:22 +00:00
|
|
|
pins1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-07-09 13:17:22 +00:00
|
|
|
};
|
|
|
|
pins2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-07-09 13:17:22 +00:00
|
|
|
};
|
|
|
|
};
|