aboutsummaryrefslogtreecommitdiff
path: root/fdts
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2019-05-20 19:17:08 +0200
committerYann Gautier <yann.gautier@st.com>2019-06-17 14:03:51 +0200
commitf33b2433f5a6ae0a89ec7c1234deb7ac64362367 (patch)
treef37a34bf47ec6071eaa8180f0c55e8c33f6ce0ad /fdts
parent8f282dae744ce7fff4cefb4a80750548fa580225 (diff)
downloadtrusted-firmware-a-f33b2433f5a6ae0a89ec7c1234deb7ac64362367.tar.gz
stm32mp1: add general SYSCFG management
The system configuration controller is mainly used to manage the compensation cell and other IOs and system related settings. The SYSCFG driver is in charge of configuring masters on the interconnect, IO compensation, low voltage boards, or pull-ups for boot pins. All other configurations should be handled in Linux drivers requiring it. Device tree files are also updated to manage vdd-supply regulator. Change-Id: I10fb513761a7d1f2b7afedca9c723ad9d1bccf42 Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'fdts')
-rw-r--r--fdts/stm32mp157a-dk1.dts6
-rw-r--r--fdts/stm32mp157c-ed1.dts6
-rw-r--r--fdts/stm32mp157c.dtsi8
3 files changed, 19 insertions, 1 deletions
diff --git a/fdts/stm32mp157a-dk1.dts b/fdts/stm32mp157a-dk1.dts
index 68188be92b..9016b0f5b0 100644
--- a/fdts/stm32mp157a-dk1.dts
+++ b/fdts/stm32mp157a-dk1.dts
@@ -146,6 +146,12 @@
status = "okay";
};
+&pwr {
+ pwr-regulators {
+ vdd-supply = <&vdd>;
+ };
+};
+
&rng1 {
status = "okay";
};
diff --git a/fdts/stm32mp157c-ed1.dts b/fdts/stm32mp157c-ed1.dts
index 820e4131e9..7b16616b04 100644
--- a/fdts/stm32mp157c-ed1.dts
+++ b/fdts/stm32mp157c-ed1.dts
@@ -143,6 +143,12 @@
status = "okay";
};
+&pwr {
+ pwr-regulators {
+ vdd-supply = <&vdd>;
+ };
+};
+
&rng1 {
status = "okay";
};
diff --git a/fdts/stm32mp157c.dtsi b/fdts/stm32mp157c.dtsi
index 0ec7ecb783..1df76fa752 100644
--- a/fdts/stm32mp157c.dtsi
+++ b/fdts/stm32mp157c.dtsi
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
/*
- * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
+ * Copyright (C) STMicroelectronics 2017-2019 - All Rights Reserved
* Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics.
*/
#include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -170,6 +170,12 @@
};
};
+ syscfg: syscon@50020000 {
+ compatible = "st,stm32mp157-syscfg", "syscon";
+ reg = <0x50020000 0x400>;
+ clocks = <&rcc SYSCFG>;
+ };
+
rng1: rng@54003000 {
compatible = "st,stm32-rng";
reg = <0x54003000 0x400>;