1dc37374bSHongtao Jia/* 2dc37374bSHongtao Jia * P1020 RDB-PD Device Tree Source (32-bit address map) 3dc37374bSHongtao Jia * 4dc37374bSHongtao Jia * Copyright 2013 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/include/ "p1020si-pre.dtsi" 36dc37374bSHongtao Jia/ { 37dc37374bSHongtao Jia model = "fsl,P1020RDB-PD"; 38dc37374bSHongtao Jia compatible = "fsl,P1020RDB-PD"; 39dc37374bSHongtao Jia 40dc37374bSHongtao Jia memory { 41dc37374bSHongtao Jia device_type = "memory"; 42dc37374bSHongtao Jia }; 43dc37374bSHongtao Jia 44dc37374bSHongtao Jia lbc: localbus@ffe05000 { 45dc37374bSHongtao Jia reg = <0x0 0xffe05000 0x0 0x1000>; 46dc37374bSHongtao Jia 47dc37374bSHongtao Jia /* NOR, NAND flash, L2 switch and CPLD */ 48dc37374bSHongtao Jia ranges = <0x0 0x0 0x0 0xec000000 0x04000000 49dc37374bSHongtao Jia 0x1 0x0 0x0 0xff800000 0x00040000 50dc37374bSHongtao Jia 0x2 0x0 0x0 0xffa00000 0x00020000 51dc37374bSHongtao Jia 0x3 0x0 0x0 0xffb00000 0x00020000>; 52dc37374bSHongtao Jia 53dc37374bSHongtao Jia nor@0,0 { 54dc37374bSHongtao Jia #address-cells = <1>; 55dc37374bSHongtao Jia #size-cells = <1>; 56dc37374bSHongtao Jia compatible = "cfi-flash"; 57dc37374bSHongtao Jia reg = <0x0 0x0 0x4000000>; 58dc37374bSHongtao Jia bank-width = <2>; 59dc37374bSHongtao Jia device-width = <1>; 60dc37374bSHongtao Jia 61dc37374bSHongtao Jia partition@0 { 62dc37374bSHongtao Jia /* 128KB for DTB Image */ 63dc37374bSHongtao Jia reg = <0x0 0x00020000>; 64dc37374bSHongtao Jia label = "NOR DTB Image"; 65dc37374bSHongtao Jia }; 66dc37374bSHongtao Jia 67dc37374bSHongtao Jia partition@20000 { 68dc37374bSHongtao Jia /* 3.875 MB for Linux Kernel Image */ 69dc37374bSHongtao Jia reg = <0x00020000 0x003e0000>; 70dc37374bSHongtao Jia label = "NOR Linux Kernel Image"; 71dc37374bSHongtao Jia }; 72dc37374bSHongtao Jia 73dc37374bSHongtao Jia partition@400000 { 74dc37374bSHongtao Jia /* 58MB for Root file System */ 75dc37374bSHongtao Jia reg = <0x00400000 0x03a00000>; 76dc37374bSHongtao Jia label = "NOR Root File System"; 77dc37374bSHongtao Jia }; 78dc37374bSHongtao Jia 79dc37374bSHongtao Jia partition@3e00000 { 80dc37374bSHongtao Jia /* This location must not be altered */ 81dc37374bSHongtao Jia /* 1M for Vitesse 7385 Switch firmware */ 82dc37374bSHongtao Jia reg = <0x3e00000 0x00100000>; 83dc37374bSHongtao Jia label = "NOR Vitesse-7385 Firmware"; 84dc37374bSHongtao Jia read-only; 85dc37374bSHongtao Jia }; 86dc37374bSHongtao Jia 87dc37374bSHongtao Jia partition@3f00000 { 88dc37374bSHongtao Jia /* This location must not be altered */ 89dc37374bSHongtao Jia /* 512KB for u-boot Bootloader Image */ 90dc37374bSHongtao Jia /* 512KB for u-boot Environment Variables */ 91dc37374bSHongtao Jia reg = <0x03f00000 0x00100000>; 92dc37374bSHongtao Jia label = "NOR U-Boot Image"; 93dc37374bSHongtao Jia read-only; 94dc37374bSHongtao Jia }; 95dc37374bSHongtao Jia }; 96dc37374bSHongtao Jia 97dc37374bSHongtao Jia nand@1,0 { 98dc37374bSHongtao Jia #address-cells = <1>; 99dc37374bSHongtao Jia #size-cells = <1>; 100dc37374bSHongtao Jia compatible = "fsl,p1020-fcm-nand", 101dc37374bSHongtao Jia "fsl,elbc-fcm-nand"; 102dc37374bSHongtao Jia reg = <0x1 0x0 0x40000>; 103dc37374bSHongtao Jia 104dc37374bSHongtao Jia partition@0 { 105dc37374bSHongtao Jia /* This location must not be altered */ 106dc37374bSHongtao Jia /* 1MB for u-boot Bootloader Image */ 107dc37374bSHongtao Jia reg = <0x0 0x00100000>; 108dc37374bSHongtao Jia label = "NAND U-Boot Image"; 109dc37374bSHongtao Jia read-only; 110dc37374bSHongtao Jia }; 111dc37374bSHongtao Jia 112dc37374bSHongtao Jia partition@100000 { 113dc37374bSHongtao Jia /* 1MB for DTB Image */ 114dc37374bSHongtao Jia reg = <0x00100000 0x00100000>; 115dc37374bSHongtao Jia label = "NAND DTB Image"; 116dc37374bSHongtao Jia }; 117dc37374bSHongtao Jia 118dc37374bSHongtao Jia partition@200000 { 119dc37374bSHongtao Jia /* 4MB for Linux Kernel Image */ 120dc37374bSHongtao Jia reg = <0x00200000 0x00400000>; 121dc37374bSHongtao Jia label = "NAND Linux Kernel Image"; 122dc37374bSHongtao Jia }; 123dc37374bSHongtao Jia 124dc37374bSHongtao Jia partition@600000 { 125dc37374bSHongtao Jia /* 122MB for File System Image */ 126dc37374bSHongtao Jia reg = <0x00600000 0x07a00000>; 127dc37374bSHongtao Jia label = "NAND File System Image"; 128dc37374bSHongtao Jia }; 129dc37374bSHongtao Jia }; 130dc37374bSHongtao Jia 131dc37374bSHongtao Jia cpld@2,0 { 132dc37374bSHongtao Jia compatible = "fsl,p1020rdb-pd-cpld"; 133dc37374bSHongtao Jia reg = <0x2 0x0 0x20000>; 134dc37374bSHongtao Jia }; 135dc37374bSHongtao Jia 136dc37374bSHongtao Jia L2switch@3,0 { 137dc37374bSHongtao Jia #address-cells = <1>; 138dc37374bSHongtao Jia #size-cells = <1>; 139dc37374bSHongtao Jia compatible = "vitesse-7385"; 140dc37374bSHongtao Jia reg = <0x3 0x0 0x20000>; 141dc37374bSHongtao Jia }; 142dc37374bSHongtao Jia }; 143dc37374bSHongtao Jia 144dc37374bSHongtao Jia soc: soc@ffe00000 { 145dc37374bSHongtao Jia ranges = <0x0 0x0 0xffe00000 0x100000>; 146dc37374bSHongtao Jia 147dc37374bSHongtao Jia i2c@3000 { 148dc37374bSHongtao Jia rtc@68 { 149dc37374bSHongtao Jia compatible = "dallas,ds1339"; 150dc37374bSHongtao Jia reg = <0x68>; 151dc37374bSHongtao Jia }; 152dc37374bSHongtao Jia }; 153dc37374bSHongtao Jia 154dc37374bSHongtao Jia spi@7000 { 155dc37374bSHongtao Jia flash@0 { 156dc37374bSHongtao Jia #address-cells = <1>; 157dc37374bSHongtao Jia #size-cells = <1>; 158fba4e9f9SHou Zhiqiang compatible = "spansion,s25sl12801", "jedec,spi-nor"; 159dc37374bSHongtao Jia reg = <0>; 160dc37374bSHongtao Jia /* input clock */ 161dc37374bSHongtao Jia spi-max-frequency = <40000000>; 162dc37374bSHongtao Jia 163dc37374bSHongtao Jia partition@0 { 164dc37374bSHongtao Jia /* 512KB for u-boot Bootloader Image */ 165dc37374bSHongtao Jia reg = <0x0 0x00080000>; 166dc37374bSHongtao Jia label = "SPI U-Boot Image"; 167dc37374bSHongtao Jia read-only; 168dc37374bSHongtao Jia }; 169dc37374bSHongtao Jia 170dc37374bSHongtao Jia partition@80000 { 171dc37374bSHongtao Jia /* 512KB for DTB Image*/ 172dc37374bSHongtao Jia reg = <0x00080000 0x00080000>; 173dc37374bSHongtao Jia label = "SPI DTB Image"; 174dc37374bSHongtao Jia }; 175dc37374bSHongtao Jia 176dc37374bSHongtao Jia partition@100000 { 177dc37374bSHongtao Jia /* 4MB for Linux Kernel Image */ 178dc37374bSHongtao Jia reg = <0x00100000 0x00400000>; 179dc37374bSHongtao Jia label = "SPI Linux Kernel Image"; 180dc37374bSHongtao Jia }; 181dc37374bSHongtao Jia 182dc37374bSHongtao Jia partition@500000 { 183dc37374bSHongtao Jia /* 11MB for FS System Image */ 184dc37374bSHongtao Jia reg = <0x00500000 0x00b00000>; 185dc37374bSHongtao Jia label = "SPI File System Image"; 186dc37374bSHongtao Jia }; 187dc37374bSHongtao Jia }; 188dc37374bSHongtao Jia 189dc37374bSHongtao Jia slic@0 { 190dc37374bSHongtao Jia compatible = "zarlink,le88266"; 191dc37374bSHongtao Jia reg = <1>; 192dc37374bSHongtao Jia spi-max-frequency = <8000000>; 193dc37374bSHongtao Jia }; 194dc37374bSHongtao Jia 195dc37374bSHongtao Jia slic@1 { 196dc37374bSHongtao Jia compatible = "zarlink,le88266"; 197dc37374bSHongtao Jia reg = <2>; 198dc37374bSHongtao Jia spi-max-frequency = <8000000>; 199dc37374bSHongtao Jia }; 200dc37374bSHongtao Jia }; 201dc37374bSHongtao Jia 202dc37374bSHongtao Jia mdio@24000 { 203dc37374bSHongtao Jia phy0: ethernet-phy@0 { 204dc37374bSHongtao Jia interrupts = <3 1 0 0>; 205dc37374bSHongtao Jia reg = <0x0>; 206dc37374bSHongtao Jia }; 207dc37374bSHongtao Jia 208dc37374bSHongtao Jia phy1: ethernet-phy@1 { 209dc37374bSHongtao Jia interrupts = <2 1 0 0>; 210dc37374bSHongtao Jia reg = <0x1>; 211dc37374bSHongtao Jia }; 212dc37374bSHongtao Jia }; 213dc37374bSHongtao Jia 214dc37374bSHongtao Jia mdio@25000 { 215dc37374bSHongtao Jia tbi1: tbi-phy@11 { 216dc37374bSHongtao Jia reg = <0x11>; 217dc37374bSHongtao Jia device_type = "tbi-phy"; 218dc37374bSHongtao Jia }; 219dc37374bSHongtao Jia }; 220dc37374bSHongtao Jia 221dc37374bSHongtao Jia mdio@26000 { 222dc37374bSHongtao Jia tbi2: tbi-phy@11 { 223dc37374bSHongtao Jia reg = <0x11>; 224dc37374bSHongtao Jia device_type = "tbi-phy"; 225dc37374bSHongtao Jia }; 226dc37374bSHongtao Jia }; 227dc37374bSHongtao Jia 228dc37374bSHongtao Jia ptp_clock@b0e00 { 229dc37374bSHongtao Jia compatible = "fsl,etsec-ptp"; 230dc37374bSHongtao Jia reg = <0xb0e00 0xb0>; 231dc37374bSHongtao Jia interrupts = <68 2 0 0 69 2 0 0>; 232dc37374bSHongtao Jia fsl,tclk-period = <10>; 233dc37374bSHongtao Jia fsl,tmr-prsc = <2>; 234dc37374bSHongtao Jia fsl,tmr-add = <0x80000016>; 235dc37374bSHongtao Jia fsl,tmr-fiper1 = <999999990>; 236dc37374bSHongtao Jia fsl,tmr-fiper2 = <99990>; 237dc37374bSHongtao Jia fsl,max-adj = <199999999>; 238dc37374bSHongtao Jia }; 239dc37374bSHongtao Jia 240dc37374bSHongtao Jia enet0: ethernet@b0000 { 241dc37374bSHongtao Jia fixed-link = <1 1 1000 0 0>; 242dc37374bSHongtao Jia phy-connection-type = "rgmii-id"; 243dc37374bSHongtao Jia }; 244dc37374bSHongtao Jia 245dc37374bSHongtao Jia enet1: ethernet@b1000 { 246dc37374bSHongtao Jia phy-handle = <&phy0>; 247dc37374bSHongtao Jia tbi-handle = <&tbi1>; 248dc37374bSHongtao Jia phy-connection-type = "sgmii"; 249dc37374bSHongtao Jia }; 250dc37374bSHongtao Jia 251dc37374bSHongtao Jia enet2: ethernet@b2000 { 252dc37374bSHongtao Jia phy-handle = <&phy1>; 253dc37374bSHongtao Jia phy-connection-type = "rgmii-id"; 254dc37374bSHongtao Jia }; 255dc37374bSHongtao Jia 256dc37374bSHongtao Jia usb@22000 { 257dc37374bSHongtao Jia phy_type = "ulpi"; 258dc37374bSHongtao Jia }; 259dc37374bSHongtao Jia }; 260dc37374bSHongtao Jia 261dc37374bSHongtao Jia pci0: pcie@ffe09000 { 262dc37374bSHongtao Jia reg = <0x0 0xffe09000 0x0 0x1000>; 263dc37374bSHongtao Jia ranges = <0x2000000 0x0 0xa0000000 0x0 0xa0000000 0x0 0x20000000 264dc37374bSHongtao Jia 0x1000000 0x0 0x00000000 0x0 0xffc10000 0x0 0x10000>; 265dc37374bSHongtao Jia pcie@0 { 266dc37374bSHongtao Jia ranges = <0x2000000 0x0 0xa0000000 267dc37374bSHongtao Jia 0x2000000 0x0 0xa0000000 268dc37374bSHongtao Jia 0x0 0x20000000 269dc37374bSHongtao Jia 270dc37374bSHongtao Jia 0x1000000 0x0 0x0 271dc37374bSHongtao Jia 0x1000000 0x0 0x0 272dc37374bSHongtao Jia 0x0 0x100000>; 273dc37374bSHongtao Jia }; 274dc37374bSHongtao Jia }; 275dc37374bSHongtao Jia 276dc37374bSHongtao Jia pci1: pcie@ffe0a000 { 277dc37374bSHongtao Jia reg = <0x0 0xffe0a000 0x0 0x1000>; 278dc37374bSHongtao Jia ranges = <0x2000000 0x0 0x80000000 0x0 0x80000000 0x0 0x20000000 279dc37374bSHongtao Jia 0x1000000 0x0 0x00000000 0x0 0xffc00000 0x0 0x10000>; 280dc37374bSHongtao Jia pcie@0 { 281dc37374bSHongtao Jia ranges = <0x2000000 0x0 0x80000000 282dc37374bSHongtao Jia 0x2000000 0x0 0x80000000 283dc37374bSHongtao Jia 0x0 0x20000000 284dc37374bSHongtao Jia 285dc37374bSHongtao Jia 0x1000000 0x0 0x0 286dc37374bSHongtao Jia 0x1000000 0x0 0x0 287dc37374bSHongtao Jia 0x0 0x100000>; 288dc37374bSHongtao Jia }; 289dc37374bSHongtao Jia }; 290dc37374bSHongtao Jia}; 291dc37374bSHongtao Jia 292dc37374bSHongtao Jia/include/ "p1020si-post.dtsi" 293