2006-11-27 21:16:29 +00:00
|
|
|
/*
|
|
|
|
* Lite5200B board Device Tree Source
|
|
|
|
*
|
2007-02-12 20:36:54 +00:00
|
|
|
* Copyright 2006-2007 Secret Lab Technologies Ltd.
|
2006-11-27 21:16:29 +00:00
|
|
|
* Grant Likely <grant.likely@secretlab.ca>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*/
|
|
|
|
|
2010-11-17 23:28:56 +00:00
|
|
|
/include/ "mpc5200b.dtsi"
|
2007-01-19 07:00:14 +00:00
|
|
|
|
2013-02-08 08:02:50 +00:00
|
|
|
&gpt0 { fsl,has-wdt; };
|
|
|
|
&gpt2 { gpio-controller; };
|
|
|
|
&gpt3 { gpio-controller; };
|
|
|
|
|
2006-11-27 21:16:29 +00:00
|
|
|
/ {
|
2007-02-12 20:36:54 +00:00
|
|
|
model = "fsl,lite5200b";
|
2007-11-15 11:40:21 +00:00
|
|
|
compatible = "fsl,lite5200b";
|
2006-11-27 21:16:29 +00:00
|
|
|
|
2013-02-08 08:02:50 +00:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
tmr2 {
|
|
|
|
gpios = <&gpt2 0 1>;
|
|
|
|
};
|
|
|
|
tmr3 {
|
|
|
|
gpios = <&gpt3 0 1>;
|
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
led1 { gpios = <&gpio_wkup 2 1>; };
|
|
|
|
led2 { gpios = <&gpio_simple 3 1>; };
|
|
|
|
led3 { gpios = <&gpio_wkup 3 1>; };
|
|
|
|
led4 { gpios = <&gpio_simple 2 1>; };
|
|
|
|
};
|
|
|
|
|
2006-11-27 21:16:29 +00:00
|
|
|
memory {
|
2008-04-29 13:19:07 +00:00
|
|
|
reg = <0x00000000 0x10000000>; // 256MB
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
soc5200@f0000000 {
|
2010-11-17 23:28:56 +00:00
|
|
|
psc@2000 { // PSC1
|
|
|
|
compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
|
|
|
|
cell-index = <0>;
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
|
|
|
|
2010-11-17 23:28:56 +00:00
|
|
|
psc@2200 { // PSC2
|
|
|
|
status = "disabled";
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
|
|
|
|
2010-11-17 23:28:56 +00:00
|
|
|
psc@2400 { // PSC3
|
|
|
|
status = "disabled";
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
|
|
|
|
2010-11-17 23:28:56 +00:00
|
|
|
psc@2600 { // PSC4
|
|
|
|
status = "disabled";
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
|
|
|
|
2010-11-17 23:28:56 +00:00
|
|
|
psc@2800 { // PSC5
|
|
|
|
status = "disabled";
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
|
|
|
|
2010-11-17 23:28:56 +00:00
|
|
|
psc@2c00 { // PSC6
|
|
|
|
status = "disabled";
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
|
|
|
|
2007-02-12 20:36:54 +00:00
|
|
|
// PSC2 in ac97 mode example
|
|
|
|
//ac97@2200 { // PSC2
|
2008-01-25 05:25:31 +00:00
|
|
|
// compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
|
2007-02-12 20:36:54 +00:00
|
|
|
// cell-index = <1>;
|
|
|
|
//};
|
2006-11-27 21:16:29 +00:00
|
|
|
|
|
|
|
// PSC3 in CODEC mode example
|
2007-02-12 20:36:54 +00:00
|
|
|
//i2s@2400 { // PSC3
|
2008-01-25 05:25:31 +00:00
|
|
|
// compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible
|
2007-02-12 20:36:54 +00:00
|
|
|
// cell-index = <2>;
|
2006-11-27 21:16:29 +00:00
|
|
|
//};
|
|
|
|
|
2007-02-12 20:36:54 +00:00
|
|
|
// PSC6 in spi mode example
|
|
|
|
//spi@2c00 { // PSC6
|
2008-01-25 05:25:31 +00:00
|
|
|
// compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
|
2007-02-12 20:36:54 +00:00
|
|
|
// cell-index = <5>;
|
|
|
|
//};
|
2006-11-27 21:16:29 +00:00
|
|
|
|
|
|
|
ethernet@3000 {
|
2007-10-14 07:57:11 +00:00
|
|
|
phy-handle = <&phy0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
mdio@3000 {
|
2008-04-29 13:19:07 +00:00
|
|
|
phy0: ethernet-phy@0 {
|
2007-10-14 07:57:11 +00:00
|
|
|
reg = <0>;
|
|
|
|
};
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2c@3d40 {
|
2010-06-11 01:52:34 +00:00
|
|
|
eeprom@50 {
|
|
|
|
compatible = "atmel,24c02";
|
|
|
|
reg = <0x50>;
|
|
|
|
};
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
2009-02-03 19:30:26 +00:00
|
|
|
|
2006-11-27 21:16:29 +00:00
|
|
|
sram@8000 {
|
2009-02-03 19:30:26 +00:00
|
|
|
compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
|
2008-04-29 13:19:07 +00:00
|
|
|
reg = <0x8000 0x4000>;
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|
|
|
|
};
|
2007-09-12 23:23:46 +00:00
|
|
|
|
|
|
|
pci@f0000d00 {
|
2008-04-29 13:19:07 +00:00
|
|
|
interrupt-map-mask = <0xf800 0 0 7>;
|
|
|
|
interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
|
|
|
|
0xc000 0 0 2 &mpc5200_pic 1 1 3
|
|
|
|
0xc000 0 0 3 &mpc5200_pic 1 2 3
|
|
|
|
0xc000 0 0 4 &mpc5200_pic 1 3 3
|
|
|
|
|
|
|
|
0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
|
|
|
|
0xc800 0 0 2 &mpc5200_pic 1 2 3
|
|
|
|
0xc800 0 0 3 &mpc5200_pic 1 3 3
|
|
|
|
0xc800 0 0 4 &mpc5200_pic 0 0 3>;
|
2007-09-12 23:23:46 +00:00
|
|
|
clock-frequency = <0>; // From boot loader
|
2008-04-29 13:19:07 +00:00
|
|
|
interrupts = <2 8 0 2 9 0 2 10 0>;
|
2007-09-12 23:23:46 +00:00
|
|
|
bus-range = <0 0>;
|
2008-04-29 13:19:07 +00:00
|
|
|
ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
|
|
|
|
0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
|
|
|
|
0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
|
2007-09-12 23:23:46 +00:00
|
|
|
};
|
2009-04-16 21:11:54 +00:00
|
|
|
|
|
|
|
localbus {
|
|
|
|
ranges = <0 0 0xfe000000 0x02000000>;
|
|
|
|
|
|
|
|
flash@0,0 {
|
|
|
|
compatible = "cfi-flash";
|
|
|
|
reg = <0 0 0x02000000>;
|
|
|
|
bank-width = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "kernel";
|
|
|
|
reg = <0x00000000 0x00200000>;
|
|
|
|
};
|
|
|
|
partition@200000 {
|
|
|
|
label = "rootfs";
|
|
|
|
reg = <0x00200000 0x01d00000>;
|
|
|
|
};
|
|
|
|
partition@1f00000 {
|
|
|
|
label = "u-boot";
|
|
|
|
reg = <0x01f00000 0x00060000>;
|
|
|
|
};
|
|
|
|
partition@1f60000 {
|
|
|
|
label = "u-boot-env";
|
|
|
|
reg = <0x01f60000 0x00020000>;
|
|
|
|
};
|
|
|
|
partition@1f80000 {
|
|
|
|
label = "dtb";
|
|
|
|
reg = <0x01f80000 0x00080000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2006-11-27 21:16:29 +00:00
|
|
|
};
|