Browse Source

powerpc: Remove device_type = "board_control" properties in .dts files

We don't want to encourage the bogus device_type usage.

The device type isn't used in the code, so we can simply remove it from
the documentation and dts files.

Boards should specify proper compatible entries instead.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Anton Vorontsov 16 years ago
parent
commit
fd657efc67

+ 2 - 2
Documentation/powerpc/dts-bindings/fsl/board.txt

@@ -2,13 +2,13 @@
 
 
 Required properties:
 Required properties:
 
 
- - device_type : Should be "board-control"
+ - compatible : Should be "fsl,<board>-bcsr"
  - reg : Offset and length of the register set for the device
  - reg : Offset and length of the register set for the device
 
 
 Example:
 Example:
 
 
 	bcsr@f8000000 {
 	bcsr@f8000000 {
-		device_type = "board-control";
+		compatible = "fsl,mpc8360mds-bcsr";
 		reg = <f8000000 8000>;
 		reg = <f8000000 8000>;
 	};
 	};
 
 

+ 1 - 1
arch/powerpc/boot/dts/mpc832x_mds.dts

@@ -60,7 +60,7 @@
 	};
 	};
 
 
 	bcsr@f8000000 {
 	bcsr@f8000000 {
-		device_type = "board-control";
+		compatible = "fsl,mpc8323mds-bcsr";
 		reg = <0xf8000000 0x8000>;
 		reg = <0xf8000000 0x8000>;
 	};
 	};
 
 

+ 1 - 1
arch/powerpc/boot/dts/mpc834x_mds.dts

@@ -49,7 +49,7 @@
 	};
 	};
 
 
 	bcsr@e2400000 {
 	bcsr@e2400000 {
-		device_type = "board-control";
+		compatible = "fsl,mpc8349mds-bcsr";
 		reg = <0xe2400000 0x8000>;
 		reg = <0xe2400000 0x8000>;
 	};
 	};
 
 

+ 1 - 1
arch/powerpc/boot/dts/mpc836x_mds.dts

@@ -69,7 +69,7 @@
 		};
 		};
 
 
 		bcsr@1,0 {
 		bcsr@1,0 {
-			device_type = "board-control";
+ 			compatible = "fsl,mpc8360mds-bcsr";
 			reg = <1 0 0x8000>;
 			reg = <1 0 0x8000>;
 		};
 		};
 	};
 	};

+ 1 - 1
arch/powerpc/boot/dts/mpc8568mds.dts

@@ -52,7 +52,7 @@
 	};
 	};
 
 
 	bcsr@f8000000 {
 	bcsr@f8000000 {
-		device_type = "board-control";
+		compatible = "fsl,mpc8568mds-bcsr";
 		reg = <0xf8000000 0x8000>;
 		reg = <0xf8000000 0x8000>;
 	};
 	};