mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-14 11:16:58 +02:00
The STM32 System Bus is an internal bus on which devices are connected. ETZPC is a peripheral overseeing the firewall bus that configures and control access to the peripherals connected on it. For more information on which peripheral is securable, please read the STM32MP13 or STM32MP15 reference manual. Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
256 lines
3.1 KiB
Plaintext
256 lines
3.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
|
/*
|
|
* 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;
|
|
pinctrl0 = &pinctrl;
|
|
pinctrl1 = &pinctrl_z;
|
|
};
|
|
|
|
binman: binman {
|
|
multiple-images;
|
|
};
|
|
|
|
clocks {
|
|
bootph-all;
|
|
};
|
|
|
|
/* need PSCI for sysreset during board_f */
|
|
psci {
|
|
bootph-some-ram;
|
|
};
|
|
|
|
reboot {
|
|
bootph-all;
|
|
compatible = "syscon-reboot";
|
|
regmap = <&rcc>;
|
|
offset = <0x404>;
|
|
mask = <0x1>;
|
|
};
|
|
|
|
soc {
|
|
bootph-all;
|
|
|
|
ddr: ddr@5a003000 {
|
|
bootph-all;
|
|
|
|
compatible = "st,stm32mp1-ddr";
|
|
|
|
reg = <0x5a003000 0x550
|
|
0x5a004000 0x234>;
|
|
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
cpu0_opp_table: cpu0-opp-table {
|
|
compatible = "operating-points-v2";
|
|
opp-shared;
|
|
bootph-pre-ram;
|
|
opp-650000000 {
|
|
bootph-pre-ram;
|
|
opp-hz = /bits/ 64 <650000000>;
|
|
opp-microvolt = <1200000>;
|
|
opp-supported-hw = <0x1>;
|
|
};
|
|
opp-800000000 {
|
|
bootph-pre-ram;
|
|
opp-hz = /bits/ 64 <800000000>;
|
|
opp-microvolt = <1350000>;
|
|
opp-supported-hw = <0x2>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&bsec {
|
|
bootph-all;
|
|
};
|
|
|
|
&clk_csi {
|
|
bootph-all;
|
|
};
|
|
|
|
&clk_hsi {
|
|
bootph-all;
|
|
};
|
|
|
|
&clk_hse {
|
|
bootph-all;
|
|
};
|
|
|
|
&clk_lsi {
|
|
bootph-all;
|
|
};
|
|
|
|
&clk_lse {
|
|
bootph-all;
|
|
};
|
|
|
|
&cpu0 {
|
|
nvmem-cells = <&part_number_otp>;
|
|
nvmem-cell-names = "part_number";
|
|
operating-points-v2 = <&cpu0_opp_table>;
|
|
};
|
|
|
|
&etzpc {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpioa {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpiob {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpioc {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpiod {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpioe {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpiof {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpiog {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpioh {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpioi {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpioj {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpiok {
|
|
bootph-all;
|
|
};
|
|
|
|
&gpioz {
|
|
bootph-all;
|
|
};
|
|
|
|
&iwdg2 {
|
|
bootph-all;
|
|
};
|
|
|
|
/* pre-reloc probe = reserve video frame buffer in video_reserve() */
|
|
<dc {
|
|
bootph-some-ram;
|
|
};
|
|
|
|
/* temp = waiting kernel update */
|
|
&m4_rproc {
|
|
resets = <&rcc MCU_R>,
|
|
<&rcc MCU_HOLD_BOOT_R>;
|
|
reset-names = "mcu_rst", "hold_boot";
|
|
};
|
|
|
|
&pinctrl {
|
|
bootph-all;
|
|
};
|
|
|
|
&pinctrl_z {
|
|
bootph-all;
|
|
};
|
|
|
|
&pwr_regulators {
|
|
bootph-all;
|
|
};
|
|
|
|
&rcc {
|
|
bootph-all;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
clock-names = "hse", "hsi", "csi", "lse", "lsi";
|
|
clocks = <&clk_hse>, <&clk_hsi>, <&clk_csi>,
|
|
<&clk_lse>, <&clk_lsi>;
|
|
};
|
|
|
|
&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>;
|
|
};
|
|
|
|
#if defined(CONFIG_STM32MP15X_STM32IMAGE)
|
|
&binman {
|
|
u-boot-stm32 {
|
|
filename = "u-boot.stm32";
|
|
mkimage {
|
|
args = "-T stm32image -a 0xc0100000 -e 0xc0100000";
|
|
u-boot {
|
|
};
|
|
};
|
|
};
|
|
};
|
|
#endif
|
|
|
|
#if defined(CONFIG_SPL)
|
|
&binman {
|
|
spl-stm32 {
|
|
filename = "u-boot-spl.stm32";
|
|
mkimage {
|
|
args = "-T stm32image -a 0x2ffc2500 -e 0x2ffc2500";
|
|
u-boot-spl {
|
|
no-write-symbols;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
#endif
|