Skip to content

Commit e0f489a

Browse files
author
Dinh Nguyen
committed
ARM: dts: socfpga: fix dtbs_check warning for fpga-region
soc (simple-bus): base_fpga_region: 'ranges' is a required property from schema $id: http://devicetree.org/schemas/simple-bus.yaml base_fpga_region (fpga-region): $nodename:0: 'base_fpga_region' does not match '^fpga-region(@.*|-([0-9]|[1-9][0-9]+))?$' from schema $id: http://devicetree.org/schemas/fpga/fpga-region.yaml Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
1 parent 6ba5f9b commit e0f489a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,13 @@
8787
};
8888
};
8989

90-
base_fpga_region {
90+
base_fpga_region: fpga-region {
9191
compatible = "fpga-region";
9292
fpga-mgr = <&fpgamgr0>;
9393

9494
#address-cells = <0x1>;
9595
#size-cells = <0x1>;
96+
ranges;
9697
};
9798

9899
can0: can@ffc00000 {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@
8080
};
8181
};
8282

83-
base_fpga_region {
83+
base_fpga_region: fpga-region {
8484
#address-cells = <0x1>;
8585
#size-cells = <0x1>;
8686

8787
compatible = "fpga-region";
8888
fpga-mgr = <&fpga_mgr>;
89+
ranges;
8990
};
9091

9192
clkmgr@ffd04000 {

0 commit comments

Comments
 (0)