dts: Add cpus and cpu nodes missing properties

This patch adds #address-cell, #size-cell properties to
cpus container node and device_type, reg properties to
cpu node.

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2017-07-15 21:57:32 +03:00 committed by Kumar Gala
commit 941ffb017b
23 changed files with 187 additions and 16 deletions

View file

@ -8,8 +8,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4";
reg = <0>;
};
};

View file

@ -8,8 +8,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4";
reg = <0>;
};
};

View file

@ -10,8 +10,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m7";
reg = <0>;
};
};

View file

@ -3,8 +3,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m0";
reg = <0>;
};
};

View file

@ -3,8 +3,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};

View file

@ -3,8 +3,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};

View file

@ -2,8 +2,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};

View file

@ -2,8 +2,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m0+";
reg = <0>;
};
};

View file

@ -2,8 +2,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m0+";
reg = <0>;
};
};

View file

@ -2,8 +2,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m0+";
reg = <0>;
};
};

View file

@ -11,6 +11,17 @@
#include <st/mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m3";
reg = <0>;
};
};
flash0: flash {
reg = <0x08000000 DT_FLASH_SIZE>;
};

View file

@ -11,6 +11,17 @@
#include <st/mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m3";
reg = <0>;
};
};
flash0: flash {
reg = <0x08000000 DT_FLASH_SIZE>;
};

View file

@ -8,6 +8,17 @@
#include <st/mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m3";
reg = <0>;
};
};
flash0: flash {
reg = <0x08000000 DT_FLASH_SIZE>;
};

View file

@ -8,6 +8,17 @@
#include <st/mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};
flash0: flash {
reg = <0x08000000 DT_FLASH_SIZE>;
};

View file

@ -8,6 +8,17 @@
#include <st/mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};
flash0: flash {
reg = <0x08000000 DT_FLASH_SIZE>;
};

View file

@ -8,6 +8,17 @@
#include <st/mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};
flash0: flash {
reg = <0x08000000 DT_FLASH_SIZE>;
};

View file

@ -8,6 +8,17 @@
#include <st/mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};
flash0: flash {
reg = <0x08000000 DT_FLASH_SIZE>;
};

View file

@ -8,6 +8,17 @@
#include <st/mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};
flash0: flash {
reg = <0x08000000 DT_FLASH_SIZE>;
};

View file

@ -8,6 +8,17 @@
#include <st/mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};
flash0: flash {
reg = <0x08000000 DT_FLASH_SIZE>;
};

View file

@ -7,23 +7,28 @@
#include "armv7-m.dtsi"
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m3";
reg = <0>;
};
};
sram0: memory {
compatible = "sram";
reg = <0x20000000 0x5000>;
};
flash0: serial-flash {
compatible = "serial-flash";
reg = <0x0 0x20000>;
};
soc {
cpus {
cpu@0 {
compatible = "arm,cortex-m3";
};
};
sram0: memory {
compatible = "sram";
reg = <0x20000000 0x5000>;
};
flash0: serial-flash {
compatible = "serial-flash";
reg = <0x0 0x20000>;
};
gpioa: gpio@40022000 {
compatible = "ti,cc2650-gpio";
reg = <0x40022000 0xE4>;

View file

@ -9,8 +9,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4";
reg = <0>;
};
};

View file

@ -2,8 +2,13 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m3";
reg = <0>;
};
};

View file

@ -3,12 +3,19 @@
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "intel,quark";
reg = <0>;
};
cpu@1 {
device_type = "cpu";
compatible = "arc";
reg = <1>;
};
};