Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * phyCORE-MPC5200B-tiny (pcm030) board Device Tree Source
0004  *
0005  * Copyright 2006 Pengutronix
0006  * Sascha Hauer <s.hauer@pengutronix.de>
0007  * Copyright 2007 Pengutronix
0008  * Juergen Beisert <j.beisert@pengutronix.de>
0009  */
0010 
0011 /include/ "mpc5200b.dtsi"
0012 
0013 &gpt0 { fsl,has-wdt; };
0014 &gpt2 { gpio-controller; };
0015 &gpt3 { gpio-controller; };
0016 &gpt4 { gpio-controller; };
0017 &gpt5 { gpio-controller; };
0018 &gpt6 { gpio-controller; };
0019 &gpt7 { gpio-controller; };
0020 
0021 / {
0022         model = "phytec,pcm030";
0023         compatible = "phytec,pcm030";
0024 
0025         soc5200@f0000000 {
0026                 audioplatform: psc@2000 { /* PSC1 in ac97 mode */
0027                         compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97";
0028                         cell-index = <0>;
0029                 };
0030 
0031                 /* PSC2 port is used by CAN1/2 */
0032                 psc@2200 {
0033                         status = "disabled";
0034                 };
0035 
0036                 psc@2400 { /* PSC3 in UART mode */
0037                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
0038                 };
0039 
0040                 /* PSC4 is ??? */
0041                 psc@2600 {
0042                         status = "disabled";
0043                 };
0044 
0045                 /* PSC5 is ??? */
0046                 psc@2800 {
0047                         status = "disabled";
0048                 };
0049 
0050                 psc@2c00 { /* PSC6 in UART mode */
0051                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
0052                 };
0053 
0054                 ethernet@3000 {
0055                         phy-handle = <&phy0>;
0056                 };
0057 
0058                 mdio@3000 {
0059                         phy0: ethernet-phy@0 {
0060                                 reg = <0>;
0061                         };
0062                 };
0063 
0064                 i2c@3d40 {
0065                         rtc@51 {
0066                                 compatible = "nxp,pcf8563";
0067                                 reg = <0x51>;
0068                         };
0069                         eeprom@52 {
0070                                 compatible = "catalyst,24c32", "atmel,24c32";
0071                                 reg = <0x52>;
0072                                 pagesize = <32>;
0073                         };
0074                 };
0075 
0076                 sram@8000 {
0077                         compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
0078                         reg = <0x8000 0x4000>;
0079                 };
0080         };
0081 
0082         pci@f0000d00 {
0083                 interrupt-map-mask = <0xf800 0 0 7>;
0084                 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
0085                                  0xc000 0 0 2 &mpc5200_pic 1 1 3
0086                                  0xc000 0 0 3 &mpc5200_pic 1 2 3
0087                                  0xc000 0 0 4 &mpc5200_pic 1 3 3
0088 
0089                                  0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
0090                                  0xc800 0 0 2 &mpc5200_pic 1 2 3
0091                                  0xc800 0 0 3 &mpc5200_pic 1 3 3
0092                                  0xc800 0 0 4 &mpc5200_pic 0 0 3>;
0093                 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>,
0094                          <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>,
0095                          <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
0096         };
0097 
0098         localbus {
0099                 status = "disabled";
0100         };
0101 
0102         sound {
0103                 compatible = "phytec,pcm030-audio-fabric";
0104                 asoc-platform = <&audioplatform>;
0105         };
0106 };