blob: 9e354997eb7e3ccc29ac70ee5e7a31c3ce319b01 [file] [log] [blame]
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +10001/*
2 * phyCORE-MPC5200B-tiny (pcm030) board Device Tree Source
3 *
4 * Copyright 2006 Pengutronix
5 * Sascha Hauer <s.hauer@pengutronix.de>
6 * Copyright 2007 Pengutronix
7 * Juergen Beisert <j.beisert@pengutronix.de>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
13 */
14
John Bonesioc8bf6b52010-11-17 15:28:56 -080015/include/ "mpc5200b.dtsi"
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100016
17/ {
18 model = "phytec,pcm030";
19 compatible = "phytec,pcm030";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100020
21 soc5200@f0000000 {
John Bonesioc8bf6b52010-11-17 15:28:56 -080022 timer@600 { // General Purpose Timer
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100023 fsl,has-wdt;
24 };
25
Grant Likelyb8842452009-02-03 12:30:26 -070026 gpt2: timer@620 { // General Purpose Timer in GPIO mode
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100027 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100028 gpio-controller;
29 #gpio-cells = <2>;
30 };
31
Grant Likelyb8842452009-02-03 12:30:26 -070032 gpt3: timer@630 { // General Purpose Timer in GPIO mode
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100033 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100034 gpio-controller;
35 #gpio-cells = <2>;
36 };
37
Grant Likelyb8842452009-02-03 12:30:26 -070038 gpt4: timer@640 { // General Purpose Timer in GPIO mode
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100039 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100040 gpio-controller;
41 #gpio-cells = <2>;
42 };
43
Grant Likelyb8842452009-02-03 12:30:26 -070044 gpt5: timer@650 { // General Purpose Timer in GPIO mode
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100045 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100046 gpio-controller;
47 #gpio-cells = <2>;
48 };
49
Grant Likelyb8842452009-02-03 12:30:26 -070050 gpt6: timer@660 { // General Purpose Timer in GPIO mode
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100051 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100052 gpio-controller;
53 #gpio-cells = <2>;
54 };
55
Grant Likelyb8842452009-02-03 12:30:26 -070056 gpt7: timer@670 { // General Purpose Timer in GPIO mode
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100057 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100058 gpio-controller;
59 #gpio-cells = <2>;
60 };
61
John Bonesioabf1e272010-11-17 15:28:30 -080062 psc@2000 { /* PSC1 in ac97 mode */
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100063 compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97";
64 cell-index = <0>;
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100065 };
66
67 /* PSC2 port is used by CAN1/2 */
John Bonesioc8bf6b52010-11-17 15:28:56 -080068 psc@2200 {
69 status = "disabled";
70 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100071
John Bonesioabf1e272010-11-17 15:28:30 -080072 psc@2400 { /* PSC3 in UART mode */
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100073 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100074 };
75
76 /* PSC4 is ??? */
John Bonesioc8bf6b52010-11-17 15:28:56 -080077 psc@2600 {
78 status = "disabled";
79 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100080
81 /* PSC5 is ??? */
John Bonesioc8bf6b52010-11-17 15:28:56 -080082 psc@2800 {
83 status = "disabled";
84 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100085
John Bonesioabf1e272010-11-17 15:28:30 -080086 psc@2c00 { /* PSC6 in UART mode */
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100087 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100088 };
89
90 ethernet@3000 {
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100091 phy-handle = <&phy0>;
92 };
93
94 mdio@3000 {
Grant Likelyb8842452009-02-03 12:30:26 -070095 phy0: ethernet-phy@0 {
96 reg = <0>;
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100097 };
98 };
99
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000100 i2c@3d40 {
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000101 rtc@51 {
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000102 compatible = "nxp,pcf8563";
103 reg = <0x51>;
104 };
Wolfram Sangc155ee12009-06-17 00:30:17 -0600105 eeprom@52 {
106 compatible = "catalyst,24c32";
107 reg = <0x52>;
Wolfram Sang55271022010-11-17 13:00:50 +0100108 pagesize = <32>;
Wolfram Sangc155ee12009-06-17 00:30:17 -0600109 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000110 };
111
112 sram@8000 {
Grant Likelyb8842452009-02-03 12:30:26 -0700113 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000114 reg = <0x8000 0x4000>;
115 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000116 };
117
118 pci@f0000d00 {
Grant Likelyb8842452009-02-03 12:30:26 -0700119 interrupt-map-mask = <0xf800 0 0 7>;
120 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
121 0xc000 0 0 2 &mpc5200_pic 1 1 3
122 0xc000 0 0 3 &mpc5200_pic 1 2 3
123 0xc000 0 0 4 &mpc5200_pic 1 3 3
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000124
Grant Likelyb8842452009-02-03 12:30:26 -0700125 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
126 0xc800 0 0 2 &mpc5200_pic 1 2 3
127 0xc800 0 0 3 &mpc5200_pic 1 3 3
128 0xc800 0 0 4 &mpc5200_pic 0 0 3>;
Grant Likelyb8842452009-02-03 12:30:26 -0700129 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
130 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
131 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000132 };
John Bonesioc8bf6b52010-11-17 15:28:56 -0800133
134 localbus {
135 status = "disabled";
136 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000137};