diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2007-07-21 18:43:11 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-26 02:12:17 -0400 |
commit | f2d32db3443157e8f50c7c86b8ff1477c27d6e3e (patch) | |
tree | 8c089a4bf9feefe70bddb81ebd8080a6457f815d /arch/powerpc | |
parent | d13ae8620dfdedfa7e9ab6d1eec294adc0516065 (diff) |
[POWERPC] Fix RTC and device tree on linkstation machines
This fixes the RTC on linkstation ppc machines again, and updates the
device tree: add rtc nodes on i2c, remove bogus 0-size cache-line
declarations, rename interrupt-controller nodes, remove erroneous
interrupt-parent line, accidentally introduced by a recent patch.
Signed-off-by: G. Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/boot/dts/kuroboxHD.dts | 18 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/kuroboxHG.dts | 19 |
2 files changed, 24 insertions, 13 deletions
diff --git a/arch/powerpc/boot/dts/kuroboxHD.dts b/arch/powerpc/boot/dts/kuroboxHD.dts index a983680c3263..122537419d9f 100644 --- a/arch/powerpc/boot/dts/kuroboxHD.dts +++ b/arch/powerpc/boot/dts/kuroboxHD.dts | |||
@@ -33,12 +33,10 @@ build with: "dtc -f -I dts -O dtb -o kuroboxHD.dtb -V 16 kuroboxHD.dts" | |||
33 | PowerPC,603e { /* Really 8241 */ | 33 | PowerPC,603e { /* Really 8241 */ |
34 | device_type = "cpu"; | 34 | device_type = "cpu"; |
35 | reg = <0>; | 35 | reg = <0>; |
36 | clock-frequency = <bebc200>; /* Fixed by bootwrapper */ | 36 | clock-frequency = <bebc200>; /* Fixed by bootloader */ |
37 | timebase-frequency = <1743000>; /* Fixed by bootwrapper */ | 37 | timebase-frequency = <1743000>; /* Fixed by bootloader */ |
38 | bus-frequency = <0>; /* From bootloader */ | 38 | bus-frequency = <0>; /* Fixed by bootloader */ |
39 | /* Following required by dtc but not used */ | 39 | /* Following required by dtc but not used */ |
40 | i-cache-line-size = <0>; | ||
41 | d-cache-line-size = <0>; | ||
42 | i-cache-size = <4000>; | 40 | i-cache-size = <4000>; |
43 | d-cache-size = <4000>; | 41 | d-cache-size = <4000>; |
44 | }; | 42 | }; |
@@ -64,11 +62,19 @@ build with: "dtc -f -I dts -O dtb -o kuroboxHD.dtb -V 16 kuroboxHD.dts" | |||
64 | fef00000 fef00000 00100000>; /* pci iack */ | 62 | fef00000 fef00000 00100000>; /* pci iack */ |
65 | 63 | ||
66 | i2c@80003000 { | 64 | i2c@80003000 { |
65 | #address-cells = <1>; | ||
66 | #size-cells = <0>; | ||
67 | device_type = "i2c"; | 67 | device_type = "i2c"; |
68 | compatible = "fsl-i2c"; | 68 | compatible = "fsl-i2c"; |
69 | reg = <80003000 1000>; | 69 | reg = <80003000 1000>; |
70 | interrupts = <5 2>; | 70 | interrupts = <5 2>; |
71 | interrupt-parent = <&mpic>; | 71 | interrupt-parent = <&mpic>; |
72 | |||
73 | rtc@32 { | ||
74 | device_type = "rtc"; | ||
75 | compatible = "ricoh,rs5c372b"; | ||
76 | reg = <32>; | ||
77 | }; | ||
72 | }; | 78 | }; |
73 | 79 | ||
74 | serial@80004500 { | 80 | serial@80004500 { |
@@ -91,7 +97,7 @@ build with: "dtc -f -I dts -O dtb -o kuroboxHD.dtb -V 16 kuroboxHD.dts" | |||
91 | interrupt-parent = <&mpic>; | 97 | interrupt-parent = <&mpic>; |
92 | }; | 98 | }; |
93 | 99 | ||
94 | mpic: pic@80040000 { | 100 | mpic: interrupt-controller@80040000 { |
95 | #interrupt-cells = <2>; | 101 | #interrupt-cells = <2>; |
96 | #address-cells = <0>; | 102 | #address-cells = <0>; |
97 | device_type = "open-pic"; | 103 | device_type = "open-pic"; |
diff --git a/arch/powerpc/boot/dts/kuroboxHG.dts b/arch/powerpc/boot/dts/kuroboxHG.dts index 5cf42dc022df..579aa8b967d9 100644 --- a/arch/powerpc/boot/dts/kuroboxHG.dts +++ b/arch/powerpc/boot/dts/kuroboxHG.dts | |||
@@ -33,12 +33,10 @@ build with: "dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts" | |||
33 | PowerPC,603e { /* Really 8241 */ | 33 | PowerPC,603e { /* Really 8241 */ |
34 | device_type = "cpu"; | 34 | device_type = "cpu"; |
35 | reg = <0>; | 35 | reg = <0>; |
36 | clock-frequency = <fdad680>; /* Fixed by bootwrapper */ | 36 | clock-frequency = <fdad680>; /* Fixed by bootloader */ |
37 | timebase-frequency = <1F04000>; /* Fixed by bootwrapper */ | 37 | timebase-frequency = <1F04000>; /* Fixed by bootloader */ |
38 | bus-frequency = <0>; /* From bootloader */ | 38 | bus-frequency = <0>; /* Fixed by bootloader */ |
39 | /* Following required by dtc but not used */ | 39 | /* Following required by dtc but not used */ |
40 | i-cache-line-size = <0>; | ||
41 | d-cache-line-size = <0>; | ||
42 | i-cache-size = <4000>; | 40 | i-cache-size = <4000>; |
43 | d-cache-size = <4000>; | 41 | d-cache-size = <4000>; |
44 | }; | 42 | }; |
@@ -64,11 +62,19 @@ build with: "dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts" | |||
64 | fef00000 fef00000 00100000>; /* pci iack */ | 62 | fef00000 fef00000 00100000>; /* pci iack */ |
65 | 63 | ||
66 | i2c@80003000 { | 64 | i2c@80003000 { |
65 | #address-cells = <1>; | ||
66 | #size-cells = <0>; | ||
67 | device_type = "i2c"; | 67 | device_type = "i2c"; |
68 | compatible = "fsl-i2c"; | 68 | compatible = "fsl-i2c"; |
69 | reg = <80003000 1000>; | 69 | reg = <80003000 1000>; |
70 | interrupts = <5 2>; | 70 | interrupts = <5 2>; |
71 | interrupt-parent = <&mpic>; | 71 | interrupt-parent = <&mpic>; |
72 | |||
73 | rtc@32 { | ||
74 | device_type = "rtc"; | ||
75 | compatible = "ricoh,rs5c372b"; | ||
76 | reg = <32>; | ||
77 | }; | ||
72 | }; | 78 | }; |
73 | 79 | ||
74 | serial@80004500 { | 80 | serial@80004500 { |
@@ -91,8 +97,7 @@ build with: "dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts" | |||
91 | interrupt-parent = <&mpic>; | 97 | interrupt-parent = <&mpic>; |
92 | }; | 98 | }; |
93 | 99 | ||
94 | mpic: pic@80040000 { | 100 | mpic: interrupt-controller@80040000 { |
95 | interrupt-parent = <&mpic>; | ||
96 | #interrupt-cells = <2>; | 101 | #interrupt-cells = <2>; |
97 | #address-cells = <0>; | 102 | #address-cells = <0>; |
98 | device_type = "open-pic"; | 103 | device_type = "open-pic"; |