177e03a22SKumar Gala/* 277e03a22SKumar Gala * STX GP3 - 8560 ADS Device Tree Source 377e03a22SKumar Gala * 477e03a22SKumar Gala * Copyright 2008 Freescale Semiconductor Inc. 577e03a22SKumar Gala * 677e03a22SKumar Gala * This program is free software; you can redistribute it and/or modify it 777e03a22SKumar Gala * under the terms of the GNU General Public License as published by the 877e03a22SKumar Gala * Free Software Foundation; either version 2 of the License, or (at your 977e03a22SKumar Gala * option) any later version. 1077e03a22SKumar Gala */ 1177e03a22SKumar Gala 1277e03a22SKumar Gala/dts-v1/; 1377e03a22SKumar Gala 1477e03a22SKumar Gala/ { 1577e03a22SKumar Gala model = "stx,gp3"; 1677e03a22SKumar Gala compatible = "stx,gp3-8560", "stx,gp3"; 1777e03a22SKumar Gala #address-cells = <1>; 1877e03a22SKumar Gala #size-cells = <1>; 1977e03a22SKumar Gala 2077e03a22SKumar Gala aliases { 2177e03a22SKumar Gala ethernet0 = &enet0; 2277e03a22SKumar Gala ethernet1 = &enet1; 2377e03a22SKumar Gala serial0 = &serial0; 2477e03a22SKumar Gala pci0 = &pci0; 2577e03a22SKumar Gala }; 2677e03a22SKumar Gala 2777e03a22SKumar Gala cpus { 2877e03a22SKumar Gala #address-cells = <1>; 2977e03a22SKumar Gala #size-cells = <0>; 3077e03a22SKumar Gala 3177e03a22SKumar Gala PowerPC,8560@0 { 3277e03a22SKumar Gala device_type = "cpu"; 3377e03a22SKumar Gala reg = <0>; 3477e03a22SKumar Gala d-cache-line-size = <32>; 3577e03a22SKumar Gala i-cache-line-size = <32>; 3677e03a22SKumar Gala d-cache-size = <32768>; 3777e03a22SKumar Gala i-cache-size = <32768>; 3877e03a22SKumar Gala timebase-frequency = <0>; 3977e03a22SKumar Gala bus-frequency = <0>; 4077e03a22SKumar Gala clock-frequency = <0>; 4177e03a22SKumar Gala }; 4277e03a22SKumar Gala }; 4377e03a22SKumar Gala 4477e03a22SKumar Gala memory { 4577e03a22SKumar Gala device_type = "memory"; 4677e03a22SKumar Gala reg = <0x00000000 0x10000000>; 4777e03a22SKumar Gala }; 4877e03a22SKumar Gala 49f67be814SKumar Gala soc@fdf00000 { 5077e03a22SKumar Gala #address-cells = <1>; 5177e03a22SKumar Gala #size-cells = <1>; 5277e03a22SKumar Gala device_type = "soc"; 5377e03a22SKumar Gala ranges = <0 0xfdf00000 0x100000>; 5477e03a22SKumar Gala reg = <0xfdf00000 0x1000>; 5577e03a22SKumar Gala bus-frequency = <0>; 5677e03a22SKumar Gala compatible = "fsl,mpc8560-immr", "simple-bus"; 5777e03a22SKumar Gala 5877e03a22SKumar Gala memory-controller@2000 { 5977e03a22SKumar Gala compatible = "fsl,8540-memory-controller"; 6077e03a22SKumar Gala reg = <0x2000 0x1000>; 6177e03a22SKumar Gala interrupt-parent = <&mpic>; 6277e03a22SKumar Gala interrupts = <18 2>; 6377e03a22SKumar Gala }; 6477e03a22SKumar Gala 6577e03a22SKumar Gala l2-cache-controller@20000 { 6677e03a22SKumar Gala compatible = "fsl,8540-l2-cache-controller"; 6777e03a22SKumar Gala reg = <0x20000 0x1000>; 6877e03a22SKumar Gala cache-line-size = <32>; 6977e03a22SKumar Gala cache-size = <0x40000>; // L2, 256K 7077e03a22SKumar Gala interrupt-parent = <&mpic>; 7177e03a22SKumar Gala interrupts = <16 2>; 7277e03a22SKumar Gala }; 7377e03a22SKumar Gala 7477e03a22SKumar Gala i2c@3000 { 7577e03a22SKumar Gala #address-cells = <1>; 7677e03a22SKumar Gala #size-cells = <0>; 7777e03a22SKumar Gala cell-index = <0>; 7877e03a22SKumar Gala compatible = "fsl-i2c"; 7977e03a22SKumar Gala reg = <0x3000 0x100>; 8077e03a22SKumar Gala interrupts = <43 2>; 8177e03a22SKumar Gala interrupt-parent = <&mpic>; 8277e03a22SKumar Gala dfsrr; 8377e03a22SKumar Gala }; 8477e03a22SKumar Gala 8577e03a22SKumar Gala mdio@24520 { 8677e03a22SKumar Gala #address-cells = <1>; 8777e03a22SKumar Gala #size-cells = <0>; 8877e03a22SKumar Gala compatible = "fsl,gianfar-mdio"; 8977e03a22SKumar Gala reg = <0x24520 0x20>; 9077e03a22SKumar Gala 9177e03a22SKumar Gala phy2: ethernet-phy@2 { 9277e03a22SKumar Gala interrupt-parent = <&mpic>; 9377e03a22SKumar Gala interrupts = <5 4>; 9477e03a22SKumar Gala reg = <2>; 9577e03a22SKumar Gala device_type = "ethernet-phy"; 9677e03a22SKumar Gala }; 9777e03a22SKumar Gala phy4: ethernet-phy@4 { 9877e03a22SKumar Gala interrupt-parent = <&mpic>; 9977e03a22SKumar Gala interrupts = <5 4>; 10077e03a22SKumar Gala reg = <4>; 10177e03a22SKumar Gala device_type = "ethernet-phy"; 10277e03a22SKumar Gala }; 10377e03a22SKumar Gala }; 10477e03a22SKumar Gala 10577e03a22SKumar Gala enet0: ethernet@24000 { 10677e03a22SKumar Gala cell-index = <0>; 10777e03a22SKumar Gala device_type = "network"; 10877e03a22SKumar Gala model = "TSEC"; 10977e03a22SKumar Gala compatible = "gianfar"; 11077e03a22SKumar Gala reg = <0x24000 0x1000>; 11177e03a22SKumar Gala local-mac-address = [ 00 00 00 00 00 00 ]; 11277e03a22SKumar Gala interrupts = <29 2 30 2 34 2>; 11377e03a22SKumar Gala interrupt-parent = <&mpic>; 11477e03a22SKumar Gala phy-handle = <&phy2>; 11577e03a22SKumar Gala }; 11677e03a22SKumar Gala 11777e03a22SKumar Gala enet1: ethernet@25000 { 11877e03a22SKumar Gala cell-index = <1>; 11977e03a22SKumar Gala device_type = "network"; 12077e03a22SKumar Gala model = "TSEC"; 12177e03a22SKumar Gala compatible = "gianfar"; 12277e03a22SKumar Gala reg = <0x25000 0x1000>; 12377e03a22SKumar Gala local-mac-address = [ 00 00 00 00 00 00 ]; 12477e03a22SKumar Gala interrupts = <35 2 36 2 40 2>; 12577e03a22SKumar Gala interrupt-parent = <&mpic>; 12677e03a22SKumar Gala phy-handle = <&phy4>; 12777e03a22SKumar Gala }; 12877e03a22SKumar Gala 12977e03a22SKumar Gala mpic: pic@40000 { 13077e03a22SKumar Gala interrupt-controller; 13177e03a22SKumar Gala #address-cells = <0>; 13277e03a22SKumar Gala #interrupt-cells = <2>; 13377e03a22SKumar Gala reg = <0x40000 0x40000>; 134acd4b715SKumar Gala compatible = "chrp,open-pic"; 13577e03a22SKumar Gala device_type = "open-pic"; 13677e03a22SKumar Gala }; 13777e03a22SKumar Gala 13877e03a22SKumar Gala cpm@919c0 { 13977e03a22SKumar Gala #address-cells = <1>; 14077e03a22SKumar Gala #size-cells = <1>; 14177e03a22SKumar Gala compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus"; 14277e03a22SKumar Gala reg = <0x919c0 0x30>; 14377e03a22SKumar Gala ranges; 14477e03a22SKumar Gala 14577e03a22SKumar Gala muram@80000 { 14677e03a22SKumar Gala #address-cells = <1>; 14777e03a22SKumar Gala #size-cells = <1>; 14877e03a22SKumar Gala ranges = <0 0x80000 0x10000>; 14977e03a22SKumar Gala 15077e03a22SKumar Gala data@0 { 15177e03a22SKumar Gala compatible = "fsl,cpm-muram-data"; 15277e03a22SKumar Gala reg = <0 0x4000 0x9000 0x2000>; 15377e03a22SKumar Gala }; 15477e03a22SKumar Gala }; 15577e03a22SKumar Gala 15677e03a22SKumar Gala brg@919f0 { 15777e03a22SKumar Gala compatible = "fsl,mpc8560-brg", 15877e03a22SKumar Gala "fsl,cpm2-brg", 15977e03a22SKumar Gala "fsl,cpm-brg"; 16077e03a22SKumar Gala reg = <0x919f0 0x10 0x915f0 0x10>; 16177e03a22SKumar Gala clock-frequency = <0>; 16277e03a22SKumar Gala }; 16377e03a22SKumar Gala 16477e03a22SKumar Gala cpmpic: pic@90c00 { 16577e03a22SKumar Gala interrupt-controller; 16677e03a22SKumar Gala #address-cells = <0>; 16777e03a22SKumar Gala #interrupt-cells = <2>; 16877e03a22SKumar Gala interrupts = <46 2>; 16977e03a22SKumar Gala interrupt-parent = <&mpic>; 17077e03a22SKumar Gala reg = <0x90c00 0x80>; 17177e03a22SKumar Gala compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic"; 17277e03a22SKumar Gala }; 17377e03a22SKumar Gala 17477e03a22SKumar Gala serial0: serial@91a20 { 17577e03a22SKumar Gala device_type = "serial"; 17677e03a22SKumar Gala compatible = "fsl,mpc8560-scc-uart", 17777e03a22SKumar Gala "fsl,cpm2-scc-uart"; 17877e03a22SKumar Gala reg = <0x91a20 0x20 0x88100 0x100>; 17977e03a22SKumar Gala fsl,cpm-brg = <2>; 18077e03a22SKumar Gala fsl,cpm-command = <0x4a00000>; 18177e03a22SKumar Gala interrupts = <41 8>; 18277e03a22SKumar Gala interrupt-parent = <&cpmpic>; 18377e03a22SKumar Gala }; 18477e03a22SKumar Gala }; 18577e03a22SKumar Gala }; 18677e03a22SKumar Gala 18777e03a22SKumar Gala pci0: pci@fdf08000 { 18877e03a22SKumar Gala cell-index = <0>; 18977e03a22SKumar Gala interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 19077e03a22SKumar Gala interrupt-map = < 19177e03a22SKumar Gala 19277e03a22SKumar Gala /* IDSEL 0x0c */ 19377e03a22SKumar Gala 0x6000 0 0 1 &mpic 1 1 19477e03a22SKumar Gala 0x6000 0 0 2 &mpic 2 1 19577e03a22SKumar Gala 0x6000 0 0 3 &mpic 3 1 19677e03a22SKumar Gala 0x6000 0 0 4 &mpic 4 1 19777e03a22SKumar Gala 19877e03a22SKumar Gala /* IDSEL 0x0d */ 19977e03a22SKumar Gala 0x6800 0 0 1 &mpic 4 1 20077e03a22SKumar Gala 0x6800 0 0 2 &mpic 1 1 20177e03a22SKumar Gala 0x6800 0 0 3 &mpic 2 1 20277e03a22SKumar Gala 0x6800 0 0 4 &mpic 3 1 20377e03a22SKumar Gala 20477e03a22SKumar Gala /* IDSEL 0x0e */ 20577e03a22SKumar Gala 0x7000 0 0 1 &mpic 3 1 20677e03a22SKumar Gala 0x7000 0 0 2 &mpic 4 1 20777e03a22SKumar Gala 0x7000 0 0 3 &mpic 1 1 20877e03a22SKumar Gala 0x7000 0 0 4 &mpic 2 1 20977e03a22SKumar Gala 21077e03a22SKumar Gala /* IDSEL 0x0f */ 21177e03a22SKumar Gala 0x7800 0 0 1 &mpic 2 1 21277e03a22SKumar Gala 0x7800 0 0 2 &mpic 3 1 21377e03a22SKumar Gala 0x7800 0 0 3 &mpic 4 1 21477e03a22SKumar Gala 0x7800 0 0 4 &mpic 1 1>; 21577e03a22SKumar Gala 21677e03a22SKumar Gala interrupt-parent = <&mpic>; 21777e03a22SKumar Gala interrupts = <24 2>; 21877e03a22SKumar Gala bus-range = <0 0>; 21977e03a22SKumar Gala ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000 22077e03a22SKumar Gala 0x01000000 0 0x00000000 0xe2000000 0 0x00100000>; 22177e03a22SKumar Gala clock-frequency = <66666666>; 22277e03a22SKumar Gala #interrupt-cells = <1>; 22377e03a22SKumar Gala #size-cells = <2>; 22477e03a22SKumar Gala #address-cells = <3>; 22577e03a22SKumar Gala reg = <0xfdf08000 0x1000>; 22677e03a22SKumar Gala compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; 22777e03a22SKumar Gala device_type = "pci"; 22877e03a22SKumar Gala }; 22977e03a22SKumar Gala}; 230