12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later 210b9dc6fSWolfram Sang/* 310b9dc6fSWolfram Sang * phyCORE-MPC5200B-IO (pcm032) board Device Tree Source 410b9dc6fSWolfram Sang * 510b9dc6fSWolfram Sang * Copyright (C) 2006-2009 Pengutronix 6ad0f522dSWolfram Sang * Sascha Hauer, Juergen Beisert, Wolfram Sang <kernel@pengutronix.de> 710b9dc6fSWolfram Sang */ 810b9dc6fSWolfram Sang 9c8bf6b52SJohn Bonesio/include/ "mpc5200b.dtsi" 1010b9dc6fSWolfram Sang 11fa59f178SGrant Likely&gpt0 { fsl,has-wdt; }; 12fa59f178SGrant Likely&gpt2 { gpio-controller; }; 13fa59f178SGrant Likely&gpt3 { gpio-controller; }; 14fa59f178SGrant Likely&gpt4 { gpio-controller; }; 15fa59f178SGrant Likely&gpt5 { gpio-controller; }; 16fa59f178SGrant Likely&gpt6 { gpio-controller; }; 17fa59f178SGrant Likely&gpt7 { gpio-controller; }; 18fa59f178SGrant Likely 1910b9dc6fSWolfram Sang/ { 2010b9dc6fSWolfram Sang model = "phytec,pcm032"; 2110b9dc6fSWolfram Sang compatible = "phytec,pcm032"; 2210b9dc6fSWolfram Sang 2310b9dc6fSWolfram Sang memory { 2410b9dc6fSWolfram Sang reg = <0x00000000 0x08000000>; // 128MB 2510b9dc6fSWolfram Sang }; 2610b9dc6fSWolfram Sang 2710b9dc6fSWolfram Sang soc5200@f0000000 { 28abf1e27fSJohn Bonesio psc@2000 { /* PSC1 is ac97 */ 2910b9dc6fSWolfram Sang compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97"; 3010b9dc6fSWolfram Sang cell-index = <0>; 3110b9dc6fSWolfram Sang }; 3210b9dc6fSWolfram Sang 3310b9dc6fSWolfram Sang /* PSC2 port is used by CAN1/2 */ 34c8bf6b52SJohn Bonesio psc@2200 { 35c8bf6b52SJohn Bonesio status = "disabled"; 36c8bf6b52SJohn Bonesio }; 3710b9dc6fSWolfram Sang 38abf1e27fSJohn Bonesio psc@2400 { /* PSC3 in UART mode */ 3910b9dc6fSWolfram Sang compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 4010b9dc6fSWolfram Sang }; 4110b9dc6fSWolfram Sang 4210b9dc6fSWolfram Sang /* PSC4 is ??? */ 43c8bf6b52SJohn Bonesio psc@2600 { 44c8bf6b52SJohn Bonesio status = "disabled"; 45c8bf6b52SJohn Bonesio }; 4610b9dc6fSWolfram Sang 4710b9dc6fSWolfram Sang /* PSC5 is ??? */ 48c8bf6b52SJohn Bonesio psc@2800 { 49c8bf6b52SJohn Bonesio status = "disabled"; 50c8bf6b52SJohn Bonesio }; 5110b9dc6fSWolfram Sang 52abf1e27fSJohn Bonesio psc@2c00 { /* PSC6 in UART mode */ 5310b9dc6fSWolfram Sang compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 5410b9dc6fSWolfram Sang }; 5510b9dc6fSWolfram Sang 5610b9dc6fSWolfram Sang ethernet@3000 { 5710b9dc6fSWolfram Sang phy-handle = <&phy0>; 5810b9dc6fSWolfram Sang }; 5910b9dc6fSWolfram Sang 6010b9dc6fSWolfram Sang mdio@3000 { 6110b9dc6fSWolfram Sang phy0: ethernet-phy@0 { 6210b9dc6fSWolfram Sang reg = <0>; 6310b9dc6fSWolfram Sang }; 6410b9dc6fSWolfram Sang }; 6510b9dc6fSWolfram Sang 6610b9dc6fSWolfram Sang i2c@3d40 { 6710b9dc6fSWolfram Sang rtc@51 { 6810b9dc6fSWolfram Sang compatible = "nxp,pcf8563"; 6910b9dc6fSWolfram Sang reg = <0x51>; 7010b9dc6fSWolfram Sang }; 7110b9dc6fSWolfram Sang eeprom@52 { 72fd393188SJavier Martinez Canillas compatible = "catalyst,24c32", "atmel,24c32"; 7310b9dc6fSWolfram Sang reg = <0x52>; 7455271024SWolfram Sang pagesize = <32>; 7510b9dc6fSWolfram Sang }; 7610b9dc6fSWolfram Sang }; 7710b9dc6fSWolfram Sang }; 7810b9dc6fSWolfram Sang 7910b9dc6fSWolfram Sang pci@f0000d00 { 8010b9dc6fSWolfram Sang interrupt-map-mask = <0xf800 0 0 7>; 8110b9dc6fSWolfram Sang interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot 8210b9dc6fSWolfram Sang 0xc000 0 0 2 &mpc5200_pic 1 1 3 8310b9dc6fSWolfram Sang 0xc000 0 0 3 &mpc5200_pic 1 2 3 8410b9dc6fSWolfram Sang 0xc000 0 0 4 &mpc5200_pic 1 3 3 8510b9dc6fSWolfram Sang 8610b9dc6fSWolfram Sang 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot 8710b9dc6fSWolfram Sang 0xc800 0 0 2 &mpc5200_pic 1 2 3 8810b9dc6fSWolfram Sang 0xc800 0 0 3 &mpc5200_pic 1 3 3 8910b9dc6fSWolfram Sang 0xc800 0 0 4 &mpc5200_pic 0 0 3>; 90*7855b6c6SAnatolij Gustschin ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>, 91*7855b6c6SAnatolij Gustschin <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>, 92*7855b6c6SAnatolij Gustschin <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; 9310b9dc6fSWolfram Sang }; 9410b9dc6fSWolfram Sang 9510b9dc6fSWolfram Sang localbus { 9610b9dc6fSWolfram Sang ranges = <0 0 0xfe000000 0x02000000 9710b9dc6fSWolfram Sang 1 0 0xfc000000 0x02000000 9810b9dc6fSWolfram Sang 2 0 0xfbe00000 0x00200000 9910b9dc6fSWolfram Sang 3 0 0xf9e00000 0x02000000 10010b9dc6fSWolfram Sang 4 0 0xf7e00000 0x02000000 10110b9dc6fSWolfram Sang 5 0 0xe6000000 0x02000000 10210b9dc6fSWolfram Sang 6 0 0xe8000000 0x02000000 10310b9dc6fSWolfram Sang 7 0 0xea000000 0x02000000>; 10410b9dc6fSWolfram Sang 10510b9dc6fSWolfram Sang flash@0,0 { 10610b9dc6fSWolfram Sang compatible = "cfi-flash"; 10710b9dc6fSWolfram Sang reg = <0 0 0x02000000>; 10810b9dc6fSWolfram Sang bank-width = <4>; 10910b9dc6fSWolfram Sang #size-cells = <1>; 11010b9dc6fSWolfram Sang #address-cells = <1>; 11110b9dc6fSWolfram Sang 11210b9dc6fSWolfram Sang partition@0 { 11310b9dc6fSWolfram Sang label = "ubootl"; 11410b9dc6fSWolfram Sang reg = <0x00000000 0x00040000>; 11510b9dc6fSWolfram Sang }; 11610b9dc6fSWolfram Sang partition@40000 { 11710b9dc6fSWolfram Sang label = "kernel"; 11810b9dc6fSWolfram Sang reg = <0x00040000 0x001c0000>; 11910b9dc6fSWolfram Sang }; 12010b9dc6fSWolfram Sang partition@200000 { 12110b9dc6fSWolfram Sang label = "jffs2"; 12210b9dc6fSWolfram Sang reg = <0x00200000 0x01d00000>; 12310b9dc6fSWolfram Sang }; 12410b9dc6fSWolfram Sang partition@1f00000 { 12510b9dc6fSWolfram Sang label = "uboot"; 12610b9dc6fSWolfram Sang reg = <0x01f00000 0x00040000>; 12710b9dc6fSWolfram Sang }; 12810b9dc6fSWolfram Sang partition@1f40000 { 12910b9dc6fSWolfram Sang label = "env"; 13010b9dc6fSWolfram Sang reg = <0x01f40000 0x00040000>; 13110b9dc6fSWolfram Sang }; 13210b9dc6fSWolfram Sang partition@1f80000 { 13310b9dc6fSWolfram Sang label = "oftree"; 13410b9dc6fSWolfram Sang reg = <0x01f80000 0x00040000>; 13510b9dc6fSWolfram Sang }; 13610b9dc6fSWolfram Sang partition@1fc0000 { 13710b9dc6fSWolfram Sang label = "space"; 13810b9dc6fSWolfram Sang reg = <0x01fc0000 0x00040000>; 13910b9dc6fSWolfram Sang }; 14010b9dc6fSWolfram Sang }; 14110b9dc6fSWolfram Sang 14210b9dc6fSWolfram Sang sram@2,0 { 14310b9dc6fSWolfram Sang compatible = "mtd-ram"; 14410b9dc6fSWolfram Sang reg = <2 0 0x00200000>; 14510b9dc6fSWolfram Sang bank-width = <2>; 14610b9dc6fSWolfram Sang }; 14710b9dc6fSWolfram Sang 14810b9dc6fSWolfram Sang /* 14910b9dc6fSWolfram Sang * example snippets for FPGA 15010b9dc6fSWolfram Sang * 15110b9dc6fSWolfram Sang * fpga@3,0 { 15210b9dc6fSWolfram Sang * compatible = "fpga_driver"; 15310b9dc6fSWolfram Sang * reg = <3 0 0x02000000>; 15410b9dc6fSWolfram Sang * bank-width = <4>; 15510b9dc6fSWolfram Sang * }; 15610b9dc6fSWolfram Sang * 15710b9dc6fSWolfram Sang * fpga@4,0 { 15810b9dc6fSWolfram Sang * compatible = "fpga_driver"; 15910b9dc6fSWolfram Sang * reg = <4 0 0x02000000>; 16010b9dc6fSWolfram Sang * bank-width = <4>; 16110b9dc6fSWolfram Sang * }; 16210b9dc6fSWolfram Sang */ 16310b9dc6fSWolfram Sang 16410b9dc6fSWolfram Sang /* 16510b9dc6fSWolfram Sang * example snippets for free chipselects 16610b9dc6fSWolfram Sang * 16710b9dc6fSWolfram Sang * device@5,0 { 16810b9dc6fSWolfram Sang * compatible = "custom_driver"; 16910b9dc6fSWolfram Sang * reg = <5 0 0x02000000>; 17010b9dc6fSWolfram Sang * }; 17110b9dc6fSWolfram Sang * 17210b9dc6fSWolfram Sang * device@6,0 { 17310b9dc6fSWolfram Sang * compatible = "custom_driver"; 17410b9dc6fSWolfram Sang * reg = <6 0 0x02000000>; 17510b9dc6fSWolfram Sang * }; 17610b9dc6fSWolfram Sang * 17710b9dc6fSWolfram Sang * device@7,0 { 17810b9dc6fSWolfram Sang * compatible = "custom_driver"; 17910b9dc6fSWolfram Sang * reg = <7 0 0x02000000>; 18010b9dc6fSWolfram Sang * }; 18110b9dc6fSWolfram Sang */ 18210b9dc6fSWolfram Sang }; 18310b9dc6fSWolfram Sang}; 184