/*
* P1020 RDB Device Tree Source
*
* Copyright 2009 Freescale Semiconductor Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* * Neither the name of Freescale Semiconductor nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
*
* ALTERNATIVELY, this software may be distributed under the terms of the
* GNU General Public License ("GPL") as published by the Free Software
* Foundation, either version 2 of that License or (at your option) any
* later version.
*
* THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* $FreeBSD$ */
/ {
model = "fsl,P1020";
compatible = "fsl,P1020RDB";
aliases {
};
cpus {
device_type = "cpu";
reg = <0x0>;
};
device_type = "cpu";
reg = <0x1>;
};
};
memory {
device_type = "memory";
};
/* NOR, NAND Flashes and Vitesse 5 port L2 switch */
0x1 0x0 0x0 0xffa00000 0x00040000
0x2 0x0 0x0 0xffb00000 0x00020000>;
compatible = "cfi-flash";
partition@0 {
/* This location must not be altered */
/* 256KB for Vitesse 7385 Switch firmware */
label = "NOR (RO) Vitesse-7385 Firmware";
};
partition@40000 {
/* 256KB for DTB Image */
label = "NOR (RO) DTB Image";
};
partition@80000 {
/* 3.5 MB for Linux Kernel Image */
label = "NOR (RO) Linux Kernel Image";
};
partition@400000 {
/* 11MB for JFFS2 based Root file System */
label = "NOR (RW) JFFS2 Root File System";
};
/* This location must not be altered */
/* 512KB for u-boot Bootloader Image */
/* 512KB for u-boot Environment Variables */
label = "NOR (RO) U-Boot Image";
};
};
compatible = "fsl,p1020-fcm-nand",
"fsl,elbc-fcm-nand";
partition@0 {
/* This location must not be altered */
/* 1MB for u-boot Bootloader Image */
label = "NAND (RO) U-Boot Image";
};
partition@100000 {
/* 1MB for DTB Image */
label = "NAND (RO) DTB Image";
};
partition@200000 {
/* 4MB for Linux Kernel Image */
label = "NAND (RO) Linux Kernel Image";
};
partition@600000 {
/* 4MB for Compressed Root file System Image */
label = "NAND (RO) Compressed RFS Image";
};
/* 7MB for JFFS2 based Root file System */
label = "NAND (RW) JFFS2 Root File System";
};
partition@1100000 {
/* 15MB for JFFS2 based Root file System */
label = "NAND (RW) Writable User area";
};
};
compatible = "vitesse-7385";
};
};
device_type = "soc";
compatible = "fsl,ecm-law";
};
ecm@1000 {
};
compatible = "fsl,p1020-memory-controller";
};
i2c@3000 {
compatible = "fsl-i2c";
rtc@68 {
compatible = "dallas,ds1339";
reg = <0x68>;
};
};
i2c@3100 {
compatible = "fsl-i2c";
};
device_type = "serial";
compatible = "ns16550";
};
device_type = "serial";
compatible = "ns16550";
};
spi@7000 {
compatible = "fsl,espi";
mode = "cpu";
fsl_m25p80@0 {
compatible = "fsl,espi-flash";
reg = <0>;
modal = "s25sl128b";
mode = <0>;
partition@0 {
/* 512KB for u-boot Bootloader Image */
label = "SPI (RO) U-Boot Image";
};
partition@80000 {
/* 512KB for DTB Image */
label = "SPI (RO) DTB Image";
};
partition@100000 {
/* 4MB for Linux Kernel Image */
label = "SPI (RO) Linux Kernel Image";
};
partition@500000 {
/* 4MB for Compressed RFS Image */
label = "SPI (RO) Compressed RFS Image";
};
partition@900000 {
/* 7MB for JFFS2 based RFS */
label = "SPI (RW) JFFS2 RFS";
};
};
};
compatible = "fsl,mpc8572-gpio";
};
compatible = "fsl,p1020-l2-cache-controller";
};
dma@21300 {
compatible = "fsl,eloplus-dma";
compatible = "fsl,eloplus-dma-channel";
};
compatible = "fsl,eloplus-dma-channel";
};
compatible = "fsl,eloplus-dma-channel";
};
compatible = "fsl,eloplus-dma-channel";
};
};
mdio@24000 {
compatible = "fsl,etsec2-mdio";
reg = <0x0>;
};
reg = <0x1>;
};
};
mdio@25000 {
compatible = "fsl,etsec2-tbi";
reg = <0x11>;
device_type = "tbi-phy";
};
};
device_type = "network";
model = "eTSEC";
compatible = "fsl,etsec2";
};
};
};
device_type = "network";
model = "eTSEC";
compatible = "fsl,etsec2";
};
};
};
device_type = "network";
model = "eTSEC";
compatible = "fsl,etsec2";
};
};
};
usb@22000 {
compatible = "fsl-usb2-dr";
phy_type = "ulpi";
};
/* USB2 is shared with localbus, so it must be disabled
by default. We can't put 'status = "disabled";' here
since U-Boot doesn't clear the status property when
it enables USB2. OTOH, U-Boot does create a new node
when there isn't any. So, just comment it out.
usb@23000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl-usb2-dr";
reg = <0x23000 0x1000>;
interrupt-parent = <&mpic>;
interrupts = <46 0x2>;
phy_type = "ulpi";
};
*/
sdhci@2e000 {
/* Filled in by U-Boot */
};
crypto@30000 {
"fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
};
compatible = "chrp,open-pic";
device_type = "open-pic";
};
msi@41600 {
interrupts = <
0xe0 0
0xe1 0
0xe2 0
0xe3 0
0xe4 0
0xe5 0
0xe6 0
0xe7 0>;
};
compatible = "fsl,p1020-guts";
};
};
compatible = "fsl,mpc8548-pcie";
device_type = "pci";
0x1000000 0x0 0x00000000 0 0xffc30000 0x0 0x10000>;
pcie@0 {
device_type = "pci";
0x2000000 0x0 0xa0000000
0x0 0x20000000
0x1000000 0x0 0x0
0x1000000 0x0 0x0
0x0 0x100000>;
};
};
compatible = "fsl,mpc8548-pcie";
device_type = "pci";
0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
pcie@0 {
device_type = "pci";
0x2000000 0x0 0xc0000000
0x0 0x20000000
0x1000000 0x0 0x0
0x1000000 0x0 0x0
0x0 0x100000>;
};
};
};