dts: arm: Add unit-address component to memory and flash nodes
This patch add the unit-address component to memory and flash nodes. 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: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
parent
73024f8b3e
commit
399a6bec0f
22 changed files with 41 additions and 41 deletions
|
@ -18,12 +18,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20070000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20070000 0x18000>;
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@80000 {
|
||||
reg = <0x00080000 0x80000>;
|
||||
};
|
||||
|
||||
|
|
|
@ -18,12 +18,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20100000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20100000 0x20000>;
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@400000 {
|
||||
reg = <0x00400000 0x100000>;
|
||||
};
|
||||
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@400000 {
|
||||
reg = <0x00400000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20400000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20400000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@0 {
|
||||
reg = <0x00000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@0 {
|
||||
reg = <0x00000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@0 {
|
||||
reg = <0x00000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 0x30000>;
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@1FFFF000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x1FFFF000 0x4000>;
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 0x4000>;
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 0x20000>;
|
||||
};
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 DT_SRAM_SIZE>;
|
||||
};
|
||||
|
|
|
@ -18,12 +18,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 0x5000>;
|
||||
};
|
||||
|
||||
flash0: serial-flash {
|
||||
flash0: serial-flash@0 {
|
||||
compatible = "serial-flash";
|
||||
reg = <0x0 0x20000>;
|
||||
};
|
||||
|
|
|
@ -19,18 +19,18 @@
|
|||
};
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20004000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <DT_SRAM_START DT_SRAM_SIZE>;
|
||||
};
|
||||
|
||||
flash0: serial-flash {
|
||||
flash0: serial-flash@0 {
|
||||
compatible = "serial-flash";
|
||||
reg = <0x0 DT_SFLASH_SIZE>;
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SOC_CC3220SF)
|
||||
flash1: flash {
|
||||
flash1: flash@1000000 {
|
||||
reg = <0x01000000 DT_FLASH_SIZE>;
|
||||
};
|
||||
#endif
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
sram0: memory {
|
||||
sram0: memory@20000000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x20000000 (64*1024)>;
|
||||
};
|
||||
|
||||
flash0: flash {
|
||||
flash0: flash@0 {
|
||||
reg = <0x00000000 (256*1024)>;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue