Skip to content

Commit

Permalink
powerpc: Remove device_type = "board_control" properties in .dts files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Oct 21, 2008
1 parent 0a346da commit fd657ef
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Documentation/powerpc/dts-bindings/fsl/board.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

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

Example:

bcsr@f8000000 {
device_type = "board-control";
compatible = "fsl,mpc8360mds-bcsr";
reg = <f8000000 8000>;
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/mpc832x_mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
};

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

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/mpc834x_mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
};

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

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/mpc836x_mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
};

bcsr@1,0 {
device_type = "board-control";
compatible = "fsl,mpc8360mds-bcsr";
reg = <1 0 0x8000>;
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/mpc8568mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
};

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

Expand Down

0 comments on commit fd657ef

Please sign in to comment.