2018-05-06 22:27:01 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
2018-03-12 09:46:17 +00:00
|
|
|
/*
|
|
|
|
* Copyright : STMicroelectronics 2018
|
|
|
|
*/
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
gpio0 = &gpioa;
|
|
|
|
gpio1 = &gpiob;
|
|
|
|
gpio2 = &gpioc;
|
|
|
|
gpio3 = &gpiod;
|
|
|
|
gpio4 = &gpioe;
|
|
|
|
gpio5 = &gpiof;
|
|
|
|
gpio6 = &gpiog;
|
|
|
|
gpio7 = &gpioh;
|
|
|
|
gpio8 = &gpioi;
|
|
|
|
gpio9 = &gpioj;
|
|
|
|
gpio10 = &gpiok;
|
|
|
|
gpio25 = &gpioz;
|
2019-04-12 12:38:28 +00:00
|
|
|
pinctrl0 = &pinctrl;
|
|
|
|
pinctrl1 = &pinctrl_z;
|
2018-03-12 09:46:17 +00:00
|
|
|
};
|
|
|
|
|
2021-10-13 13:11:18 +00:00
|
|
|
binman: binman {
|
|
|
|
multiple-images;
|
|
|
|
};
|
|
|
|
|
2019-07-11 09:15:28 +00:00
|
|
|
clocks {
|
2018-03-12 09:46:17 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-07-30 17:16:15 +00:00
|
|
|
/* need PSCI for sysreset during board_f */
|
|
|
|
psci {
|
|
|
|
u-boot,dm-pre-proper;
|
|
|
|
};
|
|
|
|
|
2019-07-11 09:15:28 +00:00
|
|
|
reboot {
|
2018-03-12 09:46:17 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
2020-07-06 11:26:53 +00:00
|
|
|
compatible = "syscon-reboot";
|
|
|
|
regmap = <&rcc>;
|
|
|
|
offset = <0x404>;
|
|
|
|
mask = <0x1>;
|
2018-03-12 09:46:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
u-boot,dm-pre-reloc;
|
2020-04-22 11:18:13 +00:00
|
|
|
|
|
|
|
ddr: ddr@5a003000 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
|
|
|
|
compatible = "st,stm32mp1-ddr";
|
|
|
|
|
2021-11-15 10:39:13 +00:00
|
|
|
reg = <0x5a003000 0x550
|
|
|
|
0x5a004000 0x234>;
|
2020-04-22 11:18:13 +00:00
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
};
|
2018-03-20 10:45:14 +00:00
|
|
|
};
|
2018-03-12 09:46:17 +00:00
|
|
|
};
|
|
|
|
|
2019-02-27 16:01:27 +00:00
|
|
|
&bsec {
|
2020-05-25 10:19:41 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
2018-03-12 09:46:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&clk_csi {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-07-11 09:15:28 +00:00
|
|
|
&clk_hsi {
|
2018-03-12 09:46:17 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-07-11 09:15:28 +00:00
|
|
|
&clk_hse {
|
2018-03-20 13:15:06 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-07-11 09:15:28 +00:00
|
|
|
&clk_lsi {
|
2018-03-12 09:46:17 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-07-11 09:15:28 +00:00
|
|
|
&clk_lse {
|
2018-03-12 09:46:17 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2020-05-25 10:19:48 +00:00
|
|
|
&cpu0_opp_table {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
opp-650000000 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
opp-800000000 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-03-12 09:46:17 +00:00
|
|
|
&gpioa {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpiob {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpioc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpiod {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpioe {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpiof {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpiog {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpioh {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpioi {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpioj {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpiok {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpioz {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
2019-04-30 15:26:21 +00:00
|
|
|
|
2019-07-30 17:16:14 +00:00
|
|
|
&iwdg2 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-07-30 17:16:16 +00:00
|
|
|
/* pre-reloc probe = reserve video frame buffer in video_reserve() */
|
|
|
|
<dc {
|
|
|
|
u-boot,dm-pre-proper;
|
|
|
|
};
|
|
|
|
|
2020-10-15 13:01:12 +00:00
|
|
|
/* temp = waiting kernel update */
|
|
|
|
&m4_rproc {
|
|
|
|
resets = <&rcc MCU_R>,
|
|
|
|
<&rcc MCU_HOLD_BOOT_R>;
|
|
|
|
reset-names = "mcu_rst", "hold_boot";
|
|
|
|
};
|
|
|
|
|
2019-07-11 09:15:28 +00:00
|
|
|
&pinctrl {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_z {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2020-01-28 09:10:59 +00:00
|
|
|
&pwr_regulators {
|
2019-04-30 15:26:21 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
2019-07-11 09:15:28 +00:00
|
|
|
|
|
|
|
&rcc {
|
|
|
|
u-boot,dm-pre-reloc;
|
2020-01-28 09:11:03 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2019-07-11 09:15:28 +00:00
|
|
|
};
|
|
|
|
|
2020-07-06 12:48:58 +00:00
|
|
|
&usart1 {
|
|
|
|
resets = <&rcc USART1_R>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart2 {
|
|
|
|
resets = <&rcc USART2_R>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart3 {
|
|
|
|
resets = <&rcc USART3_R>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart4 {
|
|
|
|
resets = <&rcc UART4_R>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart5 {
|
|
|
|
resets = <&rcc UART5_R>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart6 {
|
|
|
|
resets = <&rcc USART6_R>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart7 {
|
|
|
|
resets = <&rcc UART7_R>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart8{
|
|
|
|
resets = <&rcc UART8_R>;
|
|
|
|
};
|
|
|
|
|
2021-10-13 13:11:18 +00:00
|
|
|
#if defined(CONFIG_STM32MP15x_STM32IMAGE)
|
|
|
|
&binman {
|
|
|
|
u-boot-stm32 {
|
|
|
|
filename = "u-boot.stm32";
|
|
|
|
mkimage {
|
2021-11-15 10:39:13 +00:00
|
|
|
args = "-T stm32image -a 0xc0100000 -e 0xc0100000";
|
2021-10-13 13:11:18 +00:00
|
|
|
u-boot {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_SPL)
|
|
|
|
&binman {
|
|
|
|
spl-stm32 {
|
|
|
|
filename = "u-boot-spl.stm32";
|
|
|
|
mkimage {
|
2021-11-15 10:39:13 +00:00
|
|
|
args = "-T stm32image -a 0x2ffc2500 -e 0x2ffc2500";
|
2021-10-13 13:11:18 +00:00
|
|
|
u-boot-spl {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|