1c6d4d657SGrant Likely/* 2c6d4d657SGrant Likely * Lite5200 board Device Tree Source 3c6d4d657SGrant Likely * 405cbbc69SGrant Likely * Copyright 2006-2007 Secret Lab Technologies Ltd. 5c6d4d657SGrant Likely * Grant Likely <grant.likely@secretlab.ca> 6c6d4d657SGrant Likely * 7c6d4d657SGrant Likely * This program is free software; you can redistribute it and/or modify it 8c6d4d657SGrant Likely * under the terms of the GNU General Public License as published by the 9c6d4d657SGrant Likely * Free Software Foundation; either version 2 of the License, or (at your 10c6d4d657SGrant Likely * option) any later version. 11c6d4d657SGrant Likely */ 12c6d4d657SGrant Likely 13121361f7SGrant Likely/* 14121361f7SGrant Likely * WARNING: Do not depend on this tree layout remaining static just yet. 15121361f7SGrant Likely * The MPC5200 device tree conventions are still in flux 16121361f7SGrant Likely * Keep an eye on the linuxppc-dev mailing list for more details 17121361f7SGrant Likely */ 18121361f7SGrant Likely 19c6d4d657SGrant Likely/ { 2005cbbc69SGrant Likely model = "fsl,lite5200"; 2105cbbc69SGrant Likely // revision = "1.0"; 225b5820d0SMarian Balakowicz compatible = "fsl,lite5200"; 23c6d4d657SGrant Likely #address-cells = <1>; 24c6d4d657SGrant Likely #size-cells = <1>; 25c6d4d657SGrant Likely 26c6d4d657SGrant Likely cpus { 27c6d4d657SGrant Likely #address-cells = <1>; 28c6d4d657SGrant Likely #size-cells = <0>; 29c6d4d657SGrant Likely 30c6d4d657SGrant Likely PowerPC,5200@0 { 31c6d4d657SGrant Likely device_type = "cpu"; 32c6d4d657SGrant Likely reg = <0>; 33c6d4d657SGrant Likely d-cache-line-size = <20>; 34c6d4d657SGrant Likely i-cache-line-size = <20>; 35c6d4d657SGrant Likely d-cache-size = <4000>; // L1, 16K 36c6d4d657SGrant Likely i-cache-size = <4000>; // L1, 16K 37c6d4d657SGrant Likely timebase-frequency = <0>; // from bootloader 38c6d4d657SGrant Likely bus-frequency = <0>; // from bootloader 39c6d4d657SGrant Likely clock-frequency = <0>; // from bootloader 40c6d4d657SGrant Likely }; 41c6d4d657SGrant Likely }; 42c6d4d657SGrant Likely 43c6d4d657SGrant Likely memory { 44c6d4d657SGrant Likely device_type = "memory"; 45c6d4d657SGrant Likely reg = <00000000 04000000>; // 64MB 46c6d4d657SGrant Likely }; 47c6d4d657SGrant Likely 48c6d4d657SGrant Likely soc5200@f0000000 { 4958a5be39SPaul Gortmaker #address-cells = <1>; 5058a5be39SPaul Gortmaker #size-cells = <1>; 5105cbbc69SGrant Likely model = "fsl,mpc5200"; 520d0f4bc7SDomen Puncer compatible = "mpc5200"; 535c1992f8SKumar Gala revision = ""; // from bootloader 54c6d4d657SGrant Likely device_type = "soc"; 55f0c8ac80SKumar Gala ranges = <0 f0000000 0000c000>; 56f0c8ac80SKumar Gala reg = <f0000000 00000100>; 57c6d4d657SGrant Likely bus-frequency = <0>; // from bootloader 5805cbbc69SGrant Likely system-frequency = <0>; // from bootloader 59c6d4d657SGrant Likely 60c6d4d657SGrant Likely cdm@200 { 6105cbbc69SGrant Likely compatible = "mpc5200-cdm"; 62c6d4d657SGrant Likely reg = <200 38>; 63c6d4d657SGrant Likely }; 64c6d4d657SGrant Likely 655c1992f8SKumar Gala mpc5200_pic: pic@500 { 66c6d4d657SGrant Likely // 5200 interrupts are encoded into two levels; 67c6d4d657SGrant Likely interrupt-controller; 68c6d4d657SGrant Likely #interrupt-cells = <3>; 69c6d4d657SGrant Likely device_type = "interrupt-controller"; 70f2fb9eb3SDomen Puncer compatible = "mpc5200-pic"; 71c6d4d657SGrant Likely reg = <500 80>; 72c6d4d657SGrant Likely }; 73c6d4d657SGrant Likely 74c6d4d657SGrant Likely gpt@600 { // General Purpose Timer 75d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 7605cbbc69SGrant Likely cell-index = <0>; 77c6d4d657SGrant Likely reg = <600 10>; 78c6d4d657SGrant Likely interrupts = <1 9 0>; 795c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 80d24bc314SMarian Balakowicz fsl,has-wdt; 81c6d4d657SGrant Likely }; 82c6d4d657SGrant Likely 83c6d4d657SGrant Likely gpt@610 { // General Purpose Timer 84d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 8505cbbc69SGrant Likely cell-index = <1>; 86c6d4d657SGrant Likely reg = <610 10>; 87c6d4d657SGrant Likely interrupts = <1 a 0>; 885c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 89c6d4d657SGrant Likely }; 90c6d4d657SGrant Likely 91c6d4d657SGrant Likely gpt@620 { // General Purpose Timer 92d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 9305cbbc69SGrant Likely cell-index = <2>; 94c6d4d657SGrant Likely reg = <620 10>; 95c6d4d657SGrant Likely interrupts = <1 b 0>; 965c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 97c6d4d657SGrant Likely }; 98c6d4d657SGrant Likely 99c6d4d657SGrant Likely gpt@630 { // General Purpose Timer 100d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 10105cbbc69SGrant Likely cell-index = <3>; 102c6d4d657SGrant Likely reg = <630 10>; 103c6d4d657SGrant Likely interrupts = <1 c 0>; 1045c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 105c6d4d657SGrant Likely }; 106c6d4d657SGrant Likely 107c6d4d657SGrant Likely gpt@640 { // General Purpose Timer 108d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 10905cbbc69SGrant Likely cell-index = <4>; 110c6d4d657SGrant Likely reg = <640 10>; 111c6d4d657SGrant Likely interrupts = <1 d 0>; 1125c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 113c6d4d657SGrant Likely }; 114c6d4d657SGrant Likely 115c6d4d657SGrant Likely gpt@650 { // General Purpose Timer 116d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 11705cbbc69SGrant Likely cell-index = <5>; 118c6d4d657SGrant Likely reg = <650 10>; 119c6d4d657SGrant Likely interrupts = <1 e 0>; 1205c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 121c6d4d657SGrant Likely }; 122c6d4d657SGrant Likely 123c6d4d657SGrant Likely gpt@660 { // General Purpose Timer 124d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 12505cbbc69SGrant Likely cell-index = <6>; 126c6d4d657SGrant Likely reg = <660 10>; 127c6d4d657SGrant Likely interrupts = <1 f 0>; 1285c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 129c6d4d657SGrant Likely }; 130c6d4d657SGrant Likely 131c6d4d657SGrant Likely gpt@670 { // General Purpose Timer 132d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 13305cbbc69SGrant Likely cell-index = <7>; 134c6d4d657SGrant Likely reg = <670 10>; 135c6d4d657SGrant Likely interrupts = <1 10 0>; 1365c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 137c6d4d657SGrant Likely }; 138c6d4d657SGrant Likely 139c6d4d657SGrant Likely rtc@800 { // Real time clock 14005cbbc69SGrant Likely compatible = "mpc5200-rtc"; 141c6d4d657SGrant Likely device_type = "rtc"; 142c6d4d657SGrant Likely reg = <800 100>; 143c6d4d657SGrant Likely interrupts = <1 5 0 1 6 0>; 1445c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 145c6d4d657SGrant Likely }; 146c6d4d657SGrant Likely 147c6d4d657SGrant Likely mscan@900 { 148c6d4d657SGrant Likely device_type = "mscan"; 14905cbbc69SGrant Likely compatible = "mpc5200-mscan"; 15005cbbc69SGrant Likely cell-index = <0>; 151c6d4d657SGrant Likely interrupts = <2 11 0>; 1525c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 153c6d4d657SGrant Likely reg = <900 80>; 154c6d4d657SGrant Likely }; 155c6d4d657SGrant Likely 156c6d4d657SGrant Likely mscan@980 { 157c6d4d657SGrant Likely device_type = "mscan"; 15805cbbc69SGrant Likely compatible = "mpc5200-mscan"; 15905cbbc69SGrant Likely cell-index = <1>; 1600d0f4bc7SDomen Puncer interrupts = <2 12 0>; 1615c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 162c6d4d657SGrant Likely reg = <980 80>; 163c6d4d657SGrant Likely }; 164c6d4d657SGrant Likely 165c6d4d657SGrant Likely gpio@b00 { 16605cbbc69SGrant Likely compatible = "mpc5200-gpio"; 167c6d4d657SGrant Likely reg = <b00 40>; 168c6d4d657SGrant Likely interrupts = <1 7 0>; 1695c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 170c6d4d657SGrant Likely }; 171c6d4d657SGrant Likely 1720d0f4bc7SDomen Puncer gpio-wkup@c00 { 17305cbbc69SGrant Likely compatible = "mpc5200-gpio-wkup"; 174c6d4d657SGrant Likely reg = <c00 40>; 175c6d4d657SGrant Likely interrupts = <1 8 0 0 3 0>; 1765c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 177c6d4d657SGrant Likely }; 178c6d4d657SGrant Likely 179c6d4d657SGrant Likely spi@f00 { 180c6d4d657SGrant Likely device_type = "spi"; 18105cbbc69SGrant Likely compatible = "mpc5200-spi"; 182c6d4d657SGrant Likely reg = <f00 20>; 183c6d4d657SGrant Likely interrupts = <2 d 0 2 e 0>; 1845c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 185c6d4d657SGrant Likely }; 186c6d4d657SGrant Likely 187c6d4d657SGrant Likely usb@1000 { 188c6d4d657SGrant Likely device_type = "usb-ohci-be"; 189dcccb37eSGrant Likely compatible = "mpc5200-ohci","ohci-be"; 190c6d4d657SGrant Likely reg = <1000 ff>; 191c6d4d657SGrant Likely interrupts = <2 6 0>; 1925c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 193c6d4d657SGrant Likely }; 194c6d4d657SGrant Likely 195c6d4d657SGrant Likely bestcomm@1200 { 196c6d4d657SGrant Likely device_type = "dma-controller"; 19705cbbc69SGrant Likely compatible = "mpc5200-bestcomm"; 198c6d4d657SGrant Likely reg = <1200 80>; 199c6d4d657SGrant Likely interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 200c6d4d657SGrant Likely 3 4 0 3 5 0 3 6 0 3 7 0 201c6d4d657SGrant Likely 3 8 0 3 9 0 3 a 0 3 b 0 202c6d4d657SGrant Likely 3 c 0 3 d 0 3 e 0 3 f 0>; 2035c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 204c6d4d657SGrant Likely }; 205c6d4d657SGrant Likely 206c6d4d657SGrant Likely xlb@1f00 { 20705cbbc69SGrant Likely compatible = "mpc5200-xlb"; 208c6d4d657SGrant Likely reg = <1f00 100>; 209c6d4d657SGrant Likely }; 210c6d4d657SGrant Likely 211c6d4d657SGrant Likely serial@2000 { // PSC1 212c6d4d657SGrant Likely device_type = "serial"; 21305cbbc69SGrant Likely compatible = "mpc5200-psc-uart"; 214c6d4d657SGrant Likely port-number = <0>; // Logical port assignment 21505cbbc69SGrant Likely cell-index = <0>; 216c6d4d657SGrant Likely reg = <2000 100>; 217c6d4d657SGrant Likely interrupts = <2 1 0>; 2185c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 219c6d4d657SGrant Likely }; 220c6d4d657SGrant Likely 22105cbbc69SGrant Likely // PSC2 in ac97 mode example 22205cbbc69SGrant Likely //ac97@2200 { // PSC2 22305cbbc69SGrant Likely // device_type = "sound"; 22405cbbc69SGrant Likely // compatible = "mpc5200-psc-ac97"; 22505cbbc69SGrant Likely // cell-index = <1>; 22605cbbc69SGrant Likely // reg = <2200 100>; 22705cbbc69SGrant Likely // interrupts = <2 2 0>; 2285c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 22905cbbc69SGrant Likely //}; 230c6d4d657SGrant Likely 231c6d4d657SGrant Likely // PSC3 in CODEC mode example 23205cbbc69SGrant Likely //i2s@2400 { // PSC3 23305cbbc69SGrant Likely // device_type = "sound"; 23405cbbc69SGrant Likely // compatible = "mpc5200-psc-i2s"; 23505cbbc69SGrant Likely // cell-index = <2>; 23605cbbc69SGrant Likely // reg = <2400 100>; 23705cbbc69SGrant Likely // interrupts = <2 3 0>; 2385c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 23905cbbc69SGrant Likely //}; 240c6d4d657SGrant Likely 24105cbbc69SGrant Likely // PSC4 in uart mode example 242c6d4d657SGrant Likely //serial@2600 { // PSC4 243c6d4d657SGrant Likely // device_type = "serial"; 24405cbbc69SGrant Likely // compatible = "mpc5200-psc-uart"; 24505cbbc69SGrant Likely // cell-index = <3>; 246c6d4d657SGrant Likely // reg = <2600 100>; 247c6d4d657SGrant Likely // interrupts = <2 b 0>; 2485c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 249c6d4d657SGrant Likely //}; 250c6d4d657SGrant Likely 25105cbbc69SGrant Likely // PSC5 in uart mode example 252c6d4d657SGrant Likely //serial@2800 { // PSC5 253c6d4d657SGrant Likely // device_type = "serial"; 25405cbbc69SGrant Likely // compatible = "mpc5200-psc-uart"; 25505cbbc69SGrant Likely // cell-index = <4>; 256c6d4d657SGrant Likely // reg = <2800 100>; 257c6d4d657SGrant Likely // interrupts = <2 c 0>; 2585c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 259c6d4d657SGrant Likely //}; 260c6d4d657SGrant Likely 26105cbbc69SGrant Likely // PSC6 in spi mode example 26205cbbc69SGrant Likely //spi@2c00 { // PSC6 26305cbbc69SGrant Likely // device_type = "spi"; 26405cbbc69SGrant Likely // compatible = "mpc5200-psc-spi"; 26505cbbc69SGrant Likely // cell-index = <5>; 26605cbbc69SGrant Likely // reg = <2c00 100>; 26705cbbc69SGrant Likely // interrupts = <2 4 0>; 2685c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 26905cbbc69SGrant Likely //}; 270c6d4d657SGrant Likely 271c6d4d657SGrant Likely ethernet@3000 { 272c6d4d657SGrant Likely device_type = "network"; 27305cbbc69SGrant Likely compatible = "mpc5200-fec"; 274c6d4d657SGrant Likely reg = <3000 800>; 275c6d4d657SGrant Likely mac-address = [ 02 03 04 05 06 07 ]; // Bad! 276c6d4d657SGrant Likely interrupts = <2 5 0>; 2775c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 278c6d4d657SGrant Likely }; 279c6d4d657SGrant Likely 280c6d4d657SGrant Likely ata@3a00 { 281c6d4d657SGrant Likely device_type = "ata"; 28205cbbc69SGrant Likely compatible = "mpc5200-ata"; 283c6d4d657SGrant Likely reg = <3a00 100>; 284c6d4d657SGrant Likely interrupts = <2 7 0>; 2855c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 286c6d4d657SGrant Likely }; 287c6d4d657SGrant Likely 288c6d4d657SGrant Likely i2c@3d00 { 289ec9686c4SKumar Gala #address-cells = <1>; 290ec9686c4SKumar Gala #size-cells = <0>; 291dcccb37eSGrant Likely compatible = "mpc5200-i2c","fsl-i2c"; 29205cbbc69SGrant Likely cell-index = <0>; 293c6d4d657SGrant Likely reg = <3d00 40>; 294c6d4d657SGrant Likely interrupts = <2 f 0>; 2955c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 2965cae84c9SDomen Puncer fsl5200-clocking; 297c6d4d657SGrant Likely }; 298c6d4d657SGrant Likely 299c6d4d657SGrant Likely i2c@3d40 { 300ec9686c4SKumar Gala #address-cells = <1>; 301ec9686c4SKumar Gala #size-cells = <0>; 302dcccb37eSGrant Likely compatible = "mpc5200-i2c","fsl-i2c"; 30305cbbc69SGrant Likely cell-index = <1>; 304c6d4d657SGrant Likely reg = <3d40 40>; 305c6d4d657SGrant Likely interrupts = <2 10 0>; 3065c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 3075cae84c9SDomen Puncer fsl5200-clocking; 308c6d4d657SGrant Likely }; 309c6d4d657SGrant Likely sram@8000 { 310c6d4d657SGrant Likely device_type = "sram"; 311dcccb37eSGrant Likely compatible = "mpc5200-sram","sram"; 312c6d4d657SGrant Likely reg = <8000 4000>; 313c6d4d657SGrant Likely }; 314c6d4d657SGrant Likely }; 3151b3c5cdaSKumar Gala 3161b3c5cdaSKumar Gala pci@f0000d00 { 3171b3c5cdaSKumar Gala #interrupt-cells = <1>; 3181b3c5cdaSKumar Gala #size-cells = <2>; 3191b3c5cdaSKumar Gala #address-cells = <3>; 3201b3c5cdaSKumar Gala device_type = "pci"; 3211b3c5cdaSKumar Gala compatible = "mpc5200-pci"; 3221b3c5cdaSKumar Gala reg = <f0000d00 100>; 3231b3c5cdaSKumar Gala interrupt-map-mask = <f800 0 0 7>; 3241b3c5cdaSKumar Gala interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3 3251b3c5cdaSKumar Gala c000 0 0 2 &mpc5200_pic 0 0 3 3261b3c5cdaSKumar Gala c000 0 0 3 &mpc5200_pic 0 0 3 3271b3c5cdaSKumar Gala c000 0 0 4 &mpc5200_pic 0 0 3>; 3281b3c5cdaSKumar Gala clock-frequency = <0>; // From boot loader 3291b3c5cdaSKumar Gala interrupts = <2 8 0 2 9 0 2 a 0>; 3301b3c5cdaSKumar Gala interrupt-parent = <&mpc5200_pic>; 3311b3c5cdaSKumar Gala bus-range = <0 0>; 3321b3c5cdaSKumar Gala ranges = <42000000 0 80000000 80000000 0 20000000 3331b3c5cdaSKumar Gala 02000000 0 a0000000 a0000000 0 10000000 3341b3c5cdaSKumar Gala 01000000 0 00000000 b0000000 0 01000000>; 3351b3c5cdaSKumar Gala }; 336c6d4d657SGrant Likely}; 337