110b9dc6fSWolfram Sang/* 210b9dc6fSWolfram Sang * phyCORE-MPC5200B-IO (pcm032) board Device Tree Source 310b9dc6fSWolfram Sang * 410b9dc6fSWolfram Sang * Copyright (C) 2006-2009 Pengutronix 510b9dc6fSWolfram Sang * Sascha Hauer <s.hauer@pengutronix.de> 610b9dc6fSWolfram Sang * Juergen Beisert <j.beisert@pengutronix.de> 710b9dc6fSWolfram Sang * Wolfram Sang <w.sang@pengutronix.de> 810b9dc6fSWolfram Sang * 910b9dc6fSWolfram Sang * This program is free software; you can redistribute it and/or modify it 1010b9dc6fSWolfram Sang * under the terms of the GNU General Public License as published by the 1110b9dc6fSWolfram Sang * Free Software Foundation; either version 2 of the License, or (at your 1210b9dc6fSWolfram Sang * option) any later version. 1310b9dc6fSWolfram Sang */ 1410b9dc6fSWolfram Sang 15c8bf6b52SJohn Bonesio/include/ "mpc5200b.dtsi" 1610b9dc6fSWolfram Sang 17fa59f178SGrant Likely&gpt0 { fsl,has-wdt; }; 18fa59f178SGrant Likely&gpt2 { gpio-controller; }; 19fa59f178SGrant Likely&gpt3 { gpio-controller; }; 20fa59f178SGrant Likely&gpt4 { gpio-controller; }; 21fa59f178SGrant Likely&gpt5 { gpio-controller; }; 22fa59f178SGrant Likely&gpt6 { gpio-controller; }; 23fa59f178SGrant Likely&gpt7 { gpio-controller; }; 24fa59f178SGrant Likely 2510b9dc6fSWolfram Sang/ { 2610b9dc6fSWolfram Sang model = "phytec,pcm032"; 2710b9dc6fSWolfram Sang compatible = "phytec,pcm032"; 2810b9dc6fSWolfram Sang 2910b9dc6fSWolfram Sang memory { 3010b9dc6fSWolfram Sang reg = <0x00000000 0x08000000>; // 128MB 3110b9dc6fSWolfram Sang }; 3210b9dc6fSWolfram Sang 3310b9dc6fSWolfram Sang soc5200@f0000000 { 34abf1e27fSJohn Bonesio psc@2000 { /* PSC1 is ac97 */ 3510b9dc6fSWolfram Sang compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97"; 3610b9dc6fSWolfram Sang cell-index = <0>; 3710b9dc6fSWolfram Sang }; 3810b9dc6fSWolfram Sang 3910b9dc6fSWolfram Sang /* PSC2 port is used by CAN1/2 */ 40c8bf6b52SJohn Bonesio psc@2200 { 41c8bf6b52SJohn Bonesio status = "disabled"; 42c8bf6b52SJohn Bonesio }; 4310b9dc6fSWolfram Sang 44abf1e27fSJohn Bonesio psc@2400 { /* PSC3 in UART mode */ 4510b9dc6fSWolfram Sang compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 4610b9dc6fSWolfram Sang }; 4710b9dc6fSWolfram Sang 4810b9dc6fSWolfram Sang /* PSC4 is ??? */ 49c8bf6b52SJohn Bonesio psc@2600 { 50c8bf6b52SJohn Bonesio status = "disabled"; 51c8bf6b52SJohn Bonesio }; 5210b9dc6fSWolfram Sang 5310b9dc6fSWolfram Sang /* PSC5 is ??? */ 54c8bf6b52SJohn Bonesio psc@2800 { 55c8bf6b52SJohn Bonesio status = "disabled"; 56c8bf6b52SJohn Bonesio }; 5710b9dc6fSWolfram Sang 58abf1e27fSJohn Bonesio psc@2c00 { /* PSC6 in UART mode */ 5910b9dc6fSWolfram Sang compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 6010b9dc6fSWolfram Sang }; 6110b9dc6fSWolfram Sang 6210b9dc6fSWolfram Sang ethernet@3000 { 6310b9dc6fSWolfram Sang phy-handle = <&phy0>; 6410b9dc6fSWolfram Sang }; 6510b9dc6fSWolfram Sang 6610b9dc6fSWolfram Sang mdio@3000 { 6710b9dc6fSWolfram Sang phy0: ethernet-phy@0 { 6810b9dc6fSWolfram Sang reg = <0>; 6910b9dc6fSWolfram Sang }; 7010b9dc6fSWolfram Sang }; 7110b9dc6fSWolfram Sang 7210b9dc6fSWolfram Sang i2c@3d40 { 7310b9dc6fSWolfram Sang rtc@51 { 7410b9dc6fSWolfram Sang compatible = "nxp,pcf8563"; 7510b9dc6fSWolfram Sang reg = <0x51>; 7610b9dc6fSWolfram Sang }; 7710b9dc6fSWolfram Sang eeprom@52 { 78fd393188SJavier Martinez Canillas compatible = "catalyst,24c32", "atmel,24c32"; 7910b9dc6fSWolfram Sang reg = <0x52>; 8055271024SWolfram Sang pagesize = <32>; 8110b9dc6fSWolfram Sang }; 8210b9dc6fSWolfram Sang }; 8310b9dc6fSWolfram Sang }; 8410b9dc6fSWolfram Sang 8510b9dc6fSWolfram Sang pci@f0000d00 { 8610b9dc6fSWolfram Sang interrupt-map-mask = <0xf800 0 0 7>; 8710b9dc6fSWolfram Sang interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot 8810b9dc6fSWolfram Sang 0xc000 0 0 2 &mpc5200_pic 1 1 3 8910b9dc6fSWolfram Sang 0xc000 0 0 3 &mpc5200_pic 1 2 3 9010b9dc6fSWolfram Sang 0xc000 0 0 4 &mpc5200_pic 1 3 3 9110b9dc6fSWolfram Sang 9210b9dc6fSWolfram Sang 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot 9310b9dc6fSWolfram Sang 0xc800 0 0 2 &mpc5200_pic 1 2 3 9410b9dc6fSWolfram Sang 0xc800 0 0 3 &mpc5200_pic 1 3 3 9510b9dc6fSWolfram Sang 0xc800 0 0 4 &mpc5200_pic 0 0 3>; 9610b9dc6fSWolfram Sang ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 9710b9dc6fSWolfram Sang 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 9810b9dc6fSWolfram Sang 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; 9910b9dc6fSWolfram Sang }; 10010b9dc6fSWolfram Sang 10110b9dc6fSWolfram Sang localbus { 10210b9dc6fSWolfram Sang ranges = <0 0 0xfe000000 0x02000000 10310b9dc6fSWolfram Sang 1 0 0xfc000000 0x02000000 10410b9dc6fSWolfram Sang 2 0 0xfbe00000 0x00200000 10510b9dc6fSWolfram Sang 3 0 0xf9e00000 0x02000000 10610b9dc6fSWolfram Sang 4 0 0xf7e00000 0x02000000 10710b9dc6fSWolfram Sang 5 0 0xe6000000 0x02000000 10810b9dc6fSWolfram Sang 6 0 0xe8000000 0x02000000 10910b9dc6fSWolfram Sang 7 0 0xea000000 0x02000000>; 11010b9dc6fSWolfram Sang 11110b9dc6fSWolfram Sang flash@0,0 { 11210b9dc6fSWolfram Sang compatible = "cfi-flash"; 11310b9dc6fSWolfram Sang reg = <0 0 0x02000000>; 11410b9dc6fSWolfram Sang bank-width = <4>; 11510b9dc6fSWolfram Sang #size-cells = <1>; 11610b9dc6fSWolfram Sang #address-cells = <1>; 11710b9dc6fSWolfram Sang 11810b9dc6fSWolfram Sang partition@0 { 11910b9dc6fSWolfram Sang label = "ubootl"; 12010b9dc6fSWolfram Sang reg = <0x00000000 0x00040000>; 12110b9dc6fSWolfram Sang }; 12210b9dc6fSWolfram Sang partition@40000 { 12310b9dc6fSWolfram Sang label = "kernel"; 12410b9dc6fSWolfram Sang reg = <0x00040000 0x001c0000>; 12510b9dc6fSWolfram Sang }; 12610b9dc6fSWolfram Sang partition@200000 { 12710b9dc6fSWolfram Sang label = "jffs2"; 12810b9dc6fSWolfram Sang reg = <0x00200000 0x01d00000>; 12910b9dc6fSWolfram Sang }; 13010b9dc6fSWolfram Sang partition@1f00000 { 13110b9dc6fSWolfram Sang label = "uboot"; 13210b9dc6fSWolfram Sang reg = <0x01f00000 0x00040000>; 13310b9dc6fSWolfram Sang }; 13410b9dc6fSWolfram Sang partition@1f40000 { 13510b9dc6fSWolfram Sang label = "env"; 13610b9dc6fSWolfram Sang reg = <0x01f40000 0x00040000>; 13710b9dc6fSWolfram Sang }; 13810b9dc6fSWolfram Sang partition@1f80000 { 13910b9dc6fSWolfram Sang label = "oftree"; 14010b9dc6fSWolfram Sang reg = <0x01f80000 0x00040000>; 14110b9dc6fSWolfram Sang }; 14210b9dc6fSWolfram Sang partition@1fc0000 { 14310b9dc6fSWolfram Sang label = "space"; 14410b9dc6fSWolfram Sang reg = <0x01fc0000 0x00040000>; 14510b9dc6fSWolfram Sang }; 14610b9dc6fSWolfram Sang }; 14710b9dc6fSWolfram Sang 14810b9dc6fSWolfram Sang sram@2,0 { 14910b9dc6fSWolfram Sang compatible = "mtd-ram"; 15010b9dc6fSWolfram Sang reg = <2 0 0x00200000>; 15110b9dc6fSWolfram Sang bank-width = <2>; 15210b9dc6fSWolfram Sang }; 15310b9dc6fSWolfram Sang 15410b9dc6fSWolfram Sang /* 15510b9dc6fSWolfram Sang * example snippets for FPGA 15610b9dc6fSWolfram Sang * 15710b9dc6fSWolfram Sang * fpga@3,0 { 15810b9dc6fSWolfram Sang * compatible = "fpga_driver"; 15910b9dc6fSWolfram Sang * reg = <3 0 0x02000000>; 16010b9dc6fSWolfram Sang * bank-width = <4>; 16110b9dc6fSWolfram Sang * }; 16210b9dc6fSWolfram Sang * 16310b9dc6fSWolfram Sang * fpga@4,0 { 16410b9dc6fSWolfram Sang * compatible = "fpga_driver"; 16510b9dc6fSWolfram Sang * reg = <4 0 0x02000000>; 16610b9dc6fSWolfram Sang * bank-width = <4>; 16710b9dc6fSWolfram Sang * }; 16810b9dc6fSWolfram Sang */ 16910b9dc6fSWolfram Sang 17010b9dc6fSWolfram Sang /* 17110b9dc6fSWolfram Sang * example snippets for free chipselects 17210b9dc6fSWolfram Sang * 17310b9dc6fSWolfram Sang * device@5,0 { 17410b9dc6fSWolfram Sang * compatible = "custom_driver"; 17510b9dc6fSWolfram Sang * reg = <5 0 0x02000000>; 17610b9dc6fSWolfram Sang * }; 17710b9dc6fSWolfram Sang * 17810b9dc6fSWolfram Sang * device@6,0 { 17910b9dc6fSWolfram Sang * compatible = "custom_driver"; 18010b9dc6fSWolfram Sang * reg = <6 0 0x02000000>; 18110b9dc6fSWolfram Sang * }; 18210b9dc6fSWolfram Sang * 18310b9dc6fSWolfram Sang * device@7,0 { 18410b9dc6fSWolfram Sang * compatible = "custom_driver"; 18510b9dc6fSWolfram Sang * reg = <7 0 0x02000000>; 18610b9dc6fSWolfram Sang * }; 18710b9dc6fSWolfram Sang */ 18810b9dc6fSWolfram Sang }; 18910b9dc6fSWolfram Sang}; 190