1dc37374bSHongtao Jia/* 2dc37374bSHongtao Jia * MPC8536DS Device Tree Source stub (no addresses or top-level ranges) 3dc37374bSHongtao Jia * 4dc37374bSHongtao Jia * Copyright 2011 Freescale Semiconductor Inc. 5dc37374bSHongtao Jia * 6dc37374bSHongtao Jia * Redistribution and use in source and binary forms, with or without 7dc37374bSHongtao Jia * modification, are permitted provided that the following conditions are met: 8dc37374bSHongtao Jia * * Redistributions of source code must retain the above copyright 9dc37374bSHongtao Jia * notice, this list of conditions and the following disclaimer. 10dc37374bSHongtao Jia * * Redistributions in binary form must reproduce the above copyright 11dc37374bSHongtao Jia * notice, this list of conditions and the following disclaimer in the 12dc37374bSHongtao Jia * documentation and/or other materials provided with the distribution. 13dc37374bSHongtao Jia * * Neither the name of Freescale Semiconductor nor the 14dc37374bSHongtao Jia * names of its contributors may be used to endorse or promote products 15dc37374bSHongtao Jia * derived from this software without specific prior written permission. 16dc37374bSHongtao Jia * 17dc37374bSHongtao Jia * 18dc37374bSHongtao Jia * ALTERNATIVELY, this software may be distributed under the terms of the 19dc37374bSHongtao Jia * GNU General Public License ("GPL") as published by the Free Software 20dc37374bSHongtao Jia * Foundation, either version 2 of that License or (at your option) any 21dc37374bSHongtao Jia * later version. 22dc37374bSHongtao Jia * 23dc37374bSHongtao Jia * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 24dc37374bSHongtao Jia * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25dc37374bSHongtao Jia * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26dc37374bSHongtao Jia * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27dc37374bSHongtao Jia * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28dc37374bSHongtao Jia * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29dc37374bSHongtao Jia * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30dc37374bSHongtao Jia * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31dc37374bSHongtao Jia * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32dc37374bSHongtao Jia * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33dc37374bSHongtao Jia */ 34dc37374bSHongtao Jia 35dc37374bSHongtao Jia&lbc { 36dc37374bSHongtao Jia nor@0,0 { 37dc37374bSHongtao Jia #address-cells = <1>; 38dc37374bSHongtao Jia #size-cells = <1>; 39dc37374bSHongtao Jia compatible = "cfi-flash"; 40dc37374bSHongtao Jia reg = <0x0 0x0 0x8000000>; 41dc37374bSHongtao Jia bank-width = <2>; 42dc37374bSHongtao Jia device-width = <1>; 43dc37374bSHongtao Jia 44dc37374bSHongtao Jia partition@0 { 45dc37374bSHongtao Jia reg = <0x0 0x03000000>; 46dc37374bSHongtao Jia label = "ramdisk-nor"; 47dc37374bSHongtao Jia }; 48dc37374bSHongtao Jia 49dc37374bSHongtao Jia partition@3000000 { 50dc37374bSHongtao Jia reg = <0x03000000 0x00e00000>; 51dc37374bSHongtao Jia label = "diagnostic-nor"; 52dc37374bSHongtao Jia read-only; 53dc37374bSHongtao Jia }; 54dc37374bSHongtao Jia 55dc37374bSHongtao Jia partition@3e00000 { 56dc37374bSHongtao Jia reg = <0x03e00000 0x00200000>; 57dc37374bSHongtao Jia label = "dink-nor"; 58dc37374bSHongtao Jia read-only; 59dc37374bSHongtao Jia }; 60dc37374bSHongtao Jia 61dc37374bSHongtao Jia partition@4000000 { 62dc37374bSHongtao Jia reg = <0x04000000 0x00400000>; 63dc37374bSHongtao Jia label = "kernel-nor"; 64dc37374bSHongtao Jia }; 65dc37374bSHongtao Jia 66dc37374bSHongtao Jia partition@4400000 { 67dc37374bSHongtao Jia reg = <0x04400000 0x03b00000>; 68dc37374bSHongtao Jia label = "fs-nor"; 69dc37374bSHongtao Jia }; 70dc37374bSHongtao Jia 71dc37374bSHongtao Jia partition@7f00000 { 72dc37374bSHongtao Jia reg = <0x07f00000 0x00080000>; 73dc37374bSHongtao Jia label = "dtb-nor"; 74dc37374bSHongtao Jia }; 75dc37374bSHongtao Jia 76dc37374bSHongtao Jia partition@7f80000 { 77dc37374bSHongtao Jia reg = <0x07f80000 0x00080000>; 78dc37374bSHongtao Jia label = "u-boot-nor"; 79dc37374bSHongtao Jia read-only; 80dc37374bSHongtao Jia }; 81dc37374bSHongtao Jia }; 82dc37374bSHongtao Jia 83dc37374bSHongtao Jia nand@2,0 { 84dc37374bSHongtao Jia #address-cells = <1>; 85dc37374bSHongtao Jia #size-cells = <1>; 86dc37374bSHongtao Jia compatible = "fsl,mpc8536-fcm-nand", 87dc37374bSHongtao Jia "fsl,elbc-fcm-nand"; 88dc37374bSHongtao Jia reg = <0x2 0x0 0x40000>; 89dc37374bSHongtao Jia 90dc37374bSHongtao Jia partition@0 { 91dc37374bSHongtao Jia reg = <0x0 0x02000000>; 92dc37374bSHongtao Jia label = "u-boot-nand"; 93dc37374bSHongtao Jia read-only; 94dc37374bSHongtao Jia }; 95dc37374bSHongtao Jia 96dc37374bSHongtao Jia partition@2000000 { 97dc37374bSHongtao Jia reg = <0x02000000 0x10000000>; 98dc37374bSHongtao Jia label = "fs-nand"; 99dc37374bSHongtao Jia }; 100dc37374bSHongtao Jia 101dc37374bSHongtao Jia partition@12000000 { 102dc37374bSHongtao Jia reg = <0x12000000 0x08000000>; 103dc37374bSHongtao Jia label = "ramdisk-nand"; 104dc37374bSHongtao Jia }; 105dc37374bSHongtao Jia 106dc37374bSHongtao Jia partition@1a000000 { 107dc37374bSHongtao Jia reg = <0x1a000000 0x04000000>; 108dc37374bSHongtao Jia label = "kernel-nand"; 109dc37374bSHongtao Jia }; 110dc37374bSHongtao Jia 111dc37374bSHongtao Jia partition@1e000000 { 112dc37374bSHongtao Jia reg = <0x1e000000 0x01000000>; 113dc37374bSHongtao Jia label = "dtb-nand"; 114dc37374bSHongtao Jia }; 115dc37374bSHongtao Jia 116dc37374bSHongtao Jia partition@1f000000 { 117dc37374bSHongtao Jia reg = <0x1f000000 0x21000000>; 118dc37374bSHongtao Jia label = "empty-nand"; 119dc37374bSHongtao Jia }; 120dc37374bSHongtao Jia }; 121dc37374bSHongtao Jia 122dc37374bSHongtao Jia board-control@3,0 { 123dc37374bSHongtao Jia compatible = "fsl,mpc8536ds-fpga-pixis"; 124dc37374bSHongtao Jia reg = <0x3 0x0 0x8000>; 125dc37374bSHongtao Jia }; 126dc37374bSHongtao Jia}; 127dc37374bSHongtao Jia 128dc37374bSHongtao Jia&board_soc { 129dc37374bSHongtao Jia i2c@3100 { 130dc37374bSHongtao Jia rtc@68 { 131dc37374bSHongtao Jia compatible = "dallas,ds3232"; 132dc37374bSHongtao Jia reg = <0x68>; 133dc37374bSHongtao Jia interrupts = <0 0x1 0 0>; 134dc37374bSHongtao Jia }; 135dc37374bSHongtao Jia adt7461@4c { 136dc37374bSHongtao Jia compatible = "adi,adt7461"; 137dc37374bSHongtao Jia reg = <0x4c>; 138dc37374bSHongtao Jia }; 139dc37374bSHongtao Jia }; 140dc37374bSHongtao Jia 141dc37374bSHongtao Jia spi@7000 { 142dc37374bSHongtao Jia flash@0 { 143dc37374bSHongtao Jia #address-cells = <1>; 144dc37374bSHongtao Jia #size-cells = <1>; 145dc37374bSHongtao Jia compatible = "spansion,s25sl12801"; 146dc37374bSHongtao Jia reg = <0>; 147dc37374bSHongtao Jia spi-max-frequency = <40000000>; 148dc37374bSHongtao Jia partition@u-boot { 149dc37374bSHongtao Jia label = "u-boot"; 150dc37374bSHongtao Jia reg = <0x00000000 0x00100000>; 151dc37374bSHongtao Jia read-only; 152dc37374bSHongtao Jia }; 153dc37374bSHongtao Jia partition@kernel { 154dc37374bSHongtao Jia label = "kernel"; 155dc37374bSHongtao Jia reg = <0x00100000 0x00500000>; 156dc37374bSHongtao Jia read-only; 157dc37374bSHongtao Jia }; 158dc37374bSHongtao Jia partition@dtb { 159dc37374bSHongtao Jia label = "dtb"; 160dc37374bSHongtao Jia reg = <0x00600000 0x00100000>; 161dc37374bSHongtao Jia read-only; 162dc37374bSHongtao Jia }; 163dc37374bSHongtao Jia partition@fs { 164dc37374bSHongtao Jia label = "file system"; 165dc37374bSHongtao Jia reg = <0x00700000 0x00900000>; 166dc37374bSHongtao Jia }; 167dc37374bSHongtao Jia }; 168dc37374bSHongtao Jia flash@1 { 169dc37374bSHongtao Jia compatible = "spansion,s25sl12801"; 170dc37374bSHongtao Jia reg = <1>; 171dc37374bSHongtao Jia spi-max-frequency = <40000000>; 172dc37374bSHongtao Jia }; 173dc37374bSHongtao Jia flash@2 { 174dc37374bSHongtao Jia compatible = "spansion,s25sl12801"; 175dc37374bSHongtao Jia reg = <2>; 176dc37374bSHongtao Jia spi-max-frequency = <40000000>; 177dc37374bSHongtao Jia }; 178dc37374bSHongtao Jia flash@3 { 179dc37374bSHongtao Jia compatible = "spansion,s25sl12801"; 180dc37374bSHongtao Jia reg = <3>; 181dc37374bSHongtao Jia spi-max-frequency = <40000000>; 182dc37374bSHongtao Jia }; 183dc37374bSHongtao Jia }; 184dc37374bSHongtao Jia 185dc37374bSHongtao Jia usb@22000 { 186dc37374bSHongtao Jia phy_type = "ulpi"; 187dc37374bSHongtao Jia }; 188dc37374bSHongtao Jia 189dc37374bSHongtao Jia usb@23000 { 190dc37374bSHongtao Jia phy_type = "ulpi"; 191dc37374bSHongtao Jia }; 192dc37374bSHongtao Jia 193dc37374bSHongtao Jia enet0: ethernet@24000 { 194dc37374bSHongtao Jia tbi-handle = <&tbi0>; 195dc37374bSHongtao Jia phy-handle = <&phy1>; 196dc37374bSHongtao Jia phy-connection-type = "rgmii-id"; 197dc37374bSHongtao Jia }; 198dc37374bSHongtao Jia 199dc37374bSHongtao Jia mdio@24520 { 200dc37374bSHongtao Jia phy0: ethernet-phy@0 { 201dc37374bSHongtao Jia interrupts = <10 0x1 0 0>; 202dc37374bSHongtao Jia reg = <0>; 203dc37374bSHongtao Jia }; 204dc37374bSHongtao Jia phy1: ethernet-phy@1 { 205dc37374bSHongtao Jia interrupts = <10 0x1 0 0>; 206dc37374bSHongtao Jia reg = <1>; 207dc37374bSHongtao Jia }; 208dc37374bSHongtao Jia sgmii_phy0: sgmii-phy@0 { 209dc37374bSHongtao Jia interrupts = <6 1 0 0>; 210dc37374bSHongtao Jia reg = <0x1d>; 211dc37374bSHongtao Jia }; 212dc37374bSHongtao Jia sgmii_phy1: sgmii-phy@1 { 213dc37374bSHongtao Jia interrupts = <6 1 0 0>; 214dc37374bSHongtao Jia reg = <0x1c>; 215dc37374bSHongtao Jia }; 216dc37374bSHongtao Jia tbi0: tbi-phy@11 { 217dc37374bSHongtao Jia reg = <0x11>; 218dc37374bSHongtao Jia device_type = "tbi-phy"; 219dc37374bSHongtao Jia }; 220dc37374bSHongtao Jia }; 221dc37374bSHongtao Jia 222dc37374bSHongtao Jia enet2: ethernet@26000 { 223dc37374bSHongtao Jia tbi-handle = <&tbi1>; 224dc37374bSHongtao Jia phy-handle = <&phy0>; 225dc37374bSHongtao Jia phy-connection-type = "rgmii-id"; 226dc37374bSHongtao Jia }; 227dc37374bSHongtao Jia 228dc37374bSHongtao Jia mdio@26520 { 229dc37374bSHongtao Jia #address-cells = <1>; 230dc37374bSHongtao Jia #size-cells = <0>; 231dc37374bSHongtao Jia compatible = "fsl,gianfar-tbi"; 232dc37374bSHongtao Jia reg = <0x26520 0x20>; 233dc37374bSHongtao Jia 234dc37374bSHongtao Jia tbi1: tbi-phy@11 { 235dc37374bSHongtao Jia reg = <0x11>; 236dc37374bSHongtao Jia device_type = "tbi-phy"; 237dc37374bSHongtao Jia }; 238dc37374bSHongtao Jia }; 239dc37374bSHongtao Jia 240dc37374bSHongtao Jia usb@2b000 { 241dc37374bSHongtao Jia dr_mode = "peripheral"; 242dc37374bSHongtao Jia phy_type = "ulpi"; 243dc37374bSHongtao Jia }; 244dc37374bSHongtao Jia}; 245