Skip to content

Commit 6ba5f9b

Browse files
author
Dinh Nguyen
committed
ARM: dts: socfpga: add #address-cells and #size-cells for sram node
Add #address-cells and #size-cells for sram node to fix below DTB_CHECK warnings: socfpga_arria5_socdk.dtb: sram@ffff0000 (mmio-sram): '#size-cells' is a required property from schema $id: http://devicetree.org/schemas/sram/sram.yaml Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
1 parent 42918d2 commit 6ba5f9b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

arch/arm/boot/dts/intel/socfpga/socfpga.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,9 @@
785785
ocram: sram@ffff0000 {
786786
compatible = "mmio-sram";
787787
reg = <0xffff0000 0x10000>;
788+
#address-cells = <0x1>;
789+
#size-cells = <0x1>;
790+
ranges;
788791
};
789792

790793
qspi: spi@ff705000 {

arch/arm/boot/dts/intel/socfpga/socfpga_arria10.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,9 @@
686686
ocram: sram@ffe00000 {
687687
compatible = "mmio-sram";
688688
reg = <0xffe00000 0x40000>;
689+
#address-cells = <1>;
690+
#size-cells = <1>;
691+
ranges;
689692
};
690693

691694
eccmgr: eccmgr {

0 commit comments

Comments
 (0)