diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2013-02-08 08:02:51 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-02-11 21:48:09 +0000 |
commit | fa59f178552f927bd96771ba84e9706655bea705 (patch) | |
tree | 1c3eefdca5d5b433d9a4c80693452989e69a382d /arch/powerpc/boot/dts/digsy_mtc.dts | |
parent | 4fd0a21353bd40a2f1f726faf0d74cf8cdcbce7f (diff) | |
download | op-kernel-dev-fa59f178552f927bd96771ba84e9706655bea705.zip op-kernel-dev-fa59f178552f927bd96771ba84e9706655bea705.tar.gz |
powerpc/5200: Use the gpt* labels to simplify mpc5200 dts files
The DTC labels feature allows a dts file to reference a node without
having to reproduce the entire node hierarchy above it. We can use this
to simplify the MPC5200 board dts files by referencing the gpt nodes by
label.
Cc: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
[agust: fixed gpt7 phandle in the csi node of o2d.dtsi]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/powerpc/boot/dts/digsy_mtc.dts')
-rw-r--r-- | arch/powerpc/boot/dts/digsy_mtc.dts | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts index a7511f2..955bff6 100644 --- a/arch/powerpc/boot/dts/digsy_mtc.dts +++ b/arch/powerpc/boot/dts/digsy_mtc.dts @@ -13,6 +13,9 @@ /include/ "mpc5200b.dtsi" +&gpt0 { gpio-controller; fsl,has-wdt; }; +&gpt1 { gpio-controller; }; + / { model = "intercontrol,digsy-mtc"; compatible = "intercontrol,digsy-mtc"; @@ -22,17 +25,6 @@ }; soc5200@f0000000 { - timer@600 { // General Purpose Timer - #gpio-cells = <2>; - fsl,has-wdt; - gpio-controller; - }; - - timer@610 { - #gpio-cells = <2>; - gpio-controller; - }; - rtc@800 { status = "disabled"; }; |