2021-11-30 11:39:19 +01:00
|
|
|
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
|
|
|
|
/*
|
|
|
|
* Copyright (C) STMicroelectronics 2020 - All Rights Reserved
|
|
|
|
* Author: STM32CubeMX code generation for STMicroelectronics.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2022-10-05 09:58:13 +02:00
|
|
|
#include <dt-bindings/pinctrl/stm32-pinfunc.h>
|
2021-11-30 11:39:19 +01:00
|
|
|
#include <dt-bindings/clock/stm32mp1-clksrc.h>
|
2022-10-05 09:58:13 +02:00
|
|
|
#include <dt-bindings/soc/st,stm32-etzpc.h>
|
2021-11-30 11:39:19 +01:00
|
|
|
#include <dt-bindings/power/stm32mp1-power.h>
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
#include "stm32mp157.dtsi"
|
|
|
|
#include "stm32mp15xc.dtsi"
|
|
|
|
#include "stm32mp15xxac-pinctrl.dtsi"
|
|
|
|
#include "osd32mp1_ddr_1x4Gb.dtsi"
|
2021-11-30 11:39:19 +01:00
|
|
|
|
|
|
|
/ {
|
2022-10-05 09:58:13 +02:00
|
|
|
model = "Octavo OSD32MP1 RED board";
|
|
|
|
compatible = "octavo,stm32mp157c-osd32mp1-red", "st,stm32mp157";
|
2021-11-30 11:39:19 +01:00
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart4;
|
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
memory@c0000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0xc0000000 0x20000000>;
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
vin: vin {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vin";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
regulator-always-on;
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&bsec {
|
|
|
|
board_id: board_id@ec {
|
|
|
|
reg = <0xec 0x4>;
|
|
|
|
st,non-secure-otp;
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&clk_hse {
|
|
|
|
st,digbypass;
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&cpu0 {
|
|
|
|
cpu-supply = <&vddcore>;
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&cpu1 {
|
|
|
|
cpu-supply = <&vddcore>;
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&hash1 {
|
2021-11-30 11:39:19 +01:00
|
|
|
status = "okay";
|
2022-10-05 09:58:13 +02:00
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&cryp1 {
|
|
|
|
status = "okay";
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&etzpc {
|
2021-11-30 11:39:19 +01:00
|
|
|
st,decprot = <
|
2022-10-05 09:58:13 +02:00
|
|
|
DECPROT(STM32MP1_ETZPC_DCMI_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_ETH_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_USART1_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_SPI6_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_I2C4_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_SPI2_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_I2C6_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_RNG1_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_HASH1_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_CRYP1_ID, DECPROT_NS_RW, DECPROT_UNLOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_DDRCTRL_ID, DECPROT_NS_R_S_W, DECPROT_LOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_DDRPHYC_ID, DECPROT_NS_R_S_W, DECPROT_LOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_STGENC_ID, DECPROT_S_RW, DECPROT_LOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_BKPSRAM_ID, DECPROT_S_RW, DECPROT_LOCK)
|
|
|
|
DECPROT(STM32MP1_ETZPC_IWDG1_ID, DECPROT_S_RW, DECPROT_LOCK)
|
2021-11-30 11:39:19 +01:00
|
|
|
>;
|
2022-10-05 09:58:13 +02:00
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&i2c4 {
|
2021-11-30 11:39:19 +01:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c4_pins_z_mx>;
|
|
|
|
i2c-scl-rising-time-ns = <185>;
|
|
|
|
i2c-scl-falling-time-ns = <20>;
|
2022-10-05 09:58:13 +02:00
|
|
|
clock-frequency = <400000>;
|
|
|
|
status = "okay";
|
|
|
|
secure-status = "okay";
|
2021-11-30 11:39:19 +01:00
|
|
|
|
|
|
|
pmic: stpmic@33 {
|
|
|
|
compatible = "st,stpmic1";
|
|
|
|
reg = <0x33>;
|
|
|
|
interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
status = "okay";
|
2022-10-05 09:58:13 +02:00
|
|
|
secure-status = "okay";
|
2021-11-30 11:39:19 +01:00
|
|
|
|
|
|
|
regulators {
|
|
|
|
compatible = "st,stpmic1-regulators";
|
2022-10-05 09:58:13 +02:00
|
|
|
buck1-supply = <&vin>;
|
|
|
|
buck2-supply = <&vin>;
|
|
|
|
buck3-supply = <&vin>;
|
|
|
|
buck4-supply = <&vin>;
|
2021-11-30 11:39:19 +01:00
|
|
|
ldo1-supply = <&v3v3>;
|
2022-10-05 09:58:13 +02:00
|
|
|
ldo2-supply = <&vin>;
|
2021-11-30 11:39:19 +01:00
|
|
|
ldo3-supply = <&vdd_ddr>;
|
2022-10-05 09:58:13 +02:00
|
|
|
ldo4-supply = <&vin>;
|
|
|
|
ldo5-supply = <&vin>;
|
2021-11-30 11:39:19 +01:00
|
|
|
ldo6-supply = <&v3v3>;
|
2022-10-05 09:58:13 +02:00
|
|
|
vref_ddr-supply = <&vin>;
|
|
|
|
boost-supply = <&vin>;
|
|
|
|
pwr_sw1-supply = <&bst_out>;
|
|
|
|
pwr_sw2-supply = <&bst_out>;
|
2021-11-30 11:39:19 +01:00
|
|
|
|
|
|
|
vddcore: buck1 {
|
|
|
|
regulator-name = "vddcore";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-initial-mode = <0>;
|
|
|
|
regulator-over-current-protection;
|
2022-10-05 09:58:13 +02:00
|
|
|
lp-stop{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-suspend-microvolt = <1200000>;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_ddr: buck2 {
|
|
|
|
regulator-name = "vdd_ddr";
|
|
|
|
regulator-min-microvolt = <1350000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-initial-mode = <0>;
|
|
|
|
regulator-over-current-protection;
|
2022-10-05 09:58:13 +02:00
|
|
|
lp-stop{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-suspend-microvolt = <1350000>;
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-suspend-microvolt = <1350000>;
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd: buck3 {
|
|
|
|
regulator-name = "vdd";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
st,mask-reset;
|
|
|
|
regulator-initial-mode = <0>;
|
|
|
|
regulator-over-current-protection;
|
2022-10-05 09:58:13 +02:00
|
|
|
lp-stop{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-suspend-microvolt = <3300000>;
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-suspend-microvolt = <3300000>;
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-suspend-microvolt = <3300000>;
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
v3v3: buck4 {
|
|
|
|
regulator-name = "v3v3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-over-current-protection;
|
|
|
|
regulator-initial-mode = <0>;
|
2022-10-05 09:58:13 +02:00
|
|
|
lp-stop{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-suspend-microvolt = <3300000>;
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
v1v8_ldo1: ldo1 {
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-name = "v1v8_audio";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
standby-ddr-off{
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
v3v3_ldo2: ldo2 {
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-name = "v3v3_hdmi";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vtt_ddr: ldo3 {
|
|
|
|
regulator-name = "vtt_ddr";
|
|
|
|
regulator-min-microvolt = <500000>;
|
|
|
|
regulator-max-microvolt = <750000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-over-current-protection;
|
2022-10-05 09:58:13 +02:00
|
|
|
lp-stop{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_usb: ldo4 {
|
|
|
|
regulator-name = "vdd_usb";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
2022-10-05 09:58:13 +02:00
|
|
|
regulator-always-on;
|
|
|
|
standby-ddr-sr{
|
|
|
|
regulator-on-in-suspend;
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vdda: ldo5 {
|
|
|
|
regulator-name = "vdda";
|
|
|
|
regulator-min-microvolt = <2900000>;
|
|
|
|
regulator-max-microvolt = <2900000>;
|
|
|
|
regulator-boot-on;
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
v1v2_ldo6: ldo6 {
|
|
|
|
regulator-name = "v1v2_ldo6";
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-always-on;
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vref_ddr: vref_ddr {
|
|
|
|
regulator-name = "vref_ddr";
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-over-current-protection;
|
2022-10-05 09:58:13 +02:00
|
|
|
lp-stop{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-sr{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
2022-10-05 09:58:13 +02:00
|
|
|
standby-ddr-off{
|
2021-11-30 11:39:19 +01:00
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
bst_out: boost {
|
|
|
|
regulator-name = "bst_out";
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
vbus_otg: pwr_sw1 {
|
|
|
|
regulator-name = "vbus_otg";
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
vbus_sw: pwr_sw2 {
|
|
|
|
regulator-name = "vbus_sw";
|
|
|
|
regulator-active-discharge = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&iwdg2 {
|
|
|
|
timeout-sec = <32>;
|
|
|
|
secure-timeout-sec = <5>;
|
2021-11-30 11:39:19 +01:00
|
|
|
status = "okay";
|
|
|
|
secure-status = "okay";
|
2022-10-05 09:58:13 +02:00
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&nvmem_layout {
|
|
|
|
nvmem-cells = <&cfg0_otp>,
|
|
|
|
<&part_number_otp>,
|
|
|
|
<&monotonic_otp>,
|
|
|
|
<&nand_otp>,
|
|
|
|
<&uid_otp>,
|
|
|
|
<&package_otp>,
|
|
|
|
<&hw2_otp>,
|
|
|
|
<&pkh_otp>,
|
|
|
|
<&board_id>;
|
|
|
|
|
|
|
|
nvmem-cell-names = "cfg0_otp",
|
|
|
|
"part_number_otp",
|
|
|
|
"monotonic_otp",
|
|
|
|
"nand_otp",
|
|
|
|
"uid_otp",
|
|
|
|
"package_otp",
|
|
|
|
"hw2_otp",
|
|
|
|
"pkh_otp",
|
|
|
|
"board_id";
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&pwr_regulators {
|
2021-11-30 11:39:19 +01:00
|
|
|
system_suspend_supported_soc_modes = <
|
|
|
|
STM32_PM_CSLEEP_RUN
|
|
|
|
STM32_PM_CSTOP_ALLOW_LP_STOP
|
|
|
|
STM32_PM_CSTOP_ALLOW_STANDBY_DDR_SR
|
|
|
|
>;
|
|
|
|
system_off_soc_mode = <STM32_PM_CSTOP_ALLOW_STANDBY_DDR_OFF>;
|
2022-10-05 09:58:13 +02:00
|
|
|
vdd-supply = <&vdd>;
|
|
|
|
vdd_3v3_usbfs-supply = <&vdd_usb>;
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&rcc {
|
|
|
|
st,hsi-cal;
|
|
|
|
st,csi-cal;
|
|
|
|
st,cal-sec = <60>;
|
|
|
|
st,clksrc = <
|
|
|
|
CLK_MPU_PLL1P
|
|
|
|
CLK_AXI_PLL2P
|
|
|
|
CLK_MCU_PLL3P
|
|
|
|
CLK_PLL12_HSE
|
|
|
|
CLK_PLL3_HSE
|
|
|
|
CLK_PLL4_HSE
|
|
|
|
CLK_RTC_LSE
|
|
|
|
CLK_MCO1_DISABLED
|
|
|
|
CLK_MCO2_DISABLED
|
|
|
|
>;
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
st,clkdiv = <
|
|
|
|
1 /*MPU*/
|
|
|
|
0 /*AXI*/
|
|
|
|
0 /*MCU*/
|
|
|
|
1 /*APB1*/
|
|
|
|
1 /*APB2*/
|
|
|
|
1 /*APB3*/
|
|
|
|
1 /*APB4*/
|
|
|
|
2 /*APB5*/
|
|
|
|
23 /*RTC*/
|
|
|
|
0 /*MCO1*/
|
|
|
|
0 /*MCO2*/
|
|
|
|
>;
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
st,pkcs = <
|
|
|
|
CLK_CKPER_HSE
|
|
|
|
CLK_ETH_PLL3Q
|
|
|
|
CLK_SDMMC12_PLL4P
|
|
|
|
CLK_DSI_DSIPLL
|
|
|
|
CLK_STGEN_HSE
|
|
|
|
CLK_USBPHY_HSE
|
|
|
|
CLK_SPI2S1_PLL3Q
|
|
|
|
CLK_SPI2S23_CKPER
|
|
|
|
CLK_SPI45_PCLK2
|
|
|
|
CLK_SPI6_DISABLED
|
|
|
|
CLK_I2C46_HSI
|
|
|
|
CLK_SDMMC3_PLL4P
|
|
|
|
CLK_USBO_USBPHY
|
|
|
|
CLK_ADC_CKPER
|
|
|
|
CLK_CEC_LSE
|
|
|
|
CLK_I2C12_HSI
|
|
|
|
CLK_I2C35_HSI
|
|
|
|
CLK_UART1_DISABLED
|
|
|
|
CLK_UART24_HSI
|
|
|
|
CLK_UART35_HSI
|
|
|
|
CLK_UART6_DISABLED
|
|
|
|
CLK_UART78_DISABLED
|
|
|
|
CLK_SPDIF_DISABLED
|
|
|
|
CLK_SAI1_DISABLED
|
|
|
|
CLK_SAI2_DISABLED
|
|
|
|
CLK_SAI3_DISABLED
|
|
|
|
CLK_SAI4_DISABLED
|
|
|
|
CLK_RNG1_LSI
|
|
|
|
CLK_LPTIM1_DISABLED
|
|
|
|
CLK_LPTIM23_DISABLED
|
|
|
|
CLK_LPTIM45_DISABLED
|
|
|
|
>;
|
|
|
|
|
|
|
|
pll1:st,pll@0 {
|
|
|
|
cfg = < 2 80 0 1 1 PQR(1,0,0) >;
|
|
|
|
frac = < 0x800>;
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
pll2:st,pll@1 {
|
|
|
|
cfg = < 2 65 1 0 0 PQR(1,1,1) >;
|
|
|
|
frac = < 0x1400>;
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
pll3:st,pll@2 {
|
|
|
|
cfg = < 1 61 3 5 36 PQR(1,1,0) >;
|
|
|
|
frac = < 0x1000 >;
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
pll4: st,pll@3 {
|
|
|
|
cfg = < 3 98 5 7 7 PQR(1,1,1) >;
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&rng1 {
|
2021-11-30 11:39:19 +01:00
|
|
|
status = "okay";
|
|
|
|
secure-status = "okay";
|
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&rtc {
|
2021-11-30 11:39:19 +01:00
|
|
|
status = "okay";
|
|
|
|
secure-status = "okay";
|
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&sdmmc1 {
|
2021-11-30 11:39:19 +01:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sdmmc1_pins_mx>;
|
2022-10-05 09:58:13 +02:00
|
|
|
disable-wp;
|
2021-11-30 11:39:19 +01:00
|
|
|
st,neg-edge;
|
|
|
|
bus-width = <4>;
|
|
|
|
vmmc-supply = <&v3v3>;
|
2022-10-05 09:58:13 +02:00
|
|
|
status = "okay";
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc2{
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sdmmc2_pins_mx>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&timers15 {
|
|
|
|
secure-status = "okay";
|
|
|
|
st,hsi-cal-input = <7>;
|
|
|
|
st,csi-cal-input = <8>;
|
|
|
|
};
|
|
|
|
&uart4 {
|
2021-11-30 11:39:19 +01:00
|
|
|
pinctrl-names = "default";
|
2022-10-05 09:58:13 +02:00
|
|
|
pinctrl-0 = <&uart4_pins_mx>;
|
2021-11-30 11:39:19 +01:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&usbotg_hs {
|
|
|
|
phys = <&usbphyc_port1 0>;
|
|
|
|
phy-names = "usb2-phy";
|
|
|
|
usb-role-switch;
|
2021-11-30 11:39:19 +01:00
|
|
|
status = "okay";
|
2022-10-05 09:58:13 +02:00
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&usbphyc {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&usbphyc_port0 {
|
|
|
|
phy-supply = <&vdd_usb>;
|
2021-11-30 11:39:19 +01:00
|
|
|
};
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&usbphyc_port1 {
|
|
|
|
phy-supply = <&vdd_usb>;
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&pinctrl {
|
|
|
|
sdmmc1_pins_mx: sdmmc1-b4-0 {
|
|
|
|
pins1 {
|
|
|
|
pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */
|
|
|
|
<STM32_PINMUX('C', 9, AF12)>, /* SDMMC1_D1 */
|
|
|
|
<STM32_PINMUX('C', 10, AF12)>, /* SDMMC1_D2 */
|
|
|
|
<STM32_PINMUX('C', 11, AF12)>, /* SDMMC1_D3 */
|
|
|
|
<STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */
|
|
|
|
slew-rate = <1>;
|
|
|
|
drive-push-pull;
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
pins2 {
|
|
|
|
pinmux = <STM32_PINMUX('C', 12, AF12)>; /* SDMMC1_CK */
|
|
|
|
slew-rate = <2>;
|
|
|
|
drive-push-pull;
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
sdmmc2_pins_mx: sdmmc2_mx-0 {
|
|
|
|
pins1 {
|
|
|
|
pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */
|
|
|
|
<STM32_PINMUX('A', 9, AF10)>, /* SDMMC2_D5 */
|
|
|
|
<STM32_PINMUX('B', 3, AF9)>, /* SDMMC2_D2 */
|
|
|
|
<STM32_PINMUX('B', 4, AF9)>, /* SDMMC2_D3 */
|
|
|
|
<STM32_PINMUX('B', 14, AF9)>, /* SDMMC2_D0 */
|
|
|
|
<STM32_PINMUX('B', 15, AF9)>, /* SDMMC2_D1 */
|
|
|
|
<STM32_PINMUX('C', 7, AF10)>, /* SDMMC2_D7 */
|
|
|
|
<STM32_PINMUX('E', 5, AF9)>, /* SDMMC2_D6 */
|
|
|
|
<STM32_PINMUX('G', 6, AF10)>; /* SDMMC2_CMD */
|
|
|
|
bias-pull-up;
|
|
|
|
drive-push-pull;
|
|
|
|
slew-rate = <1>;
|
|
|
|
};
|
|
|
|
pins2 {
|
|
|
|
pinmux = <STM32_PINMUX('E', 3, AF9)>; /* SDMMC2_CK */
|
|
|
|
bias-pull-up;
|
|
|
|
drive-push-pull;
|
|
|
|
slew-rate = <2>;
|
|
|
|
};
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
uart4_pins_mx: uart4-0 {
|
|
|
|
pins1 {
|
|
|
|
pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */
|
|
|
|
bias-disable;
|
|
|
|
drive-push-pull;
|
|
|
|
slew-rate = <0>;
|
|
|
|
};
|
|
|
|
pins2 {
|
|
|
|
pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
&pinctrl_z {
|
|
|
|
i2c4_pins_z_mx: i2c4-0 {
|
|
|
|
pins {
|
|
|
|
pinmux = <STM32_PINMUX('Z', 4, AF6)>, /* I2C4_SCL */
|
|
|
|
<STM32_PINMUX('Z', 5, AF6)>; /* I2C4_SDA */
|
|
|
|
bias-disable;
|
|
|
|
drive-open-drain;
|
|
|
|
slew-rate = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|