dts: arm: stm32: Add ccm address and size configurations

Configure ccm size and address via dts. According to the DT
specification, the unit-address of a node must match the
first address specified in the reg property of the node.

Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
Erwin Rol 2017-10-05 02:13:46 +02:00 committed by Kumar Gala
commit eaf74f71ed
4 changed files with 45 additions and 1 deletions

View file

@ -8,6 +8,11 @@
#include <st/stm32f411.dtsi>
/ {
ccm0: memory@10000000 {
compatible = "st,stm32-ccm";
reg = <0x10000000 DT_CCM_SIZE>;
};
soc {
pinctrl: pin-controller {
reg = <0x40020000 0x2800>;