summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mucmc52.dts
diff options
context:
space:
mode:
authorGrant Likely2013-02-08 09:02:51 +0100
committerAnatolij Gustschin2013-02-11 22:48:09 +0100
commitfa59f178552f927bd96771ba84e9706655bea705 (patch)
tree1c3eefdca5d5b433d9a4c80693452989e69a382d /arch/powerpc/boot/dts/mucmc52.dts
parentpowerpc/5200: Add Lite5200 on-board LEDs as devices (diff)
downloadkernel-qcow2-linux-fa59f178552f927bd96771ba84e9706655bea705.tar.gz
kernel-qcow2-linux-fa59f178552f927bd96771ba84e9706655bea705.tar.xz
kernel-qcow2-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/mucmc52.dts')
-rw-r--r--arch/powerpc/boot/dts/mucmc52.dts48
1 files changed, 12 insertions, 36 deletions
diff --git a/arch/powerpc/boot/dts/mucmc52.dts b/arch/powerpc/boot/dts/mucmc52.dts
index 21d34720fcc9..d3a792bb5c1a 100644
--- a/arch/powerpc/boot/dts/mucmc52.dts
+++ b/arch/powerpc/boot/dts/mucmc52.dts
@@ -13,47 +13,23 @@
/include/ "mpc5200b.dtsi"
+/* Timer pins that need to be in GPIO mode */
+&gpt0 { gpio-controller; };
+&gpt1 { gpio-controller; };
+&gpt2 { gpio-controller; };
+&gpt3 { gpio-controller; };
+
+/* Disabled timers */
+&gpt4 { status = "disabled"; };
+&gpt5 { status = "disabled"; };
+&gpt6 { status = "disabled"; };
+&gpt7 { status = "disabled"; };
+
/ {
model = "manroland,mucmc52";
compatible = "manroland,mucmc52";
soc5200@f0000000 {
- gpt0: timer@600 { // GPT 0 in GPIO mode
- gpio-controller;
- #gpio-cells = <2>;
- };
-
- gpt1: timer@610 { // General Purpose Timer in GPIO mode
- gpio-controller;
- #gpio-cells = <2>;
- };
-
- gpt2: timer@620 { // General Purpose Timer in GPIO mode
- gpio-controller;
- #gpio-cells = <2>;
- };
-
- gpt3: timer@630 { // General Purpose Timer in GPIO mode
- gpio-controller;
- #gpio-cells = <2>;
- };
-
- timer@640 {
- status = "disabled";
- };
-
- timer@650 {
- status = "disabled";
- };
-
- timer@660 {
- status = "disabled";
- };
-
- timer@670 {
- status = "disabled";
- };
-
rtc@800 {
status = "disabled";
};