diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2013-02-08 03:02:51 -0500 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-02-11 16:48:09 -0500 |
commit | fa59f178552f927bd96771ba84e9706655bea705 (patch) | |
tree | 1c3eefdca5d5b433d9a4c80693452989e69a382d /arch/powerpc/boot | |
parent | 4fd0a21353bd40a2f1f726faf0d74cf8cdcbce7f (diff) |
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')
-rw-r--r-- | arch/powerpc/boot/dts/a3m071.dts | 6 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/a4m072.dts | 27 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/cm5200.dts | 6 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/digsy_mtc.dts | 14 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/media5200.dts | 6 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/motionpro.dts | 26 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/mucmc52.dts | 48 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/o2d.dtsi | 27 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/pcm030.dts | 48 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/pcm032.dts | 45 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/uc101.dts | 52 |
11 files changed, 70 insertions, 235 deletions
diff --git a/arch/powerpc/boot/dts/a3m071.dts b/arch/powerpc/boot/dts/a3m071.dts index 877a28cb77e4..bf81b8f9704c 100644 --- a/arch/powerpc/boot/dts/a3m071.dts +++ b/arch/powerpc/boot/dts/a3m071.dts | |||
@@ -17,6 +17,8 @@ | |||
17 | 17 | ||
18 | /include/ "mpc5200b.dtsi" | 18 | /include/ "mpc5200b.dtsi" |
19 | 19 | ||
20 | &gpt0 { fsl,has-wdt; }; | ||
21 | |||
20 | / { | 22 | / { |
21 | model = "anonymous,a3m071"; | 23 | model = "anonymous,a3m071"; |
22 | compatible = "anonymous,a3m071"; | 24 | compatible = "anonymous,a3m071"; |
@@ -30,10 +32,6 @@ | |||
30 | bus-frequency = <0>; /* From boot loader */ | 32 | bus-frequency = <0>; /* From boot loader */ |
31 | system-frequency = <0>; /* From boot loader */ | 33 | system-frequency = <0>; /* From boot loader */ |
32 | 34 | ||
33 | timer@600 { | ||
34 | fsl,has-wdt; | ||
35 | }; | ||
36 | |||
37 | spi@f00 { | 35 | spi@f00 { |
38 | status = "disabled"; | 36 | status = "disabled"; |
39 | }; | 37 | }; |
diff --git a/arch/powerpc/boot/dts/a4m072.dts b/arch/powerpc/boot/dts/a4m072.dts index fabe7b7d5f13..1f02034c7e99 100644 --- a/arch/powerpc/boot/dts/a4m072.dts +++ b/arch/powerpc/boot/dts/a4m072.dts | |||
@@ -15,6 +15,11 @@ | |||
15 | 15 | ||
16 | /include/ "mpc5200b.dtsi" | 16 | /include/ "mpc5200b.dtsi" |
17 | 17 | ||
18 | &gpt0 { fsl,has-wdt; }; | ||
19 | &gpt3 { gpio-controller; }; | ||
20 | &gpt4 { gpio-controller; }; | ||
21 | &gpt5 { gpio-controller; }; | ||
22 | |||
18 | / { | 23 | / { |
19 | model = "anonymous,a4m072"; | 24 | model = "anonymous,a4m072"; |
20 | compatible = "anonymous,a4m072"; | 25 | compatible = "anonymous,a4m072"; |
@@ -34,28 +39,6 @@ | |||
34 | fsl,init-fd-counters = <0x3333>; | 39 | fsl,init-fd-counters = <0x3333>; |
35 | }; | 40 | }; |
36 | 41 | ||
37 | timer@600 { | ||
38 | fsl,has-wdt; | ||
39 | }; | ||
40 | |||
41 | gpt3: timer@630 { /* General Purpose Timer in GPIO mode */ | ||
42 | compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; | ||
43 | gpio-controller; | ||
44 | #gpio-cells = <2>; | ||
45 | }; | ||
46 | |||
47 | gpt4: timer@640 { /* General Purpose Timer in GPIO mode */ | ||
48 | compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; | ||
49 | gpio-controller; | ||
50 | #gpio-cells = <2>; | ||
51 | }; | ||
52 | |||
53 | gpt5: timer@650 { /* General Purpose Timer in GPIO mode */ | ||
54 | compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; | ||
55 | gpio-controller; | ||
56 | #gpio-cells = <2>; | ||
57 | }; | ||
58 | |||
59 | spi@f00 { | 42 | spi@f00 { |
60 | status = "disabled"; | 43 | status = "disabled"; |
61 | }; | 44 | }; |
diff --git a/arch/powerpc/boot/dts/cm5200.dts b/arch/powerpc/boot/dts/cm5200.dts index ad3a4f4a2b04..fb580dd84ddf 100644 --- a/arch/powerpc/boot/dts/cm5200.dts +++ b/arch/powerpc/boot/dts/cm5200.dts | |||
@@ -12,15 +12,13 @@ | |||
12 | 12 | ||
13 | /include/ "mpc5200b.dtsi" | 13 | /include/ "mpc5200b.dtsi" |
14 | 14 | ||
15 | &gpt0 { fsl,has-wdt; }; | ||
16 | |||
15 | / { | 17 | / { |
16 | model = "schindler,cm5200"; | 18 | model = "schindler,cm5200"; |
17 | compatible = "schindler,cm5200"; | 19 | compatible = "schindler,cm5200"; |
18 | 20 | ||
19 | soc5200@f0000000 { | 21 | soc5200@f0000000 { |
20 | timer@600 { // General Purpose Timer | ||
21 | fsl,has-wdt; | ||
22 | }; | ||
23 | |||
24 | can@900 { | 22 | can@900 { |
25 | status = "disabled"; | 23 | status = "disabled"; |
26 | }; | 24 | }; |
diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts index a7511f2d844d..955bff629df3 100644 --- a/arch/powerpc/boot/dts/digsy_mtc.dts +++ b/arch/powerpc/boot/dts/digsy_mtc.dts | |||
@@ -13,6 +13,9 @@ | |||
13 | 13 | ||
14 | /include/ "mpc5200b.dtsi" | 14 | /include/ "mpc5200b.dtsi" |
15 | 15 | ||
16 | &gpt0 { gpio-controller; fsl,has-wdt; }; | ||
17 | &gpt1 { gpio-controller; }; | ||
18 | |||
16 | / { | 19 | / { |
17 | model = "intercontrol,digsy-mtc"; | 20 | model = "intercontrol,digsy-mtc"; |
18 | compatible = "intercontrol,digsy-mtc"; | 21 | compatible = "intercontrol,digsy-mtc"; |
@@ -22,17 +25,6 @@ | |||
22 | }; | 25 | }; |
23 | 26 | ||
24 | soc5200@f0000000 { | 27 | soc5200@f0000000 { |
25 | timer@600 { // General Purpose Timer | ||
26 | #gpio-cells = <2>; | ||
27 | fsl,has-wdt; | ||
28 | gpio-controller; | ||
29 | }; | ||
30 | |||
31 | timer@610 { | ||
32 | #gpio-cells = <2>; | ||
33 | gpio-controller; | ||
34 | }; | ||
35 | |||
36 | rtc@800 { | 28 | rtc@800 { |
37 | status = "disabled"; | 29 | status = "disabled"; |
38 | }; | 30 | }; |
diff --git a/arch/powerpc/boot/dts/media5200.dts b/arch/powerpc/boot/dts/media5200.dts index 48d72f38e5ed..b5413cb85f13 100644 --- a/arch/powerpc/boot/dts/media5200.dts +++ b/arch/powerpc/boot/dts/media5200.dts | |||
@@ -13,6 +13,8 @@ | |||
13 | 13 | ||
14 | /include/ "mpc5200b.dtsi" | 14 | /include/ "mpc5200b.dtsi" |
15 | 15 | ||
16 | &gpt0 { fsl,has-wdt; }; | ||
17 | |||
16 | / { | 18 | / { |
17 | model = "fsl,media5200"; | 19 | model = "fsl,media5200"; |
18 | compatible = "fsl,media5200"; | 20 | compatible = "fsl,media5200"; |
@@ -41,10 +43,6 @@ | |||
41 | soc5200@f0000000 { | 43 | soc5200@f0000000 { |
42 | bus-frequency = <132000000>;// 132 MHz | 44 | bus-frequency = <132000000>;// 132 MHz |
43 | 45 | ||
44 | timer@600 { // General Purpose Timer | ||
45 | fsl,has-wdt; | ||
46 | }; | ||
47 | |||
48 | psc@2000 { // PSC1 | 46 | psc@2000 { // PSC1 |
49 | status = "disabled"; | 47 | status = "disabled"; |
50 | }; | 48 | }; |
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 @@ | |||
12 | 12 | ||
13 | /include/ "mpc5200b.dtsi" | 13 | /include/ "mpc5200b.dtsi" |
14 | 14 | ||
15 | &gpt0 { fsl,has-wdt; }; | ||
16 | &gpt6 { // Motion-PRO status LED | ||
17 | compatible = "promess,motionpro-led"; | ||
18 | label = "motionpro-statusled"; | ||
19 | blink-delay = <100>; // 100 msec | ||
20 | }; | ||
21 | &gpt7 { // Motion-PRO ready LED | ||
22 | compatible = "promess,motionpro-led"; | ||
23 | label = "motionpro-readyled"; | ||
24 | }; | ||
25 | |||
15 | / { | 26 | / { |
16 | model = "promess,motionpro"; | 27 | model = "promess,motionpro"; |
17 | compatible = "promess,motionpro"; | 28 | compatible = "promess,motionpro"; |
18 | 29 | ||
19 | soc5200@f0000000 { | 30 | soc5200@f0000000 { |
20 | timer@600 { // General Purpose Timer | ||
21 | fsl,has-wdt; | ||
22 | }; | ||
23 | |||
24 | timer@660 { // Motion-PRO status LED | ||
25 | compatible = "promess,motionpro-led"; | ||
26 | label = "motionpro-statusled"; | ||
27 | blink-delay = <100>; // 100 msec | ||
28 | }; | ||
29 | |||
30 | timer@670 { // Motion-PRO ready LED | ||
31 | compatible = "promess,motionpro-led"; | ||
32 | label = "motionpro-readyled"; | ||
33 | }; | ||
34 | |||
35 | can@900 { | 31 | can@900 { |
36 | status = "disabled"; | 32 | status = "disabled"; |
37 | }; | 33 | }; |
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 @@ | |||
13 | 13 | ||
14 | /include/ "mpc5200b.dtsi" | 14 | /include/ "mpc5200b.dtsi" |
15 | 15 | ||
16 | /* Timer pins that need to be in GPIO mode */ | ||
17 | &gpt0 { gpio-controller; }; | ||
18 | &gpt1 { gpio-controller; }; | ||
19 | &gpt2 { gpio-controller; }; | ||
20 | &gpt3 { gpio-controller; }; | ||
21 | |||
22 | /* Disabled timers */ | ||
23 | &gpt4 { status = "disabled"; }; | ||
24 | &gpt5 { status = "disabled"; }; | ||
25 | &gpt6 { status = "disabled"; }; | ||
26 | &gpt7 { status = "disabled"; }; | ||
27 | |||
16 | / { | 28 | / { |
17 | model = "manroland,mucmc52"; | 29 | model = "manroland,mucmc52"; |
18 | compatible = "manroland,mucmc52"; | 30 | compatible = "manroland,mucmc52"; |
19 | 31 | ||
20 | soc5200@f0000000 { | 32 | soc5200@f0000000 { |
21 | gpt0: timer@600 { // GPT 0 in GPIO mode | ||
22 | gpio-controller; | ||
23 | #gpio-cells = <2>; | ||
24 | }; | ||
25 | |||
26 | gpt1: timer@610 { // General Purpose Timer in GPIO mode | ||
27 | gpio-controller; | ||
28 | #gpio-cells = <2>; | ||
29 | }; | ||
30 | |||
31 | gpt2: timer@620 { // General Purpose Timer in GPIO mode | ||
32 | gpio-controller; | ||
33 | #gpio-cells = <2>; | ||
34 | }; | ||
35 | |||
36 | gpt3: timer@630 { // General Purpose Timer in GPIO mode | ||
37 | gpio-controller; | ||
38 | #gpio-cells = <2>; | ||
39 | }; | ||
40 | |||
41 | timer@640 { | ||
42 | status = "disabled"; | ||
43 | }; | ||
44 | |||
45 | timer@650 { | ||
46 | status = "disabled"; | ||
47 | }; | ||
48 | |||
49 | timer@660 { | ||
50 | status = "disabled"; | ||
51 | }; | ||
52 | |||
53 | timer@670 { | ||
54 | status = "disabled"; | ||
55 | }; | ||
56 | |||
57 | rtc@800 { | 33 | rtc@800 { |
58 | status = "disabled"; | 34 | status = "disabled"; |
59 | }; | 35 | }; |
diff --git a/arch/powerpc/boot/dts/o2d.dtsi b/arch/powerpc/boot/dts/o2d.dtsi index 24f668039295..cf073e693f24 100644 --- a/arch/powerpc/boot/dts/o2d.dtsi +++ b/arch/powerpc/boot/dts/o2d.dtsi | |||
@@ -12,6 +12,13 @@ | |||
12 | 12 | ||
13 | /include/ "mpc5200b.dtsi" | 13 | /include/ "mpc5200b.dtsi" |
14 | 14 | ||
15 | &gpt0 { | ||
16 | gpio-controller; | ||
17 | fsl,has-wdt; | ||
18 | fsl,wdt-on-boot = <0>; | ||
19 | }; | ||
20 | &gpt1 { gpio-controller; }; | ||
21 | |||
15 | / { | 22 | / { |
16 | model = "ifm,o2d"; | 23 | model = "ifm,o2d"; |
17 | compatible = "ifm,o2d"; | 24 | compatible = "ifm,o2d"; |
@@ -22,24 +29,6 @@ | |||
22 | 29 | ||
23 | soc5200@f0000000 { | 30 | soc5200@f0000000 { |
24 | 31 | ||
25 | gpio_simple: gpio@b00 { | ||
26 | }; | ||
27 | |||
28 | timer@600 { // General Purpose Timer | ||
29 | #gpio-cells = <2>; | ||
30 | gpio-controller; | ||
31 | fsl,has-wdt; | ||
32 | fsl,wdt-on-boot = <0>; | ||
33 | }; | ||
34 | |||
35 | timer@610 { | ||
36 | #gpio-cells = <2>; | ||
37 | gpio-controller; | ||
38 | }; | ||
39 | |||
40 | timer7: timer@670 { | ||
41 | }; | ||
42 | |||
43 | rtc@800 { | 32 | rtc@800 { |
44 | status = "disabled"; | 33 | status = "disabled"; |
45 | }; | 34 | }; |
@@ -118,7 +107,7 @@ | |||
118 | csi@3,0 { | 107 | csi@3,0 { |
119 | compatible = "ifm,o2d-csi"; | 108 | compatible = "ifm,o2d-csi"; |
120 | reg = <3 0 0x00100000>; | 109 | reg = <3 0 0x00100000>; |
121 | ifm,csi-clk-handle = <&timer7>; | 110 | ifm,csi-clk-handle = <&gpt7>; |
122 | gpios = <&gpio_simple 23 0 /* imag_capture */ | 111 | gpios = <&gpio_simple 23 0 /* imag_capture */ |
123 | &gpio_simple 26 0 /* imag_reset */ | 112 | &gpio_simple 26 0 /* imag_reset */ |
124 | &gpio_simple 29 0>; /* imag_master_en */ | 113 | &gpio_simple 29 0>; /* imag_master_en */ |
diff --git a/arch/powerpc/boot/dts/pcm030.dts b/arch/powerpc/boot/dts/pcm030.dts index 96512c058033..192e66af0001 100644 --- a/arch/powerpc/boot/dts/pcm030.dts +++ b/arch/powerpc/boot/dts/pcm030.dts | |||
@@ -14,51 +14,19 @@ | |||
14 | 14 | ||
15 | /include/ "mpc5200b.dtsi" | 15 | /include/ "mpc5200b.dtsi" |
16 | 16 | ||
17 | &gpt0 { fsl,has-wdt; }; | ||
18 | &gpt2 { gpio-controller; }; | ||
19 | &gpt3 { gpio-controller; }; | ||
20 | &gpt4 { gpio-controller; }; | ||
21 | &gpt5 { gpio-controller; }; | ||
22 | &gpt6 { gpio-controller; }; | ||
23 | &gpt7 { gpio-controller; }; | ||
24 | |||
17 | / { | 25 | / { |
18 | model = "phytec,pcm030"; | 26 | model = "phytec,pcm030"; |
19 | compatible = "phytec,pcm030"; | 27 | compatible = "phytec,pcm030"; |
20 | 28 | ||
21 | soc5200@f0000000 { | 29 | soc5200@f0000000 { |
22 | timer@600 { // General Purpose Timer | ||
23 | fsl,has-wdt; | ||
24 | }; | ||
25 | |||
26 | gpt2: timer@620 { // General Purpose Timer in GPIO mode | ||
27 | compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; | ||
28 | gpio-controller; | ||
29 | #gpio-cells = <2>; | ||
30 | }; | ||
31 | |||
32 | gpt3: timer@630 { // General Purpose Timer in GPIO mode | ||
33 | compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; | ||
34 | gpio-controller; | ||
35 | #gpio-cells = <2>; | ||
36 | }; | ||
37 | |||
38 | gpt4: timer@640 { // General Purpose Timer in GPIO mode | ||
39 | compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; | ||
40 | gpio-controller; | ||
41 | #gpio-cells = <2>; | ||
42 | }; | ||
43 | |||
44 | gpt5: timer@650 { // General Purpose Timer in GPIO mode | ||
45 | compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; | ||
46 | gpio-controller; | ||
47 | #gpio-cells = <2>; | ||
48 | }; | ||
49 | |||
50 | gpt6: timer@660 { // General Purpose Timer in GPIO mode | ||
51 | compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; | ||
52 | gpio-controller; | ||
53 | #gpio-cells = <2>; | ||
54 | }; | ||
55 | |||
56 | gpt7: timer@670 { // General Purpose Timer in GPIO mode | ||
57 | compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; | ||
58 | gpio-controller; | ||
59 | #gpio-cells = <2>; | ||
60 | }; | ||
61 | |||
62 | audioplatform: psc@2000 { /* PSC1 in ac97 mode */ | 30 | audioplatform: psc@2000 { /* PSC1 in ac97 mode */ |
63 | compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97"; | 31 | compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97"; |
64 | cell-index = <0>; | 32 | cell-index = <0>; |
diff --git a/arch/powerpc/boot/dts/pcm032.dts b/arch/powerpc/boot/dts/pcm032.dts index 1dd478bfff96..96b139bf50e9 100644 --- a/arch/powerpc/boot/dts/pcm032.dts +++ b/arch/powerpc/boot/dts/pcm032.dts | |||
@@ -14,6 +14,14 @@ | |||
14 | 14 | ||
15 | /include/ "mpc5200b.dtsi" | 15 | /include/ "mpc5200b.dtsi" |
16 | 16 | ||
17 | &gpt0 { fsl,has-wdt; }; | ||
18 | &gpt2 { gpio-controller; }; | ||
19 | &gpt3 { gpio-controller; }; | ||
20 | &gpt4 { gpio-controller; }; | ||
21 | &gpt5 { gpio-controller; }; | ||
22 | &gpt6 { gpio-controller; }; | ||
23 | &gpt7 { gpio-controller; }; | ||
24 | |||
17 | / { | 25 | / { |
18 | model = "phytec,pcm032"; | 26 | model = "phytec,pcm032"; |
19 | compatible = "phytec,pcm032"; | 27 | compatible = "phytec,pcm032"; |
@@ -23,43 +31,6 @@ | |||
23 | }; | 31 | }; |
24 | 32 | ||
25 | soc5200@f0000000 { | 33 | soc5200@f0000000 { |
26 | timer@600 { // General Purpose Timer | ||
27 | fsl,has-wdt; | ||
28 | }; | ||
29 | |||
30 | gpt2: timer@620 { // General Purpose Timer in GPIO mode | ||
31 | gpio-controller; | ||
32 | #gpio-cells = <2>; | ||
33 | }; | ||
34 | |||
35 | gpt3: timer@630 { // General Purpose Timer in GPIO mode | ||
36 | gpio-controller; | ||
37 | #gpio-cells = <2>; | ||
38 | }; | ||
39 | |||
40 | gpt4: timer@640 { // General Purpose Timer in GPIO mode | ||
41 | gpio-controller; | ||
42 | #gpio-cells = <2>; | ||
43 | }; | ||
44 | |||
45 | gpt5: timer@650 { // General Purpose Timer in GPIO mode | ||
46 | gpio-controller; | ||
47 | #gpio-cells = <2>; | ||
48 | }; | ||
49 | |||
50 | gpt6: timer@660 { // General Purpose Timer in GPIO mode | ||
51 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
52 | reg = <0x660 0x10>; | ||
53 | interrupts = <1 15 0>; | ||
54 | gpio-controller; | ||
55 | #gpio-cells = <2>; | ||
56 | }; | ||
57 | |||
58 | gpt7: timer@670 { // General Purpose Timer in GPIO mode | ||
59 | gpio-controller; | ||
60 | #gpio-cells = <2>; | ||
61 | }; | ||
62 | |||
63 | psc@2000 { /* PSC1 is ac97 */ | 34 | psc@2000 { /* PSC1 is ac97 */ |
64 | compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97"; | 35 | compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97"; |
65 | cell-index = <0>; | 36 | cell-index = <0>; |
diff --git a/arch/powerpc/boot/dts/uc101.dts b/arch/powerpc/boot/dts/uc101.dts index ba83d5488ec6..5c462194ef06 100644 --- a/arch/powerpc/boot/dts/uc101.dts +++ b/arch/powerpc/boot/dts/uc101.dts | |||
@@ -13,54 +13,20 @@ | |||
13 | 13 | ||
14 | /include/ "mpc5200b.dtsi" | 14 | /include/ "mpc5200b.dtsi" |
15 | 15 | ||
16 | &gpt0 { gpio-controller; }; | ||
17 | &gpt1 { gpio-controller; }; | ||
18 | &gpt2 { gpio-controller; }; | ||
19 | &gpt3 { gpio-controller; }; | ||
20 | &gpt4 { gpio-controller; }; | ||
21 | &gpt5 { gpio-controller; }; | ||
22 | &gpt6 { gpio-controller; }; | ||
23 | &gpt7 { gpio-controller; }; | ||
24 | |||
16 | / { | 25 | / { |
17 | model = "manroland,uc101"; | 26 | model = "manroland,uc101"; |
18 | compatible = "manroland,uc101"; | 27 | compatible = "manroland,uc101"; |
19 | 28 | ||
20 | soc5200@f0000000 { | 29 | soc5200@f0000000 { |
21 | gpt0: timer@600 { // General Purpose Timer in GPIO mode | ||
22 | gpio-controller; | ||
23 | #gpio-cells = <2>; | ||
24 | }; | ||
25 | |||
26 | gpt1: timer@610 { // General Purpose Timer in GPIO mode | ||
27 | gpio-controller; | ||
28 | #gpio-cells = <2>; | ||
29 | }; | ||
30 | |||
31 | gpt2: timer@620 { // General Purpose Timer in GPIO mode | ||
32 | gpio-controller; | ||
33 | #gpio-cells = <2>; | ||
34 | }; | ||
35 | |||
36 | gpt3: timer@630 { // General Purpose Timer in GPIO mode | ||
37 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
38 | reg = <0x630 0x10>; | ||
39 | interrupts = <1 12 0>; | ||
40 | gpio-controller; | ||
41 | #gpio-cells = <2>; | ||
42 | }; | ||
43 | |||
44 | gpt4: timer@640 { // General Purpose Timer in GPIO mode | ||
45 | gpio-controller; | ||
46 | #gpio-cells = <2>; | ||
47 | }; | ||
48 | |||
49 | gpt5: timer@650 { // General Purpose Timer in GPIO mode | ||
50 | gpio-controller; | ||
51 | #gpio-cells = <2>; | ||
52 | }; | ||
53 | |||
54 | gpt6: timer@660 { // General Purpose Timer in GPIO mode | ||
55 | gpio-controller; | ||
56 | #gpio-cells = <2>; | ||
57 | }; | ||
58 | |||
59 | gpt7: timer@670 { // General Purpose Timer in GPIO mode | ||
60 | gpio-controller; | ||
61 | #gpio-cells = <2>; | ||
62 | }; | ||
63 | |||
64 | rtc@800 { | 30 | rtc@800 { |
65 | status = "disabled"; | 31 | status = "disabled"; |
66 | }; | 32 | }; |