129f1530fSVitaly Bordug/* 229f1530fSVitaly Bordug * MPC866 ADS Device Tree Source 329f1530fSVitaly Bordug * 429f1530fSVitaly Bordug * Copyright 2006 MontaVista Software, Inc. 5998c6103SKumar Gala * Copyright 2008 Freescale Semiconductor, Inc. 629f1530fSVitaly Bordug * 729f1530fSVitaly Bordug * This program is free software; you can redistribute it and/or modify it 829f1530fSVitaly Bordug * under the terms of the GNU General Public License as published by the 929f1530fSVitaly Bordug * Free Software Foundation; either version 2 of the License, or (at your 1029f1530fSVitaly Bordug * option) any later version. 1129f1530fSVitaly Bordug */ 1229f1530fSVitaly Bordug 13998c6103SKumar Gala/dts-v1/; 1429f1530fSVitaly Bordug 1529f1530fSVitaly Bordug/ { 1629f1530fSVitaly Bordug model = "MPC866ADS"; 170b5cf106SScott Wood compatible = "fsl,mpc866ads"; 1829f1530fSVitaly Bordug #address-cells = <1>; 1929f1530fSVitaly Bordug #size-cells = <1>; 2029f1530fSVitaly Bordug 2129f1530fSVitaly Bordug cpus { 2229f1530fSVitaly Bordug #address-cells = <1>; 2329f1530fSVitaly Bordug #size-cells = <0>; 2429f1530fSVitaly Bordug 2529f1530fSVitaly Bordug PowerPC,866@0 { 2629f1530fSVitaly Bordug device_type = "cpu"; 27998c6103SKumar Gala reg = <0x0>; 28998c6103SKumar Gala d-cache-line-size = <16>; // 16 bytes 29998c6103SKumar Gala i-cache-line-size = <16>; // 16 bytes 30998c6103SKumar Gala d-cache-size = <0x2000>; // L1, 8K 31998c6103SKumar Gala i-cache-size = <0x4000>; // L1, 16K 3229f1530fSVitaly Bordug timebase-frequency = <0>; 3329f1530fSVitaly Bordug bus-frequency = <0>; 3429f1530fSVitaly Bordug clock-frequency = <0>; 35998c6103SKumar Gala interrupts = <15 2>; // decrementer interrupt 360b5cf106SScott Wood interrupt-parent = <&PIC>; 3729f1530fSVitaly Bordug }; 3829f1530fSVitaly Bordug }; 3929f1530fSVitaly Bordug 4029f1530fSVitaly Bordug memory { 4129f1530fSVitaly Bordug device_type = "memory"; 42998c6103SKumar Gala reg = <0x0 0x800000>; 4329f1530fSVitaly Bordug }; 4429f1530fSVitaly Bordug 450b5cf106SScott Wood localbus@ff000100 { 460b5cf106SScott Wood compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus"; 470b5cf106SScott Wood #address-cells = <2>; 480b5cf106SScott Wood #size-cells = <1>; 49998c6103SKumar Gala reg = <0xff000100 0x40>; 500b5cf106SScott Wood 510b5cf106SScott Wood ranges = < 52998c6103SKumar Gala 0x1 0x0 0xff080000 0x8000 53998c6103SKumar Gala 0x5 0x0 0xff0a0000 0x8000 540b5cf106SScott Wood >; 550b5cf106SScott Wood 560b5cf106SScott Wood board-control@1,0 { 57998c6103SKumar Gala reg = <0x1 0x0 0x20 0x5 0x300 0x4>; 580b5cf106SScott Wood compatible = "fsl,mpc866ads-bcsr"; 590b5cf106SScott Wood }; 600b5cf106SScott Wood }; 610b5cf106SScott Wood 620b5cf106SScott Wood soc@ff000000 { 6329f1530fSVitaly Bordug #address-cells = <1>; 6429f1530fSVitaly Bordug #size-cells = <1>; 6529f1530fSVitaly Bordug device_type = "soc"; 66998c6103SKumar Gala ranges = <0x0 0xff000000 0x100000>; 67998c6103SKumar Gala reg = <0xff000000 0x200>; 6829f1530fSVitaly Bordug bus-frequency = <0>; 690b5cf106SScott Wood 700b5cf106SScott Wood mdio@e00 { 710b5cf106SScott Wood compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio"; 72998c6103SKumar Gala reg = <0xe00 0x188>; 7329f1530fSVitaly Bordug #address-cells = <1>; 7429f1530fSVitaly Bordug #size-cells = <0>; 750b5cf106SScott Wood PHY: ethernet-phy@f { 76998c6103SKumar Gala reg = <0xf>; 7729f1530fSVitaly Bordug device_type = "ethernet-phy"; 7829f1530fSVitaly Bordug }; 7929f1530fSVitaly Bordug }; 8029f1530fSVitaly Bordug 810b5cf106SScott Wood ethernet@e00 { 8229f1530fSVitaly Bordug device_type = "network"; 830b5cf106SScott Wood compatible = "fsl,mpc866-fec-enet", 840b5cf106SScott Wood "fsl,pq1-fec-enet"; 85998c6103SKumar Gala reg = <0xe00 0x188>; 860b5cf106SScott Wood local-mac-address = [ 00 00 00 00 00 00 ]; 8729f1530fSVitaly Bordug interrupts = <3 1>; 880b5cf106SScott Wood interrupt-parent = <&PIC>; 890b5cf106SScott Wood phy-handle = <&PHY>; 900b5cf106SScott Wood linux,network-index = <0>; 9129f1530fSVitaly Bordug }; 9229f1530fSVitaly Bordug 930b5cf106SScott Wood PIC: pic@0 { 9429f1530fSVitaly Bordug interrupt-controller; 9529f1530fSVitaly Bordug #interrupt-cells = <2>; 96998c6103SKumar Gala reg = <0x0 0x24>; 970b5cf106SScott Wood compatible = "fsl,mpc866-pic", "fsl,pq1-pic"; 9829f1530fSVitaly Bordug }; 9929f1530fSVitaly Bordug 1000b5cf106SScott Wood cpm@9c0 { 10129f1530fSVitaly Bordug #address-cells = <1>; 10229f1530fSVitaly Bordug #size-cells = <1>; 1030b5cf106SScott Wood compatible = "fsl,mpc866-cpm", "fsl,cpm1"; 1040b5cf106SScott Wood ranges; 105998c6103SKumar Gala reg = <0x9c0 0x40>; 10629f1530fSVitaly Bordug brg-frequency = <0>; 10729f1530fSVitaly Bordug interrupts = <0 2>; // cpm error interrupt 1080b5cf106SScott Wood interrupt-parent = <&CPM_PIC>; 10929f1530fSVitaly Bordug 1100b5cf106SScott Wood muram@2000 { 1110b5cf106SScott Wood #address-cells = <1>; 1120b5cf106SScott Wood #size-cells = <1>; 113998c6103SKumar Gala ranges = <0x0 0x2000 0x2000>; 1140b5cf106SScott Wood 1150b5cf106SScott Wood data@0 { 1160b5cf106SScott Wood compatible = "fsl,cpm-muram-data"; 117998c6103SKumar Gala reg = <0x0 0x1c00>; 1180b5cf106SScott Wood }; 1190b5cf106SScott Wood }; 1200b5cf106SScott Wood 1210b5cf106SScott Wood brg@9f0 { 1220b5cf106SScott Wood compatible = "fsl,mpc866-brg", 1230b5cf106SScott Wood "fsl,cpm1-brg", 1240b5cf106SScott Wood "fsl,cpm-brg"; 125998c6103SKumar Gala reg = <0x9f0 0x10>; 1260b5cf106SScott Wood clock-frequency = <0>; 1270b5cf106SScott Wood }; 1280b5cf106SScott Wood 1290b5cf106SScott Wood CPM_PIC: pic@930 { 13029f1530fSVitaly Bordug interrupt-controller; 13129f1530fSVitaly Bordug #address-cells = <0>; 1320b5cf106SScott Wood #interrupt-cells = <1>; 13329f1530fSVitaly Bordug interrupts = <5 2 0 2>; 1340b5cf106SScott Wood interrupt-parent = <&PIC>; 135998c6103SKumar Gala reg = <0x930 0x20>; 1360b5cf106SScott Wood compatible = "fsl,mpc866-cpm-pic", 1370b5cf106SScott Wood "fsl,cpm1-pic"; 13829f1530fSVitaly Bordug }; 13929f1530fSVitaly Bordug 1400b5cf106SScott Wood 1410b5cf106SScott Wood serial@a80 { 14229f1530fSVitaly Bordug device_type = "serial"; 1430b5cf106SScott Wood compatible = "fsl,mpc866-smc-uart", 1440b5cf106SScott Wood "fsl,cpm1-smc-uart"; 145998c6103SKumar Gala reg = <0xa80 0x10 0x3e80 0x40>; 1460b5cf106SScott Wood interrupts = <4>; 1470b5cf106SScott Wood interrupt-parent = <&CPM_PIC>; 1480b5cf106SScott Wood fsl,cpm-brg = <1>; 149998c6103SKumar Gala fsl,cpm-command = <0x90>; 15029f1530fSVitaly Bordug }; 15129f1530fSVitaly Bordug 1520b5cf106SScott Wood serial@a90 { 15329f1530fSVitaly Bordug device_type = "serial"; 1540b5cf106SScott Wood compatible = "fsl,mpc866-smc-uart", 1550b5cf106SScott Wood "fsl,cpm1-smc-uart"; 156998c6103SKumar Gala reg = <0xa90 0x10 0x3f80 0x40>; 1570b5cf106SScott Wood interrupts = <3>; 1580b5cf106SScott Wood interrupt-parent = <&CPM_PIC>; 1590b5cf106SScott Wood fsl,cpm-brg = <2>; 160998c6103SKumar Gala fsl,cpm-command = <0xd0>; 16129f1530fSVitaly Bordug }; 16229f1530fSVitaly Bordug 1630b5cf106SScott Wood ethernet@a00 { 16429f1530fSVitaly Bordug device_type = "network"; 1650b5cf106SScott Wood compatible = "fsl,mpc866-scc-enet", 1660b5cf106SScott Wood "fsl,cpm1-scc-enet"; 167998c6103SKumar Gala reg = <0xa00 0x18 0x3c00 0x100>; 1680b5cf106SScott Wood local-mac-address = [ 00 00 00 00 00 00 ]; 169998c6103SKumar Gala interrupts = <30>; 1700b5cf106SScott Wood interrupt-parent = <&CPM_PIC>; 1710b5cf106SScott Wood fsl,cpm-command = <0000>; 1720b5cf106SScott Wood linux,network-index = <1>; 17329f1530fSVitaly Bordug }; 174a5d28c8eSJochen Friedrich 175a5d28c8eSJochen Friedrich i2c@860 { 176a5d28c8eSJochen Friedrich compatible = "fsl,mpc866-i2c", 177a5d28c8eSJochen Friedrich "fsl,cpm1-i2c"; 178a5d28c8eSJochen Friedrich reg = <0x860 0x20 0x3c80 0x30>; 179a5d28c8eSJochen Friedrich interrupts = <16>; 180a5d28c8eSJochen Friedrich interrupt-parent = <&CPM_PIC>; 181a5d28c8eSJochen Friedrich fsl,cpm-command = <0x10>; 182a5d28c8eSJochen Friedrich #address-cells = <1>; 183a5d28c8eSJochen Friedrich #size-cells = <0>; 184a5d28c8eSJochen Friedrich }; 18529f1530fSVitaly Bordug }; 18629f1530fSVitaly Bordug }; 1870b5cf106SScott Wood 1880b5cf106SScott Wood chosen { 1890b5cf106SScott Wood linux,stdout-path = "/soc/cpm/serial@a80"; 1900b5cf106SScott Wood }; 19129f1530fSVitaly Bordug}; 192