diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2008-04-02 10:26:02 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-03 07:11:12 -0400 |
commit | 115e1adca3b75a82f24da8b2cc9386eb5b7e2cff (patch) | |
tree | d8bd9c49f3d32df2b216342001ee7617b76ac151 /arch/powerpc/boot/dts/tqm5200.dts | |
parent | 7484839850d826e14b8b024bb048dca8489140ae (diff) |
[POWERPC] mpc5200: Amalgamated DTS fixes and updates
DTS updates that fix booting problems on mpc5200-based boards:
- change to ethernet reg property
- addition of mdio and phy nodes
- removal of pci node (Motion-Pro board)
Other DTS updates:
- update i2c device tree nodes
- add lpb bus node and flash device (without partitions defined)
- add rtc i2c nodes
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/dts/tqm5200.dts')
-rw-r--r-- | arch/powerpc/boot/dts/tqm5200.dts | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/arch/powerpc/boot/dts/tqm5200.dts b/arch/powerpc/boot/dts/tqm5200.dts index c86464f007da..65bcea6a0173 100644 --- a/arch/powerpc/boot/dts/tqm5200.dts +++ b/arch/powerpc/boot/dts/tqm5200.dts | |||
@@ -127,10 +127,25 @@ | |||
127 | ethernet@3000 { | 127 | ethernet@3000 { |
128 | device_type = "network"; | 128 | device_type = "network"; |
129 | compatible = "fsl,mpc5200-fec"; | 129 | compatible = "fsl,mpc5200-fec"; |
130 | reg = <3000 800>; | 130 | reg = <3000 400>; |
131 | local-mac-address = [ 00 00 00 00 00 00 ]; | 131 | local-mac-address = [ 00 00 00 00 00 00 ]; |
132 | interrupts = <2 5 0>; | 132 | interrupts = <2 5 0>; |
133 | interrupt-parent = <&mpc5200_pic>; | 133 | interrupt-parent = <&mpc5200_pic>; |
134 | phy-handle = <&phy0>; | ||
135 | }; | ||
136 | |||
137 | mdio@3000 { | ||
138 | #address-cells = <1>; | ||
139 | #size-cells = <0>; | ||
140 | compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; | ||
141 | reg = <3000 400>; // fec range, since we need to setup fec interrupts | ||
142 | interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. | ||
143 | interrupt-parent = <&mpc5200_pic>; | ||
144 | |||
145 | phy0: ethernet-phy@0 { | ||
146 | device_type = "ethernet-phy"; | ||
147 | reg = <0>; | ||
148 | }; | ||
134 | }; | 149 | }; |
135 | 150 | ||
136 | ata@3a00 { | 151 | ata@3a00 { |
@@ -141,11 +156,19 @@ | |||
141 | }; | 156 | }; |
142 | 157 | ||
143 | i2c@3d40 { | 158 | i2c@3d40 { |
159 | #address-cells = <1>; | ||
160 | #size-cells = <0>; | ||
144 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; | 161 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; |
145 | reg = <3d40 40>; | 162 | reg = <3d40 40>; |
146 | interrupts = <2 10 0>; | 163 | interrupts = <2 10 0>; |
147 | interrupt-parent = <&mpc5200_pic>; | 164 | interrupt-parent = <&mpc5200_pic>; |
148 | fsl5200-clocking; | 165 | fsl5200-clocking; |
166 | |||
167 | rtc@68 { | ||
168 | device_type = "rtc"; | ||
169 | compatible = "dallas,ds1307"; | ||
170 | reg = <68>; | ||
171 | }; | ||
149 | }; | 172 | }; |
150 | 173 | ||
151 | sram@8000 { | 174 | sram@8000 { |
@@ -154,6 +177,23 @@ | |||
154 | }; | 177 | }; |
155 | }; | 178 | }; |
156 | 179 | ||
180 | lpb { | ||
181 | model = "fsl,lpb"; | ||
182 | compatible = "fsl,lpb"; | ||
183 | #address-cells = <2>; | ||
184 | #size-cells = <1>; | ||
185 | ranges = <0 0 fc000000 02000000>; | ||
186 | |||
187 | flash@0,0 { | ||
188 | compatible = "cfi-flash"; | ||
189 | reg = <0 0 02000000>; | ||
190 | bank-width = <4>; | ||
191 | device-width = <2>; | ||
192 | #size-cells = <1>; | ||
193 | #address-cells = <1>; | ||
194 | }; | ||
195 | }; | ||
196 | |||
157 | pci@f0000d00 { | 197 | pci@f0000d00 { |
158 | #interrupt-cells = <1>; | 198 | #interrupt-cells = <1>; |
159 | #size-cells = <2>; | 199 | #size-cells = <2>; |