ARM: dts: rcar-gen2: Add missing mmio-sram bus properties
"#address-cells", "#size-cells", and "ranges" are required properties
for devices nodes compatible with "mmio-sram", leading to warnings when
running "make dtbs_check":
$ make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/sram/sram.yaml
arch/arm/boot/dts/r8a7791-koelsch.dt.yaml: sram@e63a0000: '#address-cells' is a required property
arch/arm/boot/dts/r8a7791-koelsch.dt.yaml: sram@e63a0000: '#size-cells' is a required property
arch/arm/boot/dts/r8a7791-koelsch.dt.yaml: sram@e63a0000: 'ranges' is a required property
...
Fix this by adding the missing properties to the mmio-sram device nodes
in the DTS files for all affected R-Car Gen2 and RZ/G1 SoCs.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20191213162604.1890-1-geert+renesas@glider.be
This commit is contained in:
@@ -399,6 +399,9 @@
|
|||||||
icram0: sram@e63a0000 {
|
icram0: sram@e63a0000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe63a0000 0 0x12000>;
|
reg = <0 0xe63a0000 0 0x12000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe63a0000 0x12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
icram1: sram@e63c0000 {
|
icram1: sram@e63c0000 {
|
||||||
@@ -417,6 +420,9 @@
|
|||||||
icram2: sram@e6300000 {
|
icram2: sram@e6300000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe6300000 0 0x40000>;
|
reg = <0 0xe6300000 0 0x40000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe6300000 0x40000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The memory map in the User's Manual maps the cores to
|
/* The memory map in the User's Manual maps the cores to
|
||||||
|
|||||||
@@ -399,6 +399,9 @@
|
|||||||
icram0: sram@e63a0000 {
|
icram0: sram@e63a0000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe63a0000 0 0x12000>;
|
reg = <0 0xe63a0000 0 0x12000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe63a0000 0x12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
icram1: sram@e63c0000 {
|
icram1: sram@e63c0000 {
|
||||||
@@ -417,6 +420,9 @@
|
|||||||
icram2: sram@e6300000 {
|
icram2: sram@e6300000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe6300000 0 0x40000>;
|
reg = <0 0xe6300000 0 0x40000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe6300000 0x40000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The memory map in the User's Manual maps the cores to
|
/* The memory map in the User's Manual maps the cores to
|
||||||
|
|||||||
@@ -363,6 +363,9 @@
|
|||||||
icram0: sram@e63a0000 {
|
icram0: sram@e63a0000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe63a0000 0 0x12000>;
|
reg = <0 0xe63a0000 0 0x12000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe63a0000 0x12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
icram1: sram@e63c0000 {
|
icram1: sram@e63c0000 {
|
||||||
@@ -381,6 +384,9 @@
|
|||||||
icram2: sram@e6300000 {
|
icram2: sram@e6300000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe6300000 0 0x40000>;
|
reg = <0 0xe6300000 0 0x40000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe6300000 0x40000>;
|
||||||
};
|
};
|
||||||
i2c0: i2c@e6508000 {
|
i2c0: i2c@e6508000 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|||||||
@@ -242,6 +242,9 @@
|
|||||||
icram0: sram@e63a0000 {
|
icram0: sram@e63a0000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe63a0000 0 0x12000>;
|
reg = <0 0xe63a0000 0 0x12000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe63a0000 0x12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
icram1: sram@e63c0000 {
|
icram1: sram@e63c0000 {
|
||||||
@@ -260,6 +263,9 @@
|
|||||||
icram2: sram@e6300000 {
|
icram2: sram@e6300000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe6300000 0 0x20000>;
|
reg = <0 0xe6300000 0 0x20000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe6300000 0x20000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c0: i2c@e6508000 {
|
i2c0: i2c@e6508000 {
|
||||||
|
|||||||
@@ -487,6 +487,9 @@
|
|||||||
icram0: sram@e63a0000 {
|
icram0: sram@e63a0000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe63a0000 0 0x12000>;
|
reg = <0 0xe63a0000 0 0x12000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe63a0000 0x12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
icram1: sram@e63c0000 {
|
icram1: sram@e63c0000 {
|
||||||
|
|||||||
@@ -420,6 +420,9 @@
|
|||||||
icram0: sram@e63a0000 {
|
icram0: sram@e63a0000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe63a0000 0 0x12000>;
|
reg = <0 0xe63a0000 0 0x12000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe63a0000 0x12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
icram1: sram@e63c0000 {
|
icram1: sram@e63c0000 {
|
||||||
|
|||||||
@@ -345,6 +345,9 @@
|
|||||||
icram0: sram@e63a0000 {
|
icram0: sram@e63a0000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe63a0000 0 0x12000>;
|
reg = <0 0xe63a0000 0 0x12000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe63a0000 0x12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
icram1: sram@e63c0000 {
|
icram1: sram@e63c0000 {
|
||||||
|
|||||||
@@ -406,6 +406,9 @@
|
|||||||
icram0: sram@e63a0000 {
|
icram0: sram@e63a0000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe63a0000 0 0x12000>;
|
reg = <0 0xe63a0000 0 0x12000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe63a0000 0x12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
icram1: sram@e63c0000 {
|
icram1: sram@e63c0000 {
|
||||||
|
|||||||
@@ -351,6 +351,9 @@
|
|||||||
icram0: sram@e63a0000 {
|
icram0: sram@e63a0000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0 0xe63a0000 0 0x12000>;
|
reg = <0 0xe63a0000 0 0x12000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0xe63a0000 0x12000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
icram1: sram@e63c0000 {
|
icram1: sram@e63c0000 {
|
||||||
|
|||||||
Reference in New Issue
Block a user