[U-Boot] [PATCH] arm: dts: vf6: fix DTC unit warnings

Heiko Schocher hs at denx.de
Fri Apr 15 12:58:15 CEST 2016


Fix following warnings for all vf6 based boards:

Warning (unit_address_vs_reg): Node /soc/ifc at 1530000/board-control at 3,0/mdio-mux-emi1 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /soc/aips-bus at 40000000 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /soc/aips-bus at 40080000 has a unit name, but no reg property

Signed-off-by: Heiko Schocher <hs at denx.de>
---
This warnings pop up with the DTC compiler:
$ /tmp/dtc/dtc -v
Version: DTC 1.4.1-gbeef80b8

This fixes the compile warnings for:
https://travis-ci.org/u-boot/u-boot/jobs/122880431

see:
https://travis-ci.org/hsdenx/u-boot/jobs/123238780


 arch/arm/dts/ls1021a-qds.dtsi | 2 +-
 arch/arm/dts/vf.dtsi          | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/ls1021a-qds.dtsi b/arch/arm/dts/ls1021a-qds.dtsi
index ca9e835..4cb6337 100644
--- a/arch/arm/dts/ls1021a-qds.dtsi
+++ b/arch/arm/dts/ls1021a-qds.dtsi
@@ -138,7 +138,7 @@
 		device-width = <1>;
 		ranges = <0 3 0 0x100>;
 
-		mdio-mux-emi1 {
+		mdio-mux-emi1 at 54 {
 			compatible = "mdio-mux-mmioreg";
 			mdio-parent-bus = <&mdio0>;
 			#address-cells = <1>;
diff --git a/arch/arm/dts/vf.dtsi b/arch/arm/dts/vf.dtsi
index 1530d2f..99f3269 100644
--- a/arch/arm/dts/vf.dtsi
+++ b/arch/arm/dts/vf.dtsi
@@ -28,7 +28,7 @@
 		compatible = "simple-bus";
 		ranges;
 
-		aips0: aips-bus at 40000000 {
+		aips0: aips-bus_40000000 {
 			compatible = "fsl,aips-bus", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -115,7 +115,7 @@
 			};
 		};
 
-		aips1: aips-bus at 40080000 {
+		aips1: aips-bus_40080000 {
 			compatible = "fsl,aips-bus", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
-- 
2.5.0



More information about the U-Boot mailing list