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 13c6d4d657SGrant Likely/ { 1405cbbc69SGrant Likely model = "fsl,lite5200"; 155b5820d0SMarian Balakowicz compatible = "fsl,lite5200"; 16c6d4d657SGrant Likely #address-cells = <1>; 17c6d4d657SGrant Likely #size-cells = <1>; 18c6d4d657SGrant Likely 19c6d4d657SGrant Likely cpus { 20c6d4d657SGrant Likely #address-cells = <1>; 21c6d4d657SGrant Likely #size-cells = <0>; 22c6d4d657SGrant Likely 23c6d4d657SGrant Likely PowerPC,5200@0 { 24c6d4d657SGrant Likely device_type = "cpu"; 25c6d4d657SGrant Likely reg = <0>; 26c6d4d657SGrant Likely d-cache-line-size = <20>; 27c6d4d657SGrant Likely i-cache-line-size = <20>; 28c6d4d657SGrant Likely d-cache-size = <4000>; // L1, 16K 29c6d4d657SGrant Likely i-cache-size = <4000>; // L1, 16K 30c6d4d657SGrant Likely timebase-frequency = <0>; // from bootloader 31c6d4d657SGrant Likely bus-frequency = <0>; // from bootloader 32c6d4d657SGrant Likely clock-frequency = <0>; // from bootloader 33c6d4d657SGrant Likely }; 34c6d4d657SGrant Likely }; 35c6d4d657SGrant Likely 36c6d4d657SGrant Likely memory { 37c6d4d657SGrant Likely device_type = "memory"; 38c6d4d657SGrant Likely reg = <00000000 04000000>; // 64MB 39c6d4d657SGrant Likely }; 40c6d4d657SGrant Likely 41c6d4d657SGrant Likely soc5200@f0000000 { 4258a5be39SPaul Gortmaker #address-cells = <1>; 4358a5be39SPaul Gortmaker #size-cells = <1>; 4424ce6bc4SGrant Likely compatible = "fsl,mpc5200-immr"; 45f0c8ac80SKumar Gala ranges = <0 f0000000 0000c000>; 46f0c8ac80SKumar Gala reg = <f0000000 00000100>; 47c6d4d657SGrant Likely bus-frequency = <0>; // from bootloader 4805cbbc69SGrant Likely system-frequency = <0>; // from bootloader 49c6d4d657SGrant Likely 50c6d4d657SGrant Likely cdm@200 { 5124ce6bc4SGrant Likely compatible = "fsl,mpc5200-cdm"; 52c6d4d657SGrant Likely reg = <200 38>; 53c6d4d657SGrant Likely }; 54c6d4d657SGrant Likely 5524ce6bc4SGrant Likely mpc5200_pic: interrupt-controller@500 { 56c6d4d657SGrant Likely // 5200 interrupts are encoded into two levels; 57c6d4d657SGrant Likely interrupt-controller; 58c6d4d657SGrant Likely #interrupt-cells = <3>; 59c6d4d657SGrant Likely device_type = "interrupt-controller"; 6024ce6bc4SGrant Likely compatible = "fsl,mpc5200-pic"; 61c6d4d657SGrant Likely reg = <500 80>; 62c6d4d657SGrant Likely }; 63c6d4d657SGrant Likely 6424ce6bc4SGrant Likely timer@600 { // General Purpose Timer 65d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 6605cbbc69SGrant Likely cell-index = <0>; 67c6d4d657SGrant Likely reg = <600 10>; 68c6d4d657SGrant Likely interrupts = <1 9 0>; 695c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 70d24bc314SMarian Balakowicz fsl,has-wdt; 71c6d4d657SGrant Likely }; 72c6d4d657SGrant Likely 7324ce6bc4SGrant Likely timer@610 { // General Purpose Timer 74d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 7505cbbc69SGrant Likely cell-index = <1>; 76c6d4d657SGrant Likely reg = <610 10>; 77c6d4d657SGrant Likely interrupts = <1 a 0>; 785c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 79c6d4d657SGrant Likely }; 80c6d4d657SGrant Likely 8124ce6bc4SGrant Likely timer@620 { // General Purpose Timer 82d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 8305cbbc69SGrant Likely cell-index = <2>; 84c6d4d657SGrant Likely reg = <620 10>; 85c6d4d657SGrant Likely interrupts = <1 b 0>; 865c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 87c6d4d657SGrant Likely }; 88c6d4d657SGrant Likely 8924ce6bc4SGrant Likely timer@630 { // General Purpose Timer 90d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 9105cbbc69SGrant Likely cell-index = <3>; 92c6d4d657SGrant Likely reg = <630 10>; 93c6d4d657SGrant Likely interrupts = <1 c 0>; 945c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 95c6d4d657SGrant Likely }; 96c6d4d657SGrant Likely 9724ce6bc4SGrant Likely timer@640 { // General Purpose Timer 98d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 9905cbbc69SGrant Likely cell-index = <4>; 100c6d4d657SGrant Likely reg = <640 10>; 101c6d4d657SGrant Likely interrupts = <1 d 0>; 1025c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 103c6d4d657SGrant Likely }; 104c6d4d657SGrant Likely 10524ce6bc4SGrant Likely timer@650 { // General Purpose Timer 106d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 10705cbbc69SGrant Likely cell-index = <5>; 108c6d4d657SGrant Likely reg = <650 10>; 109c6d4d657SGrant Likely interrupts = <1 e 0>; 1105c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 111c6d4d657SGrant Likely }; 112c6d4d657SGrant Likely 11324ce6bc4SGrant Likely timer@660 { // General Purpose Timer 114d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 11505cbbc69SGrant Likely cell-index = <6>; 116c6d4d657SGrant Likely reg = <660 10>; 117c6d4d657SGrant Likely interrupts = <1 f 0>; 1185c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 119c6d4d657SGrant Likely }; 120c6d4d657SGrant Likely 12124ce6bc4SGrant Likely timer@670 { // General Purpose Timer 122d24bc314SMarian Balakowicz compatible = "fsl,mpc5200-gpt"; 12305cbbc69SGrant Likely cell-index = <7>; 124c6d4d657SGrant Likely reg = <670 10>; 125c6d4d657SGrant Likely interrupts = <1 10 0>; 1265c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 127c6d4d657SGrant Likely }; 128c6d4d657SGrant Likely 129c6d4d657SGrant Likely rtc@800 { // Real time clock 13024ce6bc4SGrant Likely compatible = "fsl,mpc5200-rtc"; 131c6d4d657SGrant Likely device_type = "rtc"; 132c6d4d657SGrant Likely reg = <800 100>; 133c6d4d657SGrant Likely interrupts = <1 5 0 1 6 0>; 1345c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 135c6d4d657SGrant Likely }; 136c6d4d657SGrant Likely 13724ce6bc4SGrant Likely can@900 { 13824ce6bc4SGrant Likely compatible = "fsl,mpc5200-mscan"; 13905cbbc69SGrant Likely cell-index = <0>; 140c6d4d657SGrant Likely interrupts = <2 11 0>; 1415c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 142c6d4d657SGrant Likely reg = <900 80>; 143c6d4d657SGrant Likely }; 144c6d4d657SGrant Likely 14524ce6bc4SGrant Likely can@980 { 14624ce6bc4SGrant Likely compatible = "fsl,mpc5200-mscan"; 14705cbbc69SGrant Likely cell-index = <1>; 1480d0f4bc7SDomen Puncer interrupts = <2 12 0>; 1495c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 150c6d4d657SGrant Likely reg = <980 80>; 151c6d4d657SGrant Likely }; 152c6d4d657SGrant Likely 153c6d4d657SGrant Likely gpio@b00 { 15424ce6bc4SGrant Likely compatible = "fsl,mpc5200-gpio"; 155c6d4d657SGrant Likely reg = <b00 40>; 156c6d4d657SGrant Likely interrupts = <1 7 0>; 1575c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 158c6d4d657SGrant Likely }; 159c6d4d657SGrant Likely 16024ce6bc4SGrant Likely gpio@c00 { 16124ce6bc4SGrant Likely compatible = "fsl,mpc5200-gpio-wkup"; 162c6d4d657SGrant Likely reg = <c00 40>; 163c6d4d657SGrant Likely interrupts = <1 8 0 0 3 0>; 1645c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 165c6d4d657SGrant Likely }; 166c6d4d657SGrant Likely 167c6d4d657SGrant Likely spi@f00 { 16824ce6bc4SGrant Likely compatible = "fsl,mpc5200-spi"; 169c6d4d657SGrant Likely reg = <f00 20>; 170c6d4d657SGrant Likely interrupts = <2 d 0 2 e 0>; 1715c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 172c6d4d657SGrant Likely }; 173c6d4d657SGrant Likely 174c6d4d657SGrant Likely usb@1000 { 17524ce6bc4SGrant Likely compatible = "fsl,mpc5200-ohci","ohci-be"; 176c6d4d657SGrant Likely reg = <1000 ff>; 177c6d4d657SGrant Likely interrupts = <2 6 0>; 1785c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 179c6d4d657SGrant Likely }; 180c6d4d657SGrant Likely 18124ce6bc4SGrant Likely dma-controller@1200 { 182c6d4d657SGrant Likely device_type = "dma-controller"; 18324ce6bc4SGrant Likely compatible = "fsl,mpc5200-bestcomm"; 184c6d4d657SGrant Likely reg = <1200 80>; 185c6d4d657SGrant Likely interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 186c6d4d657SGrant Likely 3 4 0 3 5 0 3 6 0 3 7 0 187c6d4d657SGrant Likely 3 8 0 3 9 0 3 a 0 3 b 0 188c6d4d657SGrant Likely 3 c 0 3 d 0 3 e 0 3 f 0>; 1895c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 190c6d4d657SGrant Likely }; 191c6d4d657SGrant Likely 192c6d4d657SGrant Likely xlb@1f00 { 19324ce6bc4SGrant Likely compatible = "fsl,mpc5200-xlb"; 194c6d4d657SGrant Likely reg = <1f00 100>; 195c6d4d657SGrant Likely }; 196c6d4d657SGrant Likely 197c6d4d657SGrant Likely serial@2000 { // PSC1 198c6d4d657SGrant Likely device_type = "serial"; 19924ce6bc4SGrant Likely compatible = "fsl,mpc5200-psc-uart"; 200c6d4d657SGrant Likely port-number = <0>; // Logical port assignment 20105cbbc69SGrant Likely cell-index = <0>; 202c6d4d657SGrant Likely reg = <2000 100>; 203c6d4d657SGrant Likely interrupts = <2 1 0>; 2045c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 205c6d4d657SGrant Likely }; 206c6d4d657SGrant Likely 20705cbbc69SGrant Likely // PSC2 in ac97 mode example 20805cbbc69SGrant Likely //ac97@2200 { // PSC2 20924ce6bc4SGrant Likely // compatible = "fsl,mpc5200-psc-ac97"; 21005cbbc69SGrant Likely // cell-index = <1>; 21105cbbc69SGrant Likely // reg = <2200 100>; 21205cbbc69SGrant Likely // interrupts = <2 2 0>; 2135c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 21405cbbc69SGrant Likely //}; 215c6d4d657SGrant Likely 216c6d4d657SGrant Likely // PSC3 in CODEC mode example 21705cbbc69SGrant Likely //i2s@2400 { // PSC3 21824ce6bc4SGrant Likely // compatible = "fsl,mpc5200-psc-i2s"; 21905cbbc69SGrant Likely // cell-index = <2>; 22005cbbc69SGrant Likely // reg = <2400 100>; 22105cbbc69SGrant Likely // interrupts = <2 3 0>; 2225c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 22305cbbc69SGrant Likely //}; 224c6d4d657SGrant Likely 22505cbbc69SGrant Likely // PSC4 in uart mode example 226c6d4d657SGrant Likely //serial@2600 { // PSC4 227c6d4d657SGrant Likely // device_type = "serial"; 22824ce6bc4SGrant Likely // compatible = "fsl,mpc5200-psc-uart"; 22905cbbc69SGrant Likely // cell-index = <3>; 230c6d4d657SGrant Likely // reg = <2600 100>; 231c6d4d657SGrant Likely // interrupts = <2 b 0>; 2325c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 233c6d4d657SGrant Likely //}; 234c6d4d657SGrant Likely 23505cbbc69SGrant Likely // PSC5 in uart mode example 236c6d4d657SGrant Likely //serial@2800 { // PSC5 237c6d4d657SGrant Likely // device_type = "serial"; 23824ce6bc4SGrant Likely // compatible = "fsl,mpc5200-psc-uart"; 23905cbbc69SGrant Likely // cell-index = <4>; 240c6d4d657SGrant Likely // reg = <2800 100>; 241c6d4d657SGrant Likely // interrupts = <2 c 0>; 2425c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 243c6d4d657SGrant Likely //}; 244c6d4d657SGrant Likely 24505cbbc69SGrant Likely // PSC6 in spi mode example 24605cbbc69SGrant Likely //spi@2c00 { // PSC6 24724ce6bc4SGrant Likely // compatible = "fsl,mpc5200-psc-spi"; 24805cbbc69SGrant Likely // cell-index = <5>; 24905cbbc69SGrant Likely // reg = <2c00 100>; 25005cbbc69SGrant Likely // interrupts = <2 4 0>; 2515c1992f8SKumar Gala // interrupt-parent = <&mpc5200_pic>; 25205cbbc69SGrant Likely //}; 253c6d4d657SGrant Likely 254c6d4d657SGrant Likely ethernet@3000 { 255c6d4d657SGrant Likely device_type = "network"; 25624ce6bc4SGrant Likely compatible = "fsl,mpc5200-fec"; 257c6d4d657SGrant Likely reg = <3000 800>; 25824ce6bc4SGrant Likely local-mac-address = [ 00 00 00 00 00 00 ]; 259c6d4d657SGrant Likely interrupts = <2 5 0>; 2605c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 261c6d4d657SGrant Likely }; 262c6d4d657SGrant Likely 263c6d4d657SGrant Likely ata@3a00 { 264c6d4d657SGrant Likely device_type = "ata"; 26524ce6bc4SGrant Likely compatible = "fsl,mpc5200-ata"; 266c6d4d657SGrant Likely reg = <3a00 100>; 267c6d4d657SGrant Likely interrupts = <2 7 0>; 2685c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 269c6d4d657SGrant Likely }; 270c6d4d657SGrant Likely 271c6d4d657SGrant Likely i2c@3d00 { 272ec9686c4SKumar Gala #address-cells = <1>; 273ec9686c4SKumar Gala #size-cells = <0>; 27424ce6bc4SGrant Likely compatible = "fsl,mpc5200-i2c","fsl-i2c"; 27505cbbc69SGrant Likely cell-index = <0>; 276c6d4d657SGrant Likely reg = <3d00 40>; 277c6d4d657SGrant Likely interrupts = <2 f 0>; 2785c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 2795cae84c9SDomen Puncer fsl5200-clocking; 280c6d4d657SGrant Likely }; 281c6d4d657SGrant Likely 282c6d4d657SGrant Likely i2c@3d40 { 283ec9686c4SKumar Gala #address-cells = <1>; 284ec9686c4SKumar Gala #size-cells = <0>; 28524ce6bc4SGrant Likely compatible = "fsl,mpc5200-i2c","fsl-i2c"; 28605cbbc69SGrant Likely cell-index = <1>; 287c6d4d657SGrant Likely reg = <3d40 40>; 288c6d4d657SGrant Likely interrupts = <2 10 0>; 2895c1992f8SKumar Gala interrupt-parent = <&mpc5200_pic>; 2905cae84c9SDomen Puncer fsl5200-clocking; 291c6d4d657SGrant Likely }; 292c6d4d657SGrant Likely sram@8000 { 29324ce6bc4SGrant Likely compatible = "fsl,mpc5200-sram","sram"; 294c6d4d657SGrant Likely reg = <8000 4000>; 295c6d4d657SGrant Likely }; 296c6d4d657SGrant Likely }; 2971b3c5cdaSKumar Gala 2981b3c5cdaSKumar Gala pci@f0000d00 { 2991b3c5cdaSKumar Gala #interrupt-cells = <1>; 3001b3c5cdaSKumar Gala #size-cells = <2>; 3011b3c5cdaSKumar Gala #address-cells = <3>; 3021b3c5cdaSKumar Gala device_type = "pci"; 30324ce6bc4SGrant Likely compatible = "fsl,mpc5200-pci"; 3041b3c5cdaSKumar Gala reg = <f0000d00 100>; 3051b3c5cdaSKumar Gala interrupt-map-mask = <f800 0 0 7>; 3061b3c5cdaSKumar Gala interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3 3071b3c5cdaSKumar Gala c000 0 0 2 &mpc5200_pic 0 0 3 3081b3c5cdaSKumar Gala c000 0 0 3 &mpc5200_pic 0 0 3 3091b3c5cdaSKumar Gala c000 0 0 4 &mpc5200_pic 0 0 3>; 3101b3c5cdaSKumar Gala clock-frequency = <0>; // From boot loader 3111b3c5cdaSKumar Gala interrupts = <2 8 0 2 9 0 2 a 0>; 3121b3c5cdaSKumar Gala interrupt-parent = <&mpc5200_pic>; 3131b3c5cdaSKumar Gala bus-range = <0 0>; 3141b3c5cdaSKumar Gala ranges = <42000000 0 80000000 80000000 0 20000000 3151b3c5cdaSKumar Gala 02000000 0 a0000000 a0000000 0 10000000 3161b3c5cdaSKumar Gala 01000000 0 00000000 b0000000 0 01000000>; 3171b3c5cdaSKumar Gala }; 318c6d4d657SGrant Likely}; 319