1dc37374bSHongtao Jia/* 2dc37374bSHongtao Jia * P2041RDB Device Tree Source 3dc37374bSHongtao Jia * 484e0f1c1SIgal Liberman * Copyright 2011 - 2015 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/ "p2041si-pre.dtsi" 36dc37374bSHongtao Jia 37dc37374bSHongtao Jia/ { 38dc37374bSHongtao Jia model = "fsl,P2041RDB"; 39dc37374bSHongtao Jia compatible = "fsl,P2041RDB"; 40dc37374bSHongtao Jia #address-cells = <2>; 41dc37374bSHongtao Jia #size-cells = <2>; 42dc37374bSHongtao Jia interrupt-parent = <&mpic>; 43dc37374bSHongtao Jia 4484e0f1c1SIgal Liberman aliases { 4584e0f1c1SIgal Liberman phy_rgmii_0 = &phy_rgmii_0; 4684e0f1c1SIgal Liberman phy_rgmii_1 = &phy_rgmii_1; 4784e0f1c1SIgal Liberman phy_sgmii_2 = &phy_sgmii_2; 4884e0f1c1SIgal Liberman phy_sgmii_3 = &phy_sgmii_3; 4984e0f1c1SIgal Liberman phy_sgmii_4 = &phy_sgmii_4; 5084e0f1c1SIgal Liberman phy_sgmii_1c = &phy_sgmii_1c; 5184e0f1c1SIgal Liberman phy_sgmii_1d = &phy_sgmii_1d; 5284e0f1c1SIgal Liberman phy_sgmii_1e = &phy_sgmii_1e; 5384e0f1c1SIgal Liberman phy_sgmii_1f = &phy_sgmii_1f; 5484e0f1c1SIgal Liberman phy_xgmii_2 = &phy_xgmii_2; 5584e0f1c1SIgal Liberman }; 5684e0f1c1SIgal Liberman 57dc37374bSHongtao Jia memory { 58dc37374bSHongtao Jia device_type = "memory"; 59dc37374bSHongtao Jia }; 60dc37374bSHongtao Jia 61dc37374bSHongtao Jia reserved-memory { 62dc37374bSHongtao Jia #address-cells = <2>; 63dc37374bSHongtao Jia #size-cells = <2>; 64dc37374bSHongtao Jia ranges; 65dc37374bSHongtao Jia 66dc37374bSHongtao Jia bman_fbpr: bman-fbpr { 67dc37374bSHongtao Jia size = <0 0x1000000>; 68dc37374bSHongtao Jia alignment = <0 0x1000000>; 69dc37374bSHongtao Jia }; 70dc37374bSHongtao Jia qman_fqd: qman-fqd { 71dc37374bSHongtao Jia size = <0 0x400000>; 72dc37374bSHongtao Jia alignment = <0 0x400000>; 73dc37374bSHongtao Jia }; 74dc37374bSHongtao Jia qman_pfdr: qman-pfdr { 75dc37374bSHongtao Jia size = <0 0x2000000>; 76dc37374bSHongtao Jia alignment = <0 0x2000000>; 77dc37374bSHongtao Jia }; 78dc37374bSHongtao Jia }; 79dc37374bSHongtao Jia 80dc37374bSHongtao Jia dcsr: dcsr@f00000000 { 81dc37374bSHongtao Jia ranges = <0x00000000 0xf 0x00000000 0x01008000>; 82dc37374bSHongtao Jia }; 83dc37374bSHongtao Jia 84dc37374bSHongtao Jia bportals: bman-portals@ff4000000 { 85dc37374bSHongtao Jia ranges = <0x0 0xf 0xf4000000 0x200000>; 86dc37374bSHongtao Jia }; 87dc37374bSHongtao Jia 88dc37374bSHongtao Jia qportals: qman-portals@ff4200000 { 89dc37374bSHongtao Jia ranges = <0x0 0xf 0xf4200000 0x200000>; 90dc37374bSHongtao Jia }; 91dc37374bSHongtao Jia 92dc37374bSHongtao Jia soc: soc@ffe000000 { 93dc37374bSHongtao Jia ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 94dc37374bSHongtao Jia reg = <0xf 0xfe000000 0 0x00001000>; 95dc37374bSHongtao Jia spi@110000 { 96dc37374bSHongtao Jia flash@0 { 97dc37374bSHongtao Jia #address-cells = <1>; 98dc37374bSHongtao Jia #size-cells = <1>; 99fba4e9f9SHou Zhiqiang compatible = "spansion,s25sl12801", "jedec,spi-nor"; 100dc37374bSHongtao Jia reg = <0>; 101dc37374bSHongtao Jia spi-max-frequency = <40000000>; /* input clock */ 102dc37374bSHongtao Jia partition@u-boot { 103dc37374bSHongtao Jia label = "u-boot"; 104dc37374bSHongtao Jia reg = <0x00000000 0x00100000>; 105dc37374bSHongtao Jia read-only; 106dc37374bSHongtao Jia }; 107dc37374bSHongtao Jia partition@kernel { 108dc37374bSHongtao Jia label = "kernel"; 109dc37374bSHongtao Jia reg = <0x00100000 0x00500000>; 110dc37374bSHongtao Jia read-only; 111dc37374bSHongtao Jia }; 112dc37374bSHongtao Jia partition@dtb { 113dc37374bSHongtao Jia label = "dtb"; 114dc37374bSHongtao Jia reg = <0x00600000 0x00100000>; 115dc37374bSHongtao Jia read-only; 116dc37374bSHongtao Jia }; 117dc37374bSHongtao Jia partition@fs { 118dc37374bSHongtao Jia label = "file system"; 119dc37374bSHongtao Jia reg = <0x00700000 0x00900000>; 120dc37374bSHongtao Jia }; 121dc37374bSHongtao Jia }; 122dc37374bSHongtao Jia }; 123dc37374bSHongtao Jia 124dc37374bSHongtao Jia i2c@118000 { 125dc37374bSHongtao Jia lm75b@48 { 126dc37374bSHongtao Jia compatible = "nxp,lm75a"; 127dc37374bSHongtao Jia reg = <0x48>; 128dc37374bSHongtao Jia }; 129dc37374bSHongtao Jia eeprom@50 { 130dc37374bSHongtao Jia compatible = "at24,24c256"; 131dc37374bSHongtao Jia reg = <0x50>; 132dc37374bSHongtao Jia }; 133dc37374bSHongtao Jia rtc@68 { 134dc37374bSHongtao Jia compatible = "pericom,pt7c4338"; 135dc37374bSHongtao Jia reg = <0x68>; 136dc37374bSHongtao Jia }; 137dc37374bSHongtao Jia adt7461@4c { 138dc37374bSHongtao Jia compatible = "adi,adt7461"; 139dc37374bSHongtao Jia reg = <0x4c>; 140dc37374bSHongtao Jia }; 141dc37374bSHongtao Jia }; 142dc37374bSHongtao Jia 143dc37374bSHongtao Jia i2c@118100 { 144dc37374bSHongtao Jia eeprom@50 { 145dc37374bSHongtao Jia compatible = "at24,24c256"; 146dc37374bSHongtao Jia reg = <0x50>; 147dc37374bSHongtao Jia }; 148dc37374bSHongtao Jia }; 149dc37374bSHongtao Jia 150dc37374bSHongtao Jia usb1: usb@211000 { 151dc37374bSHongtao Jia dr_mode = "host"; 152dc37374bSHongtao Jia }; 15384e0f1c1SIgal Liberman 15484e0f1c1SIgal Liberman fman@400000 { 15584e0f1c1SIgal Liberman ethernet@e0000 { 15684e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_2>; 15784e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 15884e0f1c1SIgal Liberman }; 15984e0f1c1SIgal Liberman 16084e0f1c1SIgal Liberman mdio@e1120 { 16184e0f1c1SIgal Liberman phy_rgmii_0: ethernet-phy@0 { 16284e0f1c1SIgal Liberman reg = <0x0>; 16384e0f1c1SIgal Liberman }; 16484e0f1c1SIgal Liberman 16584e0f1c1SIgal Liberman phy_rgmii_1: ethernet-phy@1 { 16684e0f1c1SIgal Liberman reg = <0x1>; 16784e0f1c1SIgal Liberman }; 16884e0f1c1SIgal Liberman 16984e0f1c1SIgal Liberman phy_sgmii_2: ethernet-phy@2 { 17084e0f1c1SIgal Liberman reg = <0x2>; 17184e0f1c1SIgal Liberman }; 17284e0f1c1SIgal Liberman 17384e0f1c1SIgal Liberman phy_sgmii_3: ethernet-phy@3 { 17484e0f1c1SIgal Liberman reg = <0x3>; 17584e0f1c1SIgal Liberman }; 17684e0f1c1SIgal Liberman 17784e0f1c1SIgal Liberman phy_sgmii_4: ethernet-phy@4 { 17884e0f1c1SIgal Liberman reg = <0x4>; 17984e0f1c1SIgal Liberman }; 18084e0f1c1SIgal Liberman 18184e0f1c1SIgal Liberman phy_sgmii_1c: ethernet-phy@1c { 18284e0f1c1SIgal Liberman reg = <0x1c>; 18384e0f1c1SIgal Liberman }; 18484e0f1c1SIgal Liberman 18584e0f1c1SIgal Liberman phy_sgmii_1d: ethernet-phy@1d { 18684e0f1c1SIgal Liberman reg = <0x1d>; 18784e0f1c1SIgal Liberman }; 18884e0f1c1SIgal Liberman 18984e0f1c1SIgal Liberman phy_sgmii_1e: ethernet-phy@1e { 19084e0f1c1SIgal Liberman reg = <0x1e>; 19184e0f1c1SIgal Liberman }; 19284e0f1c1SIgal Liberman 19384e0f1c1SIgal Liberman phy_sgmii_1f: ethernet-phy@1f { 19484e0f1c1SIgal Liberman reg = <0x1f>; 19584e0f1c1SIgal Liberman }; 19684e0f1c1SIgal Liberman }; 19784e0f1c1SIgal Liberman 19884e0f1c1SIgal Liberman ethernet@e2000 { 19984e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_3>; 20084e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 20184e0f1c1SIgal Liberman }; 20284e0f1c1SIgal Liberman 20384e0f1c1SIgal Liberman ethernet@e4000 { 20484e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_4>; 20584e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 20684e0f1c1SIgal Liberman }; 20784e0f1c1SIgal Liberman 20884e0f1c1SIgal Liberman ethernet@e6000 { 20984e0f1c1SIgal Liberman phy-handle = <&phy_rgmii_1>; 21084e0f1c1SIgal Liberman phy-connection-type = "rgmii"; 21184e0f1c1SIgal Liberman }; 21284e0f1c1SIgal Liberman 21384e0f1c1SIgal Liberman ethernet@e8000 { 21484e0f1c1SIgal Liberman phy-handle = <&phy_rgmii_0>; 21584e0f1c1SIgal Liberman phy-connection-type = "rgmii"; 21684e0f1c1SIgal Liberman }; 21784e0f1c1SIgal Liberman 21884e0f1c1SIgal Liberman ethernet@f0000 { 21984e0f1c1SIgal Liberman phy-handle = <&phy_xgmii_2>; 22084e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 22184e0f1c1SIgal Liberman }; 22284e0f1c1SIgal Liberman 22384e0f1c1SIgal Liberman mdio@f1000 { 22484e0f1c1SIgal Liberman phy_xgmii_2: ethernet-phy@0 { 22584e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 22684e0f1c1SIgal Liberman reg = <0x0>; 22784e0f1c1SIgal Liberman }; 22884e0f1c1SIgal Liberman }; 22984e0f1c1SIgal Liberman }; 230dc37374bSHongtao Jia }; 231dc37374bSHongtao Jia 232dc37374bSHongtao Jia rio: rapidio@ffe0c0000 { 233dc37374bSHongtao Jia reg = <0xf 0xfe0c0000 0 0x11000>; 234dc37374bSHongtao Jia 235dc37374bSHongtao Jia port1 { 236dc37374bSHongtao Jia ranges = <0 0 0xc 0x20000000 0 0x10000000>; 237dc37374bSHongtao Jia }; 238dc37374bSHongtao Jia port2 { 239dc37374bSHongtao Jia ranges = <0 0 0xc 0x30000000 0 0x10000000>; 240dc37374bSHongtao Jia }; 241dc37374bSHongtao Jia }; 242dc37374bSHongtao Jia 243dc37374bSHongtao Jia lbc: localbus@ffe124000 { 244dc37374bSHongtao Jia reg = <0xf 0xfe124000 0 0x1000>; 245dc37374bSHongtao Jia ranges = <0 0 0xf 0xe8000000 0x08000000 246dc37374bSHongtao Jia 1 0 0xf 0xffa00000 0x00040000>; 247dc37374bSHongtao Jia 248dc37374bSHongtao Jia flash@0,0 { 249dc37374bSHongtao Jia compatible = "cfi-flash"; 250dc37374bSHongtao Jia reg = <0 0 0x08000000>; 251dc37374bSHongtao Jia bank-width = <2>; 252dc37374bSHongtao Jia device-width = <2>; 253dc37374bSHongtao Jia }; 254dc37374bSHongtao Jia 255dc37374bSHongtao Jia nand@1,0 { 256dc37374bSHongtao Jia #address-cells = <1>; 257dc37374bSHongtao Jia #size-cells = <1>; 258dc37374bSHongtao Jia compatible = "fsl,elbc-fcm-nand"; 259dc37374bSHongtao Jia reg = <0x1 0x0 0x40000>; 260dc37374bSHongtao Jia 261dc37374bSHongtao Jia partition@0 { 262dc37374bSHongtao Jia label = "NAND U-Boot Image"; 263dc37374bSHongtao Jia reg = <0x0 0x02000000>; 264dc37374bSHongtao Jia read-only; 265dc37374bSHongtao Jia }; 266dc37374bSHongtao Jia 267dc37374bSHongtao Jia partition@2000000 { 268dc37374bSHongtao Jia label = "NAND Root File System"; 269dc37374bSHongtao Jia reg = <0x02000000 0x10000000>; 270dc37374bSHongtao Jia }; 271dc37374bSHongtao Jia 272dc37374bSHongtao Jia partition@12000000 { 273dc37374bSHongtao Jia label = "NAND Compressed RFS Image"; 274dc37374bSHongtao Jia reg = <0x12000000 0x08000000>; 275dc37374bSHongtao Jia }; 276dc37374bSHongtao Jia 277dc37374bSHongtao Jia partition@1a000000 { 278dc37374bSHongtao Jia label = "NAND Linux Kernel Image"; 279dc37374bSHongtao Jia reg = <0x1a000000 0x04000000>; 280dc37374bSHongtao Jia }; 281dc37374bSHongtao Jia 282dc37374bSHongtao Jia partition@1e000000 { 283dc37374bSHongtao Jia label = "NAND DTB Image"; 284dc37374bSHongtao Jia reg = <0x1e000000 0x01000000>; 285dc37374bSHongtao Jia }; 286dc37374bSHongtao Jia 287dc37374bSHongtao Jia partition@1f000000 { 288dc37374bSHongtao Jia label = "NAND Writable User area"; 289dc37374bSHongtao Jia reg = <0x1f000000 0x01000000>; 290dc37374bSHongtao Jia }; 291dc37374bSHongtao Jia }; 292dc37374bSHongtao Jia }; 293dc37374bSHongtao Jia 294dc37374bSHongtao Jia pci0: pcie@ffe200000 { 295dc37374bSHongtao Jia reg = <0xf 0xfe200000 0 0x1000>; 296dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 297dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 298dc37374bSHongtao Jia pcie@0 { 299dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 300dc37374bSHongtao Jia 0x02000000 0 0xe0000000 301dc37374bSHongtao Jia 0 0x20000000 302dc37374bSHongtao Jia 303dc37374bSHongtao Jia 0x01000000 0 0x00000000 304dc37374bSHongtao Jia 0x01000000 0 0x00000000 305dc37374bSHongtao Jia 0 0x00010000>; 306dc37374bSHongtao Jia }; 307dc37374bSHongtao Jia }; 308dc37374bSHongtao Jia 309dc37374bSHongtao Jia pci1: pcie@ffe201000 { 310dc37374bSHongtao Jia reg = <0xf 0xfe201000 0 0x1000>; 311dc37374bSHongtao Jia ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 312dc37374bSHongtao Jia 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 313dc37374bSHongtao Jia pcie@0 { 314dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 315dc37374bSHongtao Jia 0x02000000 0 0xe0000000 316dc37374bSHongtao Jia 0 0x20000000 317dc37374bSHongtao Jia 318dc37374bSHongtao Jia 0x01000000 0 0x00000000 319dc37374bSHongtao Jia 0x01000000 0 0x00000000 320dc37374bSHongtao Jia 0 0x00010000>; 321dc37374bSHongtao Jia }; 322dc37374bSHongtao Jia }; 323dc37374bSHongtao Jia 324dc37374bSHongtao Jia pci2: pcie@ffe202000 { 325dc37374bSHongtao Jia reg = <0xf 0xfe202000 0 0x1000>; 326dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 327dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 328dc37374bSHongtao Jia pcie@0 { 329dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 330dc37374bSHongtao Jia 0x02000000 0 0xe0000000 331dc37374bSHongtao Jia 0 0x20000000 332dc37374bSHongtao Jia 333dc37374bSHongtao Jia 0x01000000 0 0x00000000 334dc37374bSHongtao Jia 0x01000000 0 0x00000000 335dc37374bSHongtao Jia 0 0x00010000>; 336dc37374bSHongtao Jia }; 337dc37374bSHongtao Jia }; 338dc37374bSHongtao Jia}; 339dc37374bSHongtao Jia 340dc37374bSHongtao Jia/include/ "p2041si-post.dtsi" 341