18bd3b709SMarian Balakowicz/* 28bd3b709SMarian Balakowicz * CM5200 board Device Tree Source 38bd3b709SMarian Balakowicz * 48bd3b709SMarian Balakowicz * Copyright (C) 2007 Semihalf 58bd3b709SMarian Balakowicz * Marian Balakowicz <m8@semihalf.com> 68bd3b709SMarian Balakowicz * 78bd3b709SMarian Balakowicz * This program is free software; you can redistribute it and/or modify it 88bd3b709SMarian Balakowicz * under the terms of the GNU General Public License as published by the 98bd3b709SMarian Balakowicz * Free Software Foundation; either version 2 of the License, or (at your 108bd3b709SMarian Balakowicz * option) any later version. 118bd3b709SMarian Balakowicz */ 128bd3b709SMarian Balakowicz 13a2884f37SGrant Likely/dts-v1/; 148bd3b709SMarian Balakowicz 158bd3b709SMarian Balakowicz/ { 168bd3b709SMarian Balakowicz model = "schindler,cm5200"; 178bd3b709SMarian Balakowicz compatible = "schindler,cm5200"; 188bd3b709SMarian Balakowicz #address-cells = <1>; 198bd3b709SMarian Balakowicz #size-cells = <1>; 20b8842451SGrant Likely interrupt-parent = <&mpc5200_pic>; 218bd3b709SMarian Balakowicz 228bd3b709SMarian Balakowicz cpus { 238bd3b709SMarian Balakowicz #address-cells = <1>; 248bd3b709SMarian Balakowicz #size-cells = <0>; 258bd3b709SMarian Balakowicz 268bd3b709SMarian Balakowicz PowerPC,5200@0 { 278bd3b709SMarian Balakowicz device_type = "cpu"; 288bd3b709SMarian Balakowicz reg = <0>; 29a2884f37SGrant Likely d-cache-line-size = <32>; 30a2884f37SGrant Likely i-cache-line-size = <32>; 31a2884f37SGrant Likely d-cache-size = <0x4000>; // L1, 16K 32a2884f37SGrant Likely i-cache-size = <0x4000>; // L1, 16K 338bd3b709SMarian Balakowicz timebase-frequency = <0>; // from bootloader 348bd3b709SMarian Balakowicz bus-frequency = <0>; // from bootloader 358bd3b709SMarian Balakowicz clock-frequency = <0>; // from bootloader 368bd3b709SMarian Balakowicz }; 378bd3b709SMarian Balakowicz }; 388bd3b709SMarian Balakowicz 398bd3b709SMarian Balakowicz memory { 408bd3b709SMarian Balakowicz device_type = "memory"; 41a2884f37SGrant Likely reg = <0x00000000 0x04000000>; // 64MB 428bd3b709SMarian Balakowicz }; 438bd3b709SMarian Balakowicz 448bd3b709SMarian Balakowicz soc5200@f0000000 { 4558a5be39SPaul Gortmaker #address-cells = <1>; 4658a5be39SPaul Gortmaker #size-cells = <1>; 4724ce6bc4SGrant Likely compatible = "fsl,mpc5200b-immr"; 48a2884f37SGrant Likely ranges = <0 0xf0000000 0x0000c000>; 49a2884f37SGrant Likely reg = <0xf0000000 0x00000100>; 508bd3b709SMarian Balakowicz bus-frequency = <0>; // from bootloader 518bd3b709SMarian Balakowicz system-frequency = <0>; // from bootloader 528bd3b709SMarian Balakowicz 538bd3b709SMarian Balakowicz cdm@200 { 5424ce6bc4SGrant Likely compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; 55a2884f37SGrant Likely reg = <0x200 0x38>; 568bd3b709SMarian Balakowicz }; 578bd3b709SMarian Balakowicz 58a2884f37SGrant Likely mpc5200_pic: interrupt-controller@500 { 598bd3b709SMarian Balakowicz // 5200 interrupts are encoded into two levels; 608bd3b709SMarian Balakowicz interrupt-controller; 618bd3b709SMarian Balakowicz #interrupt-cells = <3>; 6224ce6bc4SGrant Likely compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; 63a2884f37SGrant Likely reg = <0x500 0x80>; 648bd3b709SMarian Balakowicz }; 658bd3b709SMarian Balakowicz 6624ce6bc4SGrant Likely timer@600 { // General Purpose Timer 678bd3b709SMarian Balakowicz compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 68a2884f37SGrant Likely reg = <0x600 0x10>; 698bd3b709SMarian Balakowicz interrupts = <1 9 0>; 708bd3b709SMarian Balakowicz fsl,has-wdt; 718bd3b709SMarian Balakowicz }; 728bd3b709SMarian Balakowicz 7324ce6bc4SGrant Likely timer@610 { // General Purpose Timer 748bd3b709SMarian Balakowicz compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 75a2884f37SGrant Likely reg = <0x610 0x10>; 76a2884f37SGrant Likely interrupts = <1 10 0>; 778bd3b709SMarian Balakowicz }; 788bd3b709SMarian Balakowicz 7924ce6bc4SGrant Likely timer@620 { // General Purpose Timer 808bd3b709SMarian Balakowicz compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 81a2884f37SGrant Likely reg = <0x620 0x10>; 82a2884f37SGrant Likely interrupts = <1 11 0>; 838bd3b709SMarian Balakowicz }; 848bd3b709SMarian Balakowicz 8524ce6bc4SGrant Likely timer@630 { // General Purpose Timer 868bd3b709SMarian Balakowicz compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 87a2884f37SGrant Likely reg = <0x630 0x10>; 88a2884f37SGrant Likely interrupts = <1 12 0>; 898bd3b709SMarian Balakowicz }; 908bd3b709SMarian Balakowicz 9124ce6bc4SGrant Likely timer@640 { // General Purpose Timer 928bd3b709SMarian Balakowicz compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 93a2884f37SGrant Likely reg = <0x640 0x10>; 94a2884f37SGrant Likely interrupts = <1 13 0>; 958bd3b709SMarian Balakowicz }; 968bd3b709SMarian Balakowicz 9724ce6bc4SGrant Likely timer@650 { // General Purpose Timer 988bd3b709SMarian Balakowicz compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 99a2884f37SGrant Likely reg = <0x650 0x10>; 100a2884f37SGrant Likely interrupts = <1 14 0>; 1018bd3b709SMarian Balakowicz }; 1028bd3b709SMarian Balakowicz 10324ce6bc4SGrant Likely timer@660 { // General Purpose Timer 1048bd3b709SMarian Balakowicz compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 105a2884f37SGrant Likely reg = <0x660 0x10>; 106a2884f37SGrant Likely interrupts = <1 15 0>; 1078bd3b709SMarian Balakowicz }; 1088bd3b709SMarian Balakowicz 10924ce6bc4SGrant Likely timer@670 { // General Purpose Timer 1108bd3b709SMarian Balakowicz compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 111a2884f37SGrant Likely reg = <0x670 0x10>; 112a2884f37SGrant Likely interrupts = <1 16 0>; 1138bd3b709SMarian Balakowicz }; 1148bd3b709SMarian Balakowicz 1158bd3b709SMarian Balakowicz rtc@800 { // Real time clock 11624ce6bc4SGrant Likely compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; 117a2884f37SGrant Likely reg = <0x800 0x100>; 1188bd3b709SMarian Balakowicz interrupts = <1 5 0 1 6 0>; 1198bd3b709SMarian Balakowicz }; 1208bd3b709SMarian Balakowicz 121b8842451SGrant Likely gpio_simple: gpio@b00 { 12224ce6bc4SGrant Likely compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; 123a2884f37SGrant Likely reg = <0xb00 0x40>; 1248bd3b709SMarian Balakowicz interrupts = <1 7 0>; 125b8842451SGrant Likely gpio-controller; 126b8842451SGrant Likely #gpio-cells = <2>; 1278bd3b709SMarian Balakowicz }; 1288bd3b709SMarian Balakowicz 129b8842451SGrant Likely gpio_wkup: gpio@c00 { 13024ce6bc4SGrant Likely compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; 131a2884f37SGrant Likely reg = <0xc00 0x40>; 1328bd3b709SMarian Balakowicz interrupts = <1 8 0 0 3 0>; 133b8842451SGrant Likely gpio-controller; 134b8842451SGrant Likely #gpio-cells = <2>; 1358bd3b709SMarian Balakowicz }; 1368bd3b709SMarian Balakowicz 1378bd3b709SMarian Balakowicz spi@f00 { 13824ce6bc4SGrant Likely compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; 139a2884f37SGrant Likely reg = <0xf00 0x20>; 140a2884f37SGrant Likely interrupts = <2 13 0 2 14 0>; 1418bd3b709SMarian Balakowicz }; 1428bd3b709SMarian Balakowicz 1438bd3b709SMarian Balakowicz usb@1000 { 14424ce6bc4SGrant Likely compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be"; 145a2884f37SGrant Likely reg = <0x1000 0xff>; 1468bd3b709SMarian Balakowicz interrupts = <2 6 0>; 1478bd3b709SMarian Balakowicz }; 1488bd3b709SMarian Balakowicz 1498bd3b709SMarian Balakowicz dma-controller@1200 { 15024ce6bc4SGrant Likely compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; 151a2884f37SGrant Likely reg = <0x1200 0x80>; 1528bd3b709SMarian Balakowicz interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 1538bd3b709SMarian Balakowicz 3 4 0 3 5 0 3 6 0 3 7 0 154a2884f37SGrant Likely 3 8 0 3 9 0 3 10 0 3 11 0 155a2884f37SGrant Likely 3 12 0 3 13 0 3 14 0 3 15 0>; 1568bd3b709SMarian Balakowicz }; 1578bd3b709SMarian Balakowicz 1588bd3b709SMarian Balakowicz xlb@1f00 { 15924ce6bc4SGrant Likely compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; 160a2884f37SGrant Likely reg = <0x1f00 0x100>; 1618bd3b709SMarian Balakowicz }; 1628bd3b709SMarian Balakowicz 1638bd3b709SMarian Balakowicz serial@2000 { // PSC1 16424ce6bc4SGrant Likely compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 165a2884f37SGrant Likely reg = <0x2000 0x100>; 1668bd3b709SMarian Balakowicz interrupts = <2 1 0>; 1678bd3b709SMarian Balakowicz }; 1688bd3b709SMarian Balakowicz 1698bd3b709SMarian Balakowicz serial@2200 { // PSC2 170b8842451SGrant Likely compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 171a2884f37SGrant Likely reg = <0x2200 0x100>; 1728bd3b709SMarian Balakowicz interrupts = <2 2 0>; 1738bd3b709SMarian Balakowicz }; 1748bd3b709SMarian Balakowicz 1758bd3b709SMarian Balakowicz serial@2400 { // PSC3 176b8842451SGrant Likely compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 177a2884f37SGrant Likely reg = <0x2400 0x100>; 1788bd3b709SMarian Balakowicz interrupts = <2 3 0>; 1798bd3b709SMarian Balakowicz }; 1808bd3b709SMarian Balakowicz 1818bd3b709SMarian Balakowicz serial@2c00 { // PSC6 18224ce6bc4SGrant Likely compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 183a2884f37SGrant Likely reg = <0x2c00 0x100>; 1848bd3b709SMarian Balakowicz interrupts = <2 4 0>; 1858bd3b709SMarian Balakowicz }; 1868bd3b709SMarian Balakowicz 1878bd3b709SMarian Balakowicz ethernet@3000 { 18824ce6bc4SGrant Likely compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; 189a2884f37SGrant Likely reg = <0x3000 0x400>; 19024ce6bc4SGrant Likely local-mac-address = [ 00 00 00 00 00 00 ]; 1918bd3b709SMarian Balakowicz interrupts = <2 5 0>; 192115e1adcSBartlomiej Sieka phy-handle = <&phy0>; 193115e1adcSBartlomiej Sieka }; 194115e1adcSBartlomiej Sieka 195115e1adcSBartlomiej Sieka mdio@3000 { 196115e1adcSBartlomiej Sieka #address-cells = <1>; 197115e1adcSBartlomiej Sieka #size-cells = <0>; 198115e1adcSBartlomiej Sieka compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; 199a2884f37SGrant Likely reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts 200115e1adcSBartlomiej Sieka interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. 201115e1adcSBartlomiej Sieka 202115e1adcSBartlomiej Sieka phy0: ethernet-phy@0 { 203115e1adcSBartlomiej Sieka reg = <0>; 204115e1adcSBartlomiej Sieka }; 2058bd3b709SMarian Balakowicz }; 2068bd3b709SMarian Balakowicz 2078bd3b709SMarian Balakowicz i2c@3d40 { 208115e1adcSBartlomiej Sieka #address-cells = <1>; 209115e1adcSBartlomiej Sieka #size-cells = <0>; 21024ce6bc4SGrant Likely compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; 211a2884f37SGrant Likely reg = <0x3d40 0x40>; 212a2884f37SGrant Likely interrupts = <2 16 0>; 2138bd3b709SMarian Balakowicz fsl5200-clocking; 2148bd3b709SMarian Balakowicz }; 2158bd3b709SMarian Balakowicz 2168bd3b709SMarian Balakowicz sram@8000 { 21724ce6bc4SGrant Likely compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; 218a2884f37SGrant Likely reg = <0x8000 0x4000>; 2198bd3b709SMarian Balakowicz }; 2208bd3b709SMarian Balakowicz }; 221115e1adcSBartlomiej Sieka 222b8842451SGrant Likely localbus { 223b8842451SGrant Likely compatible = "fsl,mpc5200b-lpb","simple-bus"; 224115e1adcSBartlomiej Sieka #address-cells = <2>; 225115e1adcSBartlomiej Sieka #size-cells = <1>; 226a2884f37SGrant Likely ranges = <0 0 0xfc000000 0x2000000>; 227115e1adcSBartlomiej Sieka 228115e1adcSBartlomiej Sieka // 16-bit flash device at LocalPlus Bus CS0 229115e1adcSBartlomiej Sieka flash@0,0 { 230115e1adcSBartlomiej Sieka compatible = "cfi-flash"; 231a2884f37SGrant Likely reg = <0 0 0x2000000>; 232115e1adcSBartlomiej Sieka bank-width = <2>; 233115e1adcSBartlomiej Sieka device-width = <2>; 234115e1adcSBartlomiej Sieka #size-cells = <1>; 235115e1adcSBartlomiej Sieka #address-cells = <1>; 236115e1adcSBartlomiej Sieka }; 237115e1adcSBartlomiej Sieka }; 2388bd3b709SMarian Balakowicz}; 239