blob: 192e66af00019bd84746edce06b1ec5e22c870dd [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
Grant Likelyfa59f172013-02-08 08:02:51 +000017&gpt0 { fsl,has-wdt; };
18&gpt2 { gpio-controller; };
19&gpt3 { gpio-controller; };
20&gpt4 { gpio-controller; };
21&gpt5 { gpio-controller; };
22&gpt6 { gpio-controller; };
23&gpt7 { gpio-controller; };
24
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100025/ {
26 model = "phytec,pcm030";
27 compatible = "phytec,pcm030";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100028
29 soc5200@f0000000 {
Eric Millbrandtf4221a72012-09-24 12:16:47 +000030 audioplatform: psc@2000 { /* PSC1 in ac97 mode */
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100031 compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97";
32 cell-index = <0>;
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100033 };
34
35 /* PSC2 port is used by CAN1/2 */
John Bonesioc8bf6b52010-11-17 15:28:56 -080036 psc@2200 {
37 status = "disabled";
38 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100039
John Bonesioabf1e272010-11-17 15:28:30 -080040 psc@2400 { /* PSC3 in UART mode */
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100041 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100042 };
43
44 /* PSC4 is ??? */
John Bonesioc8bf6b52010-11-17 15:28:56 -080045 psc@2600 {
46 status = "disabled";
47 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100048
49 /* PSC5 is ??? */
John Bonesioc8bf6b52010-11-17 15:28:56 -080050 psc@2800 {
51 status = "disabled";
52 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100053
John Bonesioabf1e272010-11-17 15:28:30 -080054 psc@2c00 { /* PSC6 in UART mode */
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100055 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100056 };
57
58 ethernet@3000 {
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100059 phy-handle = <&phy0>;
60 };
61
62 mdio@3000 {
Grant Likelyb8842452009-02-03 12:30:26 -070063 phy0: ethernet-phy@0 {
64 reg = <0>;
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100065 };
66 };
67
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100068 i2c@3d40 {
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100069 rtc@51 {
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100070 compatible = "nxp,pcf8563";
71 reg = <0x51>;
72 };
Wolfram Sangc155ee12009-06-17 00:30:17 -060073 eeprom@52 {
74 compatible = "catalyst,24c32";
75 reg = <0x52>;
Wolfram Sang55271022010-11-17 13:00:50 +010076 pagesize = <32>;
Wolfram Sangc155ee12009-06-17 00:30:17 -060077 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100078 };
79
80 sram@8000 {
Grant Likelyb8842452009-02-03 12:30:26 -070081 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100082 reg = <0x8000 0x4000>;
83 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100084 };
85
86 pci@f0000d00 {
Grant Likelyb8842452009-02-03 12:30:26 -070087 interrupt-map-mask = <0xf800 0 0 7>;
88 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
89 0xc000 0 0 2 &mpc5200_pic 1 1 3
90 0xc000 0 0 3 &mpc5200_pic 1 2 3
91 0xc000 0 0 4 &mpc5200_pic 1 3 3
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +100092
Grant Likelyb8842452009-02-03 12:30:26 -070093 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
94 0xc800 0 0 2 &mpc5200_pic 1 2 3
95 0xc800 0 0 3 &mpc5200_pic 1 3 3
96 0xc800 0 0 4 &mpc5200_pic 0 0 3>;
Grant Likelyb8842452009-02-03 12:30:26 -070097 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
98 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
99 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000100 };
John Bonesioc8bf6b52010-11-17 15:28:56 -0800101
102 localbus {
103 status = "disabled";
104 };
Eric Millbrandtf4221a72012-09-24 12:16:47 +0000105
106 sound {
107 compatible = "phytec,pcm030-audio-fabric";
108 asoc-platform = <&audioplatform>;
109 };
s.hauer@pengutronix.de106757b2008-04-25 23:48:05 +1000110};