diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2013-02-08 09:02:51 +0100 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-02-11 22:48:09 +0100 |
commit | fa59f178552f927bd96771ba84e9706655bea705 (patch) | |
tree | 1c3eefdca5d5b433d9a4c80693452989e69a382d /arch/powerpc/boot/dts/motionpro.dts | |
parent | powerpc/5200: Add Lite5200 on-board LEDs as devices (diff) | |
download | linux-fa59f178552f927bd96771ba84e9706655bea705.tar.xz linux-fa59f178552f927bd96771ba84e9706655bea705.zip |
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/motionpro.dts')
-rw-r--r-- | arch/powerpc/boot/dts/motionpro.dts | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/arch/powerpc/boot/dts/motionpro.dts b/arch/powerpc/boot/dts/motionpro.dts index 0b78e89ac69b..bbabd97492ad 100644 --- a/arch/powerpc/boot/dts/motionpro.dts +++ b/arch/powerpc/boot/dts/motionpro.dts @@ -12,26 +12,22 @@ /include/ "mpc5200b.dtsi" +&gpt0 { fsl,has-wdt; }; +&gpt6 { // Motion-PRO status LED + compatible = "promess,motionpro-led"; + label = "motionpro-statusled"; + blink-delay = <100>; // 100 msec +}; +&gpt7 { // Motion-PRO ready LED + compatible = "promess,motionpro-led"; + label = "motionpro-readyled"; +}; + / { model = "promess,motionpro"; compatible = "promess,motionpro"; soc5200@f0000000 { - timer@600 { // General Purpose Timer - fsl,has-wdt; - }; - - timer@660 { // Motion-PRO status LED - compatible = "promess,motionpro-led"; - label = "motionpro-statusled"; - blink-delay = <100>; // 100 msec - }; - - timer@670 { // Motion-PRO ready LED - compatible = "promess,motionpro-led"; - label = "motionpro-readyled"; - }; - can@900 { status = "disabled"; }; |