10dde1a1dSScott Wood/* 20dde1a1dSScott Wood * Device Tree for the Embedded Planet EP8248E board running PlanetCore. 30dde1a1dSScott Wood * 40dde1a1dSScott Wood * Copyright 2007 Freescale Semiconductor Inc. 50dde1a1dSScott Wood * 60dde1a1dSScott Wood * This program is free software; you can redistribute it and/or modify it 70dde1a1dSScott Wood * under the terms of the GNU General Public License as published by the 80dde1a1dSScott Wood * Free Software Foundation; either version 2 of the License, or (at your 90dde1a1dSScott Wood * option) any later version. 100dde1a1dSScott Wood */ 110dde1a1dSScott Wood 120dde1a1dSScott Wood/dts-v1/; 130dde1a1dSScott Wood/ { 140dde1a1dSScott Wood model = "EP8248E"; 150dde1a1dSScott Wood compatible = "fsl,ep8248e"; 160dde1a1dSScott Wood #address-cells = <1>; 170dde1a1dSScott Wood #size-cells = <1>; 180dde1a1dSScott Wood 190dde1a1dSScott Wood aliases { 200dde1a1dSScott Wood planetcore-SMC1 = &smc1; 210dde1a1dSScott Wood planetcore-SCC1 = &scc1; 220dde1a1dSScott Wood ethernet0 = ð0; 230dde1a1dSScott Wood ethernet1 = ð1; 240dde1a1dSScott Wood serial0 = &smc1; 250dde1a1dSScott Wood serial1 = &scc1; 260dde1a1dSScott Wood }; 270dde1a1dSScott Wood 280dde1a1dSScott Wood cpus { 290dde1a1dSScott Wood #address-cells = <1>; 300dde1a1dSScott Wood #size-cells = <0>; 310dde1a1dSScott Wood 320dde1a1dSScott Wood PowerPC,8248@0 { 330dde1a1dSScott Wood device_type = "cpu"; 340dde1a1dSScott Wood reg = <0>; 350dde1a1dSScott Wood d-cache-line-size = <32>; 360dde1a1dSScott Wood i-cache-line-size = <32>; 370dde1a1dSScott Wood d-cache-size = <16384>; 380dde1a1dSScott Wood i-cache-size = <16384>; 390dde1a1dSScott Wood timebase-frequency = <0>; 400dde1a1dSScott Wood clock-frequency = <0>; 410dde1a1dSScott Wood }; 420dde1a1dSScott Wood }; 430dde1a1dSScott Wood 440dde1a1dSScott Wood localbus@f0010100 { 450dde1a1dSScott Wood compatible = "fsl,mpc8248-localbus", 460dde1a1dSScott Wood "fsl,pq2-localbus", 470dde1a1dSScott Wood "simple-bus"; 480dde1a1dSScott Wood #address-cells = <2>; 490dde1a1dSScott Wood #size-cells = <1>; 500dde1a1dSScott Wood reg = <0xf0010100 0x40>; 510dde1a1dSScott Wood 520dde1a1dSScott Wood ranges = <0 0 0xfc000000 0x04000000 530dde1a1dSScott Wood 1 0 0xfa000000 0x00008000>; 540dde1a1dSScott Wood 550dde1a1dSScott Wood flash@0,3800000 { 560dde1a1dSScott Wood compatible = "cfi-flash"; 570dde1a1dSScott Wood reg = <0 0x3800000 0x800000>; 580dde1a1dSScott Wood bank-width = <4>; 590dde1a1dSScott Wood device-width = <2>; 600dde1a1dSScott Wood }; 610dde1a1dSScott Wood 620dde1a1dSScott Wood bcsr@1,0 { 630dde1a1dSScott Wood #address-cells = <2>; 640dde1a1dSScott Wood #size-cells = <1>; 650dde1a1dSScott Wood reg = <1 0 0x10>; 660dde1a1dSScott Wood compatible = "fsl,ep8248e-bcsr"; 670dde1a1dSScott Wood ranges; 680dde1a1dSScott Wood 690dde1a1dSScott Wood mdio { 700dde1a1dSScott Wood device_type = "mdio"; 710dde1a1dSScott Wood compatible = "fsl,ep8248e-mdio-bitbang"; 720dde1a1dSScott Wood #address-cells = <1>; 730dde1a1dSScott Wood #size-cells = <0>; 740dde1a1dSScott Wood reg = <1 8 1>; 750dde1a1dSScott Wood 760dde1a1dSScott Wood PHY0: ethernet-phy@0 { 770dde1a1dSScott Wood interrupt-parent = <&PIC>; 780dde1a1dSScott Wood reg = <0>; 790dde1a1dSScott Wood device_type = "ethernet-phy"; 800dde1a1dSScott Wood }; 810dde1a1dSScott Wood 820dde1a1dSScott Wood PHY1: ethernet-phy@1 { 830dde1a1dSScott Wood interrupt-parent = <&PIC>; 840dde1a1dSScott Wood reg = <1>; 850dde1a1dSScott Wood device_type = "ethernet-phy"; 860dde1a1dSScott Wood }; 870dde1a1dSScott Wood }; 880dde1a1dSScott Wood }; 890dde1a1dSScott Wood }; 900dde1a1dSScott Wood 910dde1a1dSScott Wood memory { 920dde1a1dSScott Wood device_type = "memory"; 930dde1a1dSScott Wood reg = <0 0>; 940dde1a1dSScott Wood }; 950dde1a1dSScott Wood 960dde1a1dSScott Wood soc@f0000000 { 970dde1a1dSScott Wood #address-cells = <1>; 980dde1a1dSScott Wood #size-cells = <1>; 990dde1a1dSScott Wood compatible = "fsl,mpc8248-immr", "fsl,pq2-soc", "simple-bus"; 1000dde1a1dSScott Wood ranges = <0x00000000 0xf0000000 0x00053000>; 1010dde1a1dSScott Wood 1020dde1a1dSScott Wood // Temporary until code stops depending on it. 1030dde1a1dSScott Wood device_type = "soc"; 1040dde1a1dSScott Wood 1050dde1a1dSScott Wood // Temporary -- will go away once kernel uses ranges for get_immrbase(). 1060dde1a1dSScott Wood reg = <0xf0000000 0x00053000>; 1070dde1a1dSScott Wood 1080dde1a1dSScott Wood cpm@119c0 { 1090dde1a1dSScott Wood #address-cells = <1>; 1100dde1a1dSScott Wood #size-cells = <1>; 1110dde1a1dSScott Wood #interrupt-cells = <2>; 1120dde1a1dSScott Wood compatible = "fsl,mpc8248-cpm", "fsl,cpm2", 1130dde1a1dSScott Wood "simple-bus"; 1140dde1a1dSScott Wood reg = <0x119c0 0x30>; 1150dde1a1dSScott Wood ranges; 1160dde1a1dSScott Wood 1170dde1a1dSScott Wood muram { 1180dde1a1dSScott Wood #address-cells = <1>; 1190dde1a1dSScott Wood #size-cells = <1>; 1200dde1a1dSScott Wood ranges = <0 0 0x10000>; 1210dde1a1dSScott Wood 1220dde1a1dSScott Wood data@0 { 1230dde1a1dSScott Wood compatible = "fsl,cpm-muram-data"; 1240585fa5fSLaurent Pinchart reg = <0 0x2000 0x9800 0x800>; 1250dde1a1dSScott Wood }; 1260dde1a1dSScott Wood }; 1270dde1a1dSScott Wood 1280dde1a1dSScott Wood brg@119f0 { 1290dde1a1dSScott Wood compatible = "fsl,mpc8248-brg", 1300dde1a1dSScott Wood "fsl,cpm2-brg", 1310dde1a1dSScott Wood "fsl,cpm-brg"; 1320dde1a1dSScott Wood reg = <0x119f0 0x10 0x115f0 0x10>; 1330dde1a1dSScott Wood }; 1340dde1a1dSScott Wood 1350dde1a1dSScott Wood /* Monitor port/SMC1 */ 1360dde1a1dSScott Wood smc1: serial@11a80 { 1370dde1a1dSScott Wood device_type = "serial"; 1380dde1a1dSScott Wood compatible = "fsl,mpc8248-smc-uart", 1390dde1a1dSScott Wood "fsl,cpm2-smc-uart"; 1400585fa5fSLaurent Pinchart reg = <0x11a80 0x20 0x87fc 2>; 1410dde1a1dSScott Wood interrupts = <4 8>; 1420dde1a1dSScott Wood interrupt-parent = <&PIC>; 1430dde1a1dSScott Wood fsl,cpm-brg = <7>; 1440dde1a1dSScott Wood fsl,cpm-command = <0x1d000000>; 1450dde1a1dSScott Wood linux,planetcore-label = "SMC1"; 1460dde1a1dSScott Wood }; 1470dde1a1dSScott Wood 1480dde1a1dSScott Wood /* "Serial" port/SCC1 */ 1490dde1a1dSScott Wood scc1: serial@11a00 { 1500dde1a1dSScott Wood device_type = "serial"; 1510dde1a1dSScott Wood compatible = "fsl,mpc8248-scc-uart", 1520dde1a1dSScott Wood "fsl,cpm2-scc-uart"; 1530dde1a1dSScott Wood reg = <0x11a00 0x20 0x8000 0x100>; 1540dde1a1dSScott Wood interrupts = <40 8>; 1550dde1a1dSScott Wood interrupt-parent = <&PIC>; 1560dde1a1dSScott Wood fsl,cpm-brg = <1>; 1570dde1a1dSScott Wood fsl,cpm-command = <0x00800000>; 1580dde1a1dSScott Wood linux,planetcore-label = "SCC1"; 1590dde1a1dSScott Wood }; 1600dde1a1dSScott Wood 1610dde1a1dSScott Wood eth0: ethernet@11300 { 1620dde1a1dSScott Wood device_type = "network"; 1630dde1a1dSScott Wood compatible = "fsl,mpc8248-fcc-enet", 1640dde1a1dSScott Wood "fsl,cpm2-fcc-enet"; 1650dde1a1dSScott Wood reg = <0x11300 0x20 0x8400 0x100 0x11390 1>; 1660dde1a1dSScott Wood local-mac-address = [ 00 00 00 00 00 00 ]; 1670dde1a1dSScott Wood interrupts = <32 8>; 1680dde1a1dSScott Wood interrupt-parent = <&PIC>; 1690dde1a1dSScott Wood phy-handle = <&PHY0>; 1700dde1a1dSScott Wood linux,network-index = <0>; 1710dde1a1dSScott Wood fsl,cpm-command = <0x12000300>; 1720dde1a1dSScott Wood }; 1730dde1a1dSScott Wood 1740dde1a1dSScott Wood eth1: ethernet@11320 { 1750dde1a1dSScott Wood device_type = "network"; 1760dde1a1dSScott Wood compatible = "fsl,mpc8248-fcc-enet", 1770dde1a1dSScott Wood "fsl,cpm2-fcc-enet"; 1780dde1a1dSScott Wood reg = <0x11320 0x20 0x8500 0x100 0x113b0 1>; 1790dde1a1dSScott Wood local-mac-address = [ 00 00 00 00 00 00 ]; 1800dde1a1dSScott Wood interrupts = <33 8>; 1810dde1a1dSScott Wood interrupt-parent = <&PIC>; 1820dde1a1dSScott Wood phy-handle = <&PHY1>; 1830dde1a1dSScott Wood linux,network-index = <1>; 1840dde1a1dSScott Wood fsl,cpm-command = <0x16200300>; 1850dde1a1dSScott Wood }; 1860dde1a1dSScott Wood 1870dde1a1dSScott Wood usb@11b60 { 1880dde1a1dSScott Wood #address-cells = <1>; 1890dde1a1dSScott Wood #size-cells = <0>; 1900dde1a1dSScott Wood compatible = "fsl,mpc8248-usb", 1910dde1a1dSScott Wood "fsl,cpm2-usb"; 1920dde1a1dSScott Wood reg = <0x11b60 0x18 0x8b00 0x100>; 1930dde1a1dSScott Wood interrupt-parent = <&PIC>; 1940dde1a1dSScott Wood interrupts = <11 8>; 1950dde1a1dSScott Wood fsl,cpm-command = <0x2e600000>; 1960dde1a1dSScott Wood }; 1970dde1a1dSScott Wood }; 1980dde1a1dSScott Wood 1990dde1a1dSScott Wood PIC: interrupt-controller@10c00 { 2000dde1a1dSScott Wood #interrupt-cells = <2>; 2010dde1a1dSScott Wood interrupt-controller; 2020dde1a1dSScott Wood reg = <0x10c00 0x80>; 2030dde1a1dSScott Wood compatible = "fsl,mpc8248-pic", "fsl,pq2-pic"; 2040dde1a1dSScott Wood }; 2050dde1a1dSScott Wood }; 2060dde1a1dSScott Wood}; 207