Skip to content

Commit 6de298f

Browse files
author
Dinh Nguyen
committed
arm64: dts: socfpga: agilex/stratix10: fix dtbs_check warnings for sram
sram@ffe00000: 'ranges' is a required property sram@ffe00000: '#size-cells' is a required property sram@ffe00000: '#address-cells' is a required property Signed-off-by: Dinh Nguyen <[email protected]>
1 parent 06c2afb commit 6de298f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@
331331
ocram: sram@ffe00000 {
332332
compatible = "mmio-sram";
333333
reg = <0xffe00000 0x100000>;
334+
#address-cells = <1>;
335+
#size-cells = <1>;
336+
ranges = <0 0xffe00000 0x100000>;
334337
};
335338

336339
pdma: dma-controller@ffda0000 {

arch/arm64/boot/dts/intel/socfpga_agilex.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,9 @@
336336
ocram: sram@ffe00000 {
337337
compatible = "mmio-sram";
338338
reg = <0xffe00000 0x40000>;
339+
#address-cells = <1>;
340+
#size-cells = <1>;
341+
ranges = <0 0xffe00000 0x40000>;
339342
};
340343

341344
pdma: dma-controller@ffda0000 {

0 commit comments

Comments
 (0)