12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later 2c6d4d657SGrant Likely/* 3c6d4d657SGrant Likely * Lite5200B board Device Tree Source 4c6d4d657SGrant Likely * 505cbbc69SGrant Likely * Copyright 2006-2007 Secret Lab Technologies Ltd. 6c6d4d657SGrant Likely * Grant Likely <grant.likely@secretlab.ca> 7c6d4d657SGrant Likely */ 8c6d4d657SGrant Likely 9c8bf6b52SJohn Bonesio/include/ "mpc5200b.dtsi" 10121361f7SGrant Likely 114fd0a213SGrant Likely&gpt0 { fsl,has-wdt; }; 124fd0a213SGrant Likely&gpt2 { gpio-controller; }; 134fd0a213SGrant Likely&gpt3 { gpio-controller; }; 144fd0a213SGrant Likely 15c6d4d657SGrant Likely/ { 1605cbbc69SGrant Likely model = "fsl,lite5200b"; 175b5820d0SMarian Balakowicz compatible = "fsl,lite5200b"; 18c6d4d657SGrant Likely 194fd0a213SGrant Likely leds { 204fd0a213SGrant Likely compatible = "gpio-leds"; 214fd0a213SGrant Likely tmr2 { 224fd0a213SGrant Likely gpios = <&gpt2 0 1>; 234fd0a213SGrant Likely }; 244fd0a213SGrant Likely tmr3 { 254fd0a213SGrant Likely gpios = <&gpt3 0 1>; 264fd0a213SGrant Likely linux,default-trigger = "heartbeat"; 274fd0a213SGrant Likely }; 284fd0a213SGrant Likely led1 { gpios = <&gpio_wkup 2 1>; }; 294fd0a213SGrant Likely led2 { gpios = <&gpio_simple 3 1>; }; 304fd0a213SGrant Likely led3 { gpios = <&gpio_wkup 3 1>; }; 314fd0a213SGrant Likely led4 { gpios = <&gpio_simple 2 1>; }; 324fd0a213SGrant Likely }; 334fd0a213SGrant Likely 34c6d4d657SGrant Likely memory { 35a2884f37SGrant Likely reg = <0x00000000 0x10000000>; // 256MB 36c6d4d657SGrant Likely }; 37c6d4d657SGrant Likely 38c6d4d657SGrant Likely soc5200@f0000000 { 39abf1e27fSJohn Bonesio psc@2000 { // PSC1 4024ce6bc4SGrant Likely compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 41c8bf6b52SJohn Bonesio cell-index = <0>; 42c8bf6b52SJohn Bonesio }; 43c8bf6b52SJohn Bonesio 44c8bf6b52SJohn Bonesio psc@2200 { // PSC2 45c8bf6b52SJohn Bonesio status = "disabled"; 46c8bf6b52SJohn Bonesio }; 47c8bf6b52SJohn Bonesio 48c8bf6b52SJohn Bonesio psc@2400 { // PSC3 49c8bf6b52SJohn Bonesio status = "disabled"; 50c8bf6b52SJohn Bonesio }; 51c8bf6b52SJohn Bonesio 52c8bf6b52SJohn Bonesio psc@2600 { // PSC4 53c8bf6b52SJohn Bonesio status = "disabled"; 54c8bf6b52SJohn Bonesio }; 55c8bf6b52SJohn Bonesio 56c8bf6b52SJohn Bonesio psc@2800 { // PSC5 57c8bf6b52SJohn Bonesio status = "disabled"; 58c8bf6b52SJohn Bonesio }; 59c8bf6b52SJohn Bonesio 60c8bf6b52SJohn Bonesio psc@2c00 { // PSC6 61c8bf6b52SJohn Bonesio status = "disabled"; 62c6d4d657SGrant Likely }; 63c6d4d657SGrant Likely 6405cbbc69SGrant Likely // PSC2 in ac97 mode example 6505cbbc69SGrant Likely //ac97@2200 { // PSC2 6624ce6bc4SGrant Likely // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97"; 6705cbbc69SGrant Likely // cell-index = <1>; 6805cbbc69SGrant Likely //}; 69c6d4d657SGrant Likely 70c6d4d657SGrant Likely // PSC3 in CODEC mode example 7105cbbc69SGrant Likely //i2s@2400 { // PSC3 7224ce6bc4SGrant Likely // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible 7305cbbc69SGrant Likely // cell-index = <2>; 74c6d4d657SGrant Likely //}; 75c6d4d657SGrant Likely 7605cbbc69SGrant Likely // PSC6 in spi mode example 7705cbbc69SGrant Likely //spi@2c00 { // PSC6 7824ce6bc4SGrant Likely // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; 7905cbbc69SGrant Likely // cell-index = <5>; 8005cbbc69SGrant Likely //}; 81c6d4d657SGrant Likely 82c6d4d657SGrant Likely ethernet@3000 { 83b147d93dSDomen Puncer phy-handle = <&phy0>; 84b147d93dSDomen Puncer }; 85b147d93dSDomen Puncer 86b147d93dSDomen Puncer mdio@3000 { 87b147d93dSDomen Puncer phy0: ethernet-phy@0 { 88b147d93dSDomen Puncer reg = <0>; 89b147d93dSDomen Puncer }; 90c6d4d657SGrant Likely }; 91c6d4d657SGrant Likely 92c6d4d657SGrant Likely i2c@3d40 { 93a2c9a603SDmitry Baryshkov eeprom@50 { 94a2c9a603SDmitry Baryshkov compatible = "atmel,24c02"; 95a2c9a603SDmitry Baryshkov reg = <0x50>; 96a2c9a603SDmitry Baryshkov }; 97c6d4d657SGrant Likely }; 98b8842451SGrant Likely 99c6d4d657SGrant Likely sram@8000 { 100b8842451SGrant Likely compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; 101a2884f37SGrant Likely reg = <0x8000 0x4000>; 102c6d4d657SGrant Likely }; 103c6d4d657SGrant Likely }; 1041b3c5cdaSKumar Gala 1051b3c5cdaSKumar Gala pci@f0000d00 { 106a2884f37SGrant Likely interrupt-map-mask = <0xf800 0 0 7>; 107a2884f37SGrant Likely interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot 108a2884f37SGrant Likely 0xc000 0 0 2 &mpc5200_pic 1 1 3 109a2884f37SGrant Likely 0xc000 0 0 3 &mpc5200_pic 1 2 3 110a2884f37SGrant Likely 0xc000 0 0 4 &mpc5200_pic 1 3 3 1111b3c5cdaSKumar Gala 112a2884f37SGrant Likely 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot 113a2884f37SGrant Likely 0xc800 0 0 2 &mpc5200_pic 1 2 3 114a2884f37SGrant Likely 0xc800 0 0 3 &mpc5200_pic 1 3 3 115a2884f37SGrant Likely 0xc800 0 0 4 &mpc5200_pic 0 0 3>; 1161b3c5cdaSKumar Gala clock-frequency = <0>; // From boot loader 117a2884f37SGrant Likely interrupts = <2 8 0 2 9 0 2 10 0>; 1181b3c5cdaSKumar Gala bus-range = <0 0>; 119*7855b6c6SAnatolij Gustschin ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>, 120*7855b6c6SAnatolij Gustschin <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>, 121*7855b6c6SAnatolij Gustschin <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; 1221b3c5cdaSKumar Gala }; 123bda9de2cSGrant Likely 124bda9de2cSGrant Likely localbus { 125bda9de2cSGrant Likely ranges = <0 0 0xfe000000 0x02000000>; 126bda9de2cSGrant Likely 127bda9de2cSGrant Likely flash@0,0 { 128bda9de2cSGrant Likely compatible = "cfi-flash"; 129bda9de2cSGrant Likely reg = <0 0 0x02000000>; 130bda9de2cSGrant Likely bank-width = <1>; 131bda9de2cSGrant Likely #size-cells = <1>; 132bda9de2cSGrant Likely #address-cells = <1>; 133bda9de2cSGrant Likely 134bda9de2cSGrant Likely partition@0 { 135bda9de2cSGrant Likely label = "kernel"; 136bda9de2cSGrant Likely reg = <0x00000000 0x00200000>; 137bda9de2cSGrant Likely }; 138bda9de2cSGrant Likely partition@200000 { 139bda9de2cSGrant Likely label = "rootfs"; 140bda9de2cSGrant Likely reg = <0x00200000 0x01d00000>; 141bda9de2cSGrant Likely }; 142bda9de2cSGrant Likely partition@1f00000 { 143bda9de2cSGrant Likely label = "u-boot"; 144bda9de2cSGrant Likely reg = <0x01f00000 0x00060000>; 145bda9de2cSGrant Likely }; 146bda9de2cSGrant Likely partition@1f60000 { 147bda9de2cSGrant Likely label = "u-boot-env"; 148bda9de2cSGrant Likely reg = <0x01f60000 0x00020000>; 149bda9de2cSGrant Likely }; 150bda9de2cSGrant Likely partition@1f80000 { 151bda9de2cSGrant Likely label = "dtb"; 152bda9de2cSGrant Likely reg = <0x01f80000 0x00080000>; 153bda9de2cSGrant Likely }; 154bda9de2cSGrant Likely }; 155bda9de2cSGrant Likely }; 156bda9de2cSGrant Likely 157c6d4d657SGrant Likely}; 158