blob: fb288bb882b6d7f4111c19b5f69b79c390382e05 [file] [log] [blame]
Grant Likelyc6d4d652006-11-27 14:16:29 -07001/*
2 * Lite5200B board Device Tree Source
3 *
Grant Likely05cbbc62007-02-12 13:36:54 -07004 * Copyright 2006-2007 Secret Lab Technologies Ltd.
Grant Likelyc6d4d652006-11-27 14:16:29 -07005 * Grant Likely <grant.likely@secretlab.ca>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
11 */
12
John Bonesioc8bf6b52010-11-17 15:28:56 -080013/include/ "mpc5200b.dtsi"
Grant Likely121361f2007-01-19 00:00:14 -070014
Grant Likelyc6d4d652006-11-27 14:16:29 -070015/ {
Grant Likely05cbbc62007-02-12 13:36:54 -070016 model = "fsl,lite5200b";
Marian Balakowicz5b5820d2007-11-15 22:40:21 +110017 compatible = "fsl,lite5200b";
Grant Likelyc6d4d652006-11-27 14:16:29 -070018
19 memory {
Grant Likelya2884f32008-04-29 07:19:07 -060020 reg = <0x00000000 0x10000000>; // 256MB
Grant Likelyc6d4d652006-11-27 14:16:29 -070021 };
22
23 soc5200@f0000000 {
Grant Likely24ce6bc2008-01-24 22:25:31 -070024 timer@600 { // General Purpose Timer
Marian Balakowiczd24bc312007-10-19 04:44:24 +100025 fsl,has-wdt;
Grant Likelyc6d4d652006-11-27 14:16:29 -070026 };
27
John Bonesioabf1e272010-11-17 15:28:30 -080028 psc@2000 { // PSC1
Grant Likely24ce6bc2008-01-24 22:25:31 -070029 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
John Bonesioc8bf6b52010-11-17 15:28:56 -080030 cell-index = <0>;
31 };
32
33 psc@2200 { // PSC2
34 status = "disabled";
35 };
36
37 psc@2400 { // PSC3
38 status = "disabled";
39 };
40
41 psc@2600 { // PSC4
42 status = "disabled";
43 };
44
45 psc@2800 { // PSC5
46 status = "disabled";
47 };
48
49 psc@2c00 { // PSC6
50 status = "disabled";
Grant Likelyc6d4d652006-11-27 14:16:29 -070051 };
52
Grant Likely05cbbc62007-02-12 13:36:54 -070053 // PSC2 in ac97 mode example
54 //ac97@2200 { // PSC2
Grant Likely24ce6bc2008-01-24 22:25:31 -070055 // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
Grant Likely05cbbc62007-02-12 13:36:54 -070056 // cell-index = <1>;
Grant Likely05cbbc62007-02-12 13:36:54 -070057 //};
Grant Likelyc6d4d652006-11-27 14:16:29 -070058
59 // PSC3 in CODEC mode example
Grant Likely05cbbc62007-02-12 13:36:54 -070060 //i2s@2400 { // PSC3
Grant Likely24ce6bc2008-01-24 22:25:31 -070061 // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible
Grant Likely05cbbc62007-02-12 13:36:54 -070062 // cell-index = <2>;
Grant Likelyc6d4d652006-11-27 14:16:29 -070063 //};
64
Grant Likely05cbbc62007-02-12 13:36:54 -070065 // PSC6 in spi mode example
66 //spi@2c00 { // PSC6
Grant Likely24ce6bc2008-01-24 22:25:31 -070067 // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
Grant Likely05cbbc62007-02-12 13:36:54 -070068 // cell-index = <5>;
Grant Likely05cbbc62007-02-12 13:36:54 -070069 //};
Grant Likelyc6d4d652006-11-27 14:16:29 -070070
71 ethernet@3000 {
Domen Puncerb147d932007-10-14 17:57:11 +100072 phy-handle = <&phy0>;
73 };
74
75 mdio@3000 {
Grant Likelya2884f32008-04-29 07:19:07 -060076 phy0: ethernet-phy@0 {
Domen Puncerb147d932007-10-14 17:57:11 +100077 reg = <0>;
78 };
Grant Likelyc6d4d652006-11-27 14:16:29 -070079 };
80
Grant Likelyc6d4d652006-11-27 14:16:29 -070081 i2c@3d40 {
Dmitry Baryshkova2c9a602010-06-11 01:52:34 +000082 eeprom@50 {
83 compatible = "atmel,24c02";
84 reg = <0x50>;
85 };
Grant Likelyc6d4d652006-11-27 14:16:29 -070086 };
Grant Likelyb8842452009-02-03 12:30:26 -070087
Grant Likelyc6d4d652006-11-27 14:16:29 -070088 sram@8000 {
Grant Likelyb8842452009-02-03 12:30:26 -070089 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
Grant Likelya2884f32008-04-29 07:19:07 -060090 reg = <0x8000 0x4000>;
Grant Likelyc6d4d652006-11-27 14:16:29 -070091 };
92 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -050093
94 pci@f0000d00 {
Grant Likelya2884f32008-04-29 07:19:07 -060095 interrupt-map-mask = <0xf800 0 0 7>;
96 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
97 0xc000 0 0 2 &mpc5200_pic 1 1 3
98 0xc000 0 0 3 &mpc5200_pic 1 2 3
99 0xc000 0 0 4 &mpc5200_pic 1 3 3
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500100
Grant Likelya2884f32008-04-29 07:19:07 -0600101 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
102 0xc800 0 0 2 &mpc5200_pic 1 2 3
103 0xc800 0 0 3 &mpc5200_pic 1 3 3
104 0xc800 0 0 4 &mpc5200_pic 0 0 3>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500105 clock-frequency = <0>; // From boot loader
Grant Likelya2884f32008-04-29 07:19:07 -0600106 interrupts = <2 8 0 2 9 0 2 10 0>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500107 bus-range = <0 0>;
Grant Likelya2884f32008-04-29 07:19:07 -0600108 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
109 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
110 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500111 };
Grant Likelybda9de22009-04-16 15:11:54 -0600112
113 localbus {
Grant Likelybda9de22009-04-16 15:11:54 -0600114 ranges = <0 0 0xfe000000 0x02000000>;
115
116 flash@0,0 {
117 compatible = "cfi-flash";
118 reg = <0 0 0x02000000>;
119 bank-width = <1>;
120 #size-cells = <1>;
121 #address-cells = <1>;
122
123 partition@0 {
124 label = "kernel";
125 reg = <0x00000000 0x00200000>;
126 };
127 partition@200000 {
128 label = "rootfs";
129 reg = <0x00200000 0x01d00000>;
130 };
131 partition@1f00000 {
132 label = "u-boot";
133 reg = <0x01f00000 0x00060000>;
134 };
135 partition@1f60000 {
136 label = "u-boot-env";
137 reg = <0x01f60000 0x00020000>;
138 };
139 partition@1f80000 {
140 label = "dtb";
141 reg = <0x01f80000 0x00080000>;
142 };
143 };
144 };
145
Grant Likelyc6d4d652006-11-27 14:16:29 -0700146};