1c6d4d657SGrant Likely/* 2c6d4d657SGrant Likely * Lite5200B board Device Tree Source 3c6d4d657SGrant Likely * 405cbbc69SGrant Likely * Copyright 2006-2007 Secret Lab Technologies Ltd. 5c6d4d657SGrant Likely * Grant Likely <grant.likely@secretlab.ca> 6c6d4d657SGrant Likely * 7c6d4d657SGrant Likely * This program is free software; you can redistribute it and/or modify it 8c6d4d657SGrant Likely * under the terms of the GNU General Public License as published by the 9c6d4d657SGrant Likely * Free Software Foundation; either version 2 of the License, or (at your 10c6d4d657SGrant Likely * option) any later version. 11c6d4d657SGrant Likely */ 12c6d4d657SGrant Likely 13c8bf6b52SJohn Bonesio/include/ "mpc5200b.dtsi" 14121361f7SGrant Likely 154fd0a213SGrant Likely&gpt0 { fsl,has-wdt; }; 164fd0a213SGrant Likely&gpt2 { gpio-controller; }; 174fd0a213SGrant Likely&gpt3 { gpio-controller; }; 184fd0a213SGrant Likely 19c6d4d657SGrant Likely/ { 2005cbbc69SGrant Likely model = "fsl,lite5200b"; 215b5820d0SMarian Balakowicz compatible = "fsl,lite5200b"; 22c6d4d657SGrant Likely 234fd0a213SGrant Likely leds { 244fd0a213SGrant Likely compatible = "gpio-leds"; 254fd0a213SGrant Likely tmr2 { 264fd0a213SGrant Likely gpios = <&gpt2 0 1>; 274fd0a213SGrant Likely }; 284fd0a213SGrant Likely tmr3 { 294fd0a213SGrant Likely gpios = <&gpt3 0 1>; 304fd0a213SGrant Likely linux,default-trigger = "heartbeat"; 314fd0a213SGrant Likely }; 324fd0a213SGrant Likely led1 { gpios = <&gpio_wkup 2 1>; }; 334fd0a213SGrant Likely led2 { gpios = <&gpio_simple 3 1>; }; 344fd0a213SGrant Likely led3 { gpios = <&gpio_wkup 3 1>; }; 354fd0a213SGrant Likely led4 { gpios = <&gpio_simple 2 1>; }; 364fd0a213SGrant Likely }; 374fd0a213SGrant Likely 38c6d4d657SGrant Likely memory { 39a2884f37SGrant Likely reg = <0x00000000 0x10000000>; // 256MB 40c6d4d657SGrant Likely }; 41c6d4d657SGrant Likely 42c6d4d657SGrant Likely soc5200@f0000000 { 43abf1e27fSJohn Bonesio psc@2000 { // PSC1 4424ce6bc4SGrant Likely compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 45c8bf6b52SJohn Bonesio cell-index = <0>; 46c8bf6b52SJohn Bonesio }; 47c8bf6b52SJohn Bonesio 48c8bf6b52SJohn Bonesio psc@2200 { // PSC2 49c8bf6b52SJohn Bonesio status = "disabled"; 50c8bf6b52SJohn Bonesio }; 51c8bf6b52SJohn Bonesio 52c8bf6b52SJohn Bonesio psc@2400 { // PSC3 53c8bf6b52SJohn Bonesio status = "disabled"; 54c8bf6b52SJohn Bonesio }; 55c8bf6b52SJohn Bonesio 56c8bf6b52SJohn Bonesio psc@2600 { // PSC4 57c8bf6b52SJohn Bonesio status = "disabled"; 58c8bf6b52SJohn Bonesio }; 59c8bf6b52SJohn Bonesio 60c8bf6b52SJohn Bonesio psc@2800 { // PSC5 61c8bf6b52SJohn Bonesio status = "disabled"; 62c8bf6b52SJohn Bonesio }; 63c8bf6b52SJohn Bonesio 64c8bf6b52SJohn Bonesio psc@2c00 { // PSC6 65c8bf6b52SJohn Bonesio status = "disabled"; 66c6d4d657SGrant Likely }; 67c6d4d657SGrant Likely 6805cbbc69SGrant Likely // PSC2 in ac97 mode example 6905cbbc69SGrant Likely //ac97@2200 { // PSC2 7024ce6bc4SGrant Likely // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97"; 7105cbbc69SGrant Likely // cell-index = <1>; 7205cbbc69SGrant Likely //}; 73c6d4d657SGrant Likely 74c6d4d657SGrant Likely // PSC3 in CODEC mode example 7505cbbc69SGrant Likely //i2s@2400 { // PSC3 7624ce6bc4SGrant Likely // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible 7705cbbc69SGrant Likely // cell-index = <2>; 78c6d4d657SGrant Likely //}; 79c6d4d657SGrant Likely 8005cbbc69SGrant Likely // PSC6 in spi mode example 8105cbbc69SGrant Likely //spi@2c00 { // PSC6 8224ce6bc4SGrant Likely // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; 8305cbbc69SGrant Likely // cell-index = <5>; 8405cbbc69SGrant Likely //}; 85c6d4d657SGrant Likely 86c6d4d657SGrant Likely ethernet@3000 { 87b147d93dSDomen Puncer phy-handle = <&phy0>; 88b147d93dSDomen Puncer }; 89b147d93dSDomen Puncer 90b147d93dSDomen Puncer mdio@3000 { 91b147d93dSDomen Puncer phy0: ethernet-phy@0 { 92b147d93dSDomen Puncer reg = <0>; 93b147d93dSDomen Puncer }; 94c6d4d657SGrant Likely }; 95c6d4d657SGrant Likely 96c6d4d657SGrant Likely i2c@3d40 { 97a2c9a603SDmitry Baryshkov eeprom@50 { 98a2c9a603SDmitry Baryshkov compatible = "atmel,24c02"; 99a2c9a603SDmitry Baryshkov reg = <0x50>; 100a2c9a603SDmitry Baryshkov }; 101c6d4d657SGrant Likely }; 102b8842451SGrant Likely 103c6d4d657SGrant Likely sram@8000 { 104b8842451SGrant Likely compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; 105a2884f37SGrant Likely reg = <0x8000 0x4000>; 106c6d4d657SGrant Likely }; 107c6d4d657SGrant Likely }; 1081b3c5cdaSKumar Gala 1091b3c5cdaSKumar Gala pci@f0000d00 { 110a2884f37SGrant Likely interrupt-map-mask = <0xf800 0 0 7>; 111a2884f37SGrant Likely interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot 112a2884f37SGrant Likely 0xc000 0 0 2 &mpc5200_pic 1 1 3 113a2884f37SGrant Likely 0xc000 0 0 3 &mpc5200_pic 1 2 3 114a2884f37SGrant Likely 0xc000 0 0 4 &mpc5200_pic 1 3 3 1151b3c5cdaSKumar Gala 116a2884f37SGrant Likely 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot 117a2884f37SGrant Likely 0xc800 0 0 2 &mpc5200_pic 1 2 3 118a2884f37SGrant Likely 0xc800 0 0 3 &mpc5200_pic 1 3 3 119a2884f37SGrant Likely 0xc800 0 0 4 &mpc5200_pic 0 0 3>; 1201b3c5cdaSKumar Gala clock-frequency = <0>; // From boot loader 121a2884f37SGrant Likely interrupts = <2 8 0 2 9 0 2 10 0>; 1221b3c5cdaSKumar Gala bus-range = <0 0>; 123a2884f37SGrant Likely ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 124a2884f37SGrant Likely 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 125a2884f37SGrant Likely 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; 1261b3c5cdaSKumar Gala }; 127bda9de2cSGrant Likely 128bda9de2cSGrant Likely localbus { 129bda9de2cSGrant Likely ranges = <0 0 0xfe000000 0x02000000>; 130bda9de2cSGrant Likely 131bda9de2cSGrant Likely flash@0,0 { 132bda9de2cSGrant Likely compatible = "cfi-flash"; 133bda9de2cSGrant Likely reg = <0 0 0x02000000>; 134bda9de2cSGrant Likely bank-width = <1>; 135bda9de2cSGrant Likely #size-cells = <1>; 136bda9de2cSGrant Likely #address-cells = <1>; 137bda9de2cSGrant Likely 138bda9de2cSGrant Likely partition@0 { 139bda9de2cSGrant Likely label = "kernel"; 140bda9de2cSGrant Likely reg = <0x00000000 0x00200000>; 141bda9de2cSGrant Likely }; 142bda9de2cSGrant Likely partition@200000 { 143bda9de2cSGrant Likely label = "rootfs"; 144bda9de2cSGrant Likely reg = <0x00200000 0x01d00000>; 145bda9de2cSGrant Likely }; 146bda9de2cSGrant Likely partition@1f00000 { 147bda9de2cSGrant Likely label = "u-boot"; 148bda9de2cSGrant Likely reg = <0x01f00000 0x00060000>; 149bda9de2cSGrant Likely }; 150bda9de2cSGrant Likely partition@1f60000 { 151bda9de2cSGrant Likely label = "u-boot-env"; 152bda9de2cSGrant Likely reg = <0x01f60000 0x00020000>; 153bda9de2cSGrant Likely }; 154bda9de2cSGrant Likely partition@1f80000 { 155bda9de2cSGrant Likely label = "dtb"; 156bda9de2cSGrant Likely reg = <0x01f80000 0x00080000>; 157bda9de2cSGrant Likely }; 158bda9de2cSGrant Likely }; 159bda9de2cSGrant Likely }; 160bda9de2cSGrant Likely 161c6d4d657SGrant Likely}; 162