1dc37374bSHongtao Jia/* 2dc37374bSHongtao Jia * T4240RDB Device Tree Source 3dc37374bSHongtao Jia * 484e0f1c1SIgal Liberman * Copyright 2014 - 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/ "t4240si-pre.dtsi" 36dc37374bSHongtao Jia 37dc37374bSHongtao Jia/ { 38dc37374bSHongtao Jia model = "fsl,T4240RDB"; 39dc37374bSHongtao Jia compatible = "fsl,T4240RDB"; 40dc37374bSHongtao Jia #address-cells = <2>; 41dc37374bSHongtao Jia #size-cells = <2>; 42dc37374bSHongtao Jia interrupt-parent = <&mpic>; 43dc37374bSHongtao Jia 4484e0f1c1SIgal Liberman aliases { 4584e0f1c1SIgal Liberman sgmii_phy21 = &sgmiiphy21; 4684e0f1c1SIgal Liberman sgmii_phy22 = &sgmiiphy22; 4784e0f1c1SIgal Liberman sgmii_phy23 = &sgmiiphy23; 4884e0f1c1SIgal Liberman sgmii_phy24 = &sgmiiphy24; 4984e0f1c1SIgal Liberman sgmii_phy41 = &sgmiiphy41; 5084e0f1c1SIgal Liberman sgmii_phy42 = &sgmiiphy42; 5184e0f1c1SIgal Liberman sgmii_phy43 = &sgmiiphy43; 5284e0f1c1SIgal Liberman sgmii_phy44 = &sgmiiphy44; 5384e0f1c1SIgal Liberman }; 5484e0f1c1SIgal Liberman 55dc37374bSHongtao Jia ifc: localbus@ffe124000 { 56dc37374bSHongtao Jia reg = <0xf 0xfe124000 0 0x2000>; 57dc37374bSHongtao Jia ranges = <0 0 0xf 0xe8000000 0x08000000 58dc37374bSHongtao Jia 2 0 0xf 0xff800000 0x00010000 59dc37374bSHongtao Jia 3 0 0xf 0xffdf0000 0x00008000>; 60dc37374bSHongtao Jia 61dc37374bSHongtao Jia nor@0,0 { 62dc37374bSHongtao Jia #address-cells = <1>; 63dc37374bSHongtao Jia #size-cells = <1>; 64dc37374bSHongtao Jia compatible = "cfi-flash"; 65dc37374bSHongtao Jia reg = <0x0 0x0 0x8000000>; 66dc37374bSHongtao Jia 67dc37374bSHongtao Jia bank-width = <2>; 68dc37374bSHongtao Jia device-width = <1>; 69dc37374bSHongtao Jia }; 70dc37374bSHongtao Jia 71dc37374bSHongtao Jia nand@2,0 { 72dc37374bSHongtao Jia #address-cells = <1>; 73dc37374bSHongtao Jia #size-cells = <1>; 74dc37374bSHongtao Jia compatible = "fsl,ifc-nand"; 75dc37374bSHongtao Jia reg = <0x2 0x0 0x10000>; 76dc37374bSHongtao Jia }; 77dc37374bSHongtao Jia }; 78dc37374bSHongtao Jia 79dc37374bSHongtao Jia memory { 80dc37374bSHongtao Jia device_type = "memory"; 81dc37374bSHongtao Jia }; 82dc37374bSHongtao Jia 83dc37374bSHongtao Jia reserved-memory { 84dc37374bSHongtao Jia #address-cells = <2>; 85dc37374bSHongtao Jia #size-cells = <2>; 86dc37374bSHongtao Jia ranges; 87dc37374bSHongtao Jia 88dc37374bSHongtao Jia bman_fbpr: bman-fbpr { 89dc37374bSHongtao Jia size = <0 0x1000000>; 90dc37374bSHongtao Jia alignment = <0 0x1000000>; 91dc37374bSHongtao Jia }; 92dc37374bSHongtao Jia qman_fqd: qman-fqd { 93dc37374bSHongtao Jia size = <0 0x400000>; 94dc37374bSHongtao Jia alignment = <0 0x400000>; 95dc37374bSHongtao Jia }; 96dc37374bSHongtao Jia qman_pfdr: qman-pfdr { 97dc37374bSHongtao Jia size = <0 0x2000000>; 98dc37374bSHongtao Jia alignment = <0 0x2000000>; 99dc37374bSHongtao Jia }; 100dc37374bSHongtao Jia }; 101dc37374bSHongtao Jia 102dc37374bSHongtao Jia dcsr: dcsr@f00000000 { 103dc37374bSHongtao Jia ranges = <0x00000000 0xf 0x00000000 0x01072000>; 104dc37374bSHongtao Jia }; 105dc37374bSHongtao Jia 106dc37374bSHongtao Jia bportals: bman-portals@ff4000000 { 107dc37374bSHongtao Jia ranges = <0x0 0xf 0xf4000000 0x2000000>; 108dc37374bSHongtao Jia }; 109dc37374bSHongtao Jia 110dc37374bSHongtao Jia qportals: qman-portals@ff6000000 { 111dc37374bSHongtao Jia ranges = <0x0 0xf 0xf6000000 0x2000000>; 112dc37374bSHongtao Jia }; 113dc37374bSHongtao Jia 114dc37374bSHongtao Jia soc: soc@ffe000000 { 115dc37374bSHongtao Jia ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 116dc37374bSHongtao Jia reg = <0xf 0xfe000000 0 0x00001000>; 117dc37374bSHongtao Jia spi@110000 { 118dc37374bSHongtao Jia flash@0 { 119dc37374bSHongtao Jia #address-cells = <1>; 120dc37374bSHongtao Jia #size-cells = <1>; 121dc37374bSHongtao Jia compatible = "sst,sst25wf040"; 122dc37374bSHongtao Jia reg = <0>; 123dc37374bSHongtao Jia spi-max-frequency = <40000000>; /* input clock */ 124dc37374bSHongtao Jia }; 125dc37374bSHongtao Jia }; 126dc37374bSHongtao Jia 127dc37374bSHongtao Jia i2c@118000 { 128dc37374bSHongtao Jia eeprom@52 { 129dc37374bSHongtao Jia compatible = "at24,24c256"; 130dc37374bSHongtao Jia reg = <0x52>; 131dc37374bSHongtao Jia }; 132dc37374bSHongtao Jia eeprom@54 { 133dc37374bSHongtao Jia compatible = "at24,24c256"; 134dc37374bSHongtao Jia reg = <0x54>; 135dc37374bSHongtao Jia }; 136dc37374bSHongtao Jia eeprom@56 { 137dc37374bSHongtao Jia compatible = "at24,24c256"; 138dc37374bSHongtao Jia reg = <0x56>; 139dc37374bSHongtao Jia }; 140dc37374bSHongtao Jia rtc@68 { 141dc37374bSHongtao Jia compatible = "dallas,ds1374"; 142dc37374bSHongtao Jia reg = <0x68>; 143dc37374bSHongtao Jia interrupts = <0x1 0x1 0 0>; 144dc37374bSHongtao Jia }; 145dc37374bSHongtao Jia }; 146dc37374bSHongtao Jia 147dc37374bSHongtao Jia sdhc@114000 { 148dc37374bSHongtao Jia voltage-ranges = <1800 1800 3300 3300>; 149dc37374bSHongtao Jia }; 15084e0f1c1SIgal Liberman 15184e0f1c1SIgal Liberman fman@400000 { 15284e0f1c1SIgal Liberman ethernet@e0000 { 15384e0f1c1SIgal Liberman phy-handle = <&sgmiiphy21>; 15484e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 15584e0f1c1SIgal Liberman }; 15684e0f1c1SIgal Liberman 15784e0f1c1SIgal Liberman ethernet@e2000 { 15884e0f1c1SIgal Liberman phy-handle = <&sgmiiphy22>; 15984e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 16084e0f1c1SIgal Liberman }; 16184e0f1c1SIgal Liberman 16284e0f1c1SIgal Liberman ethernet@e4000 { 16384e0f1c1SIgal Liberman phy-handle = <&sgmiiphy23>; 16484e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 16584e0f1c1SIgal Liberman }; 16684e0f1c1SIgal Liberman 16784e0f1c1SIgal Liberman ethernet@e6000 { 16884e0f1c1SIgal Liberman phy-handle = <&sgmiiphy24>; 16984e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 17084e0f1c1SIgal Liberman }; 17184e0f1c1SIgal Liberman 17284e0f1c1SIgal Liberman ethernet@e8000 { 17384e0f1c1SIgal Liberman status = "disabled"; 17484e0f1c1SIgal Liberman }; 17584e0f1c1SIgal Liberman 17684e0f1c1SIgal Liberman ethernet@ea000 { 17784e0f1c1SIgal Liberman status = "disabled"; 17884e0f1c1SIgal Liberman }; 17984e0f1c1SIgal Liberman 18084e0f1c1SIgal Liberman ethernet@f0000 { 18184e0f1c1SIgal Liberman phy-handle = <&xfiphy1>; 18284e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 18384e0f1c1SIgal Liberman }; 18484e0f1c1SIgal Liberman 18584e0f1c1SIgal Liberman ethernet@f2000 { 18684e0f1c1SIgal Liberman phy-handle = <&xfiphy2>; 18784e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 18884e0f1c1SIgal Liberman }; 18984e0f1c1SIgal Liberman }; 19084e0f1c1SIgal Liberman 19184e0f1c1SIgal Liberman fman@500000 { 19284e0f1c1SIgal Liberman ethernet@e0000 { 19384e0f1c1SIgal Liberman phy-handle = <&sgmiiphy41>; 19484e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 19584e0f1c1SIgal Liberman }; 19684e0f1c1SIgal Liberman 19784e0f1c1SIgal Liberman ethernet@e2000 { 19884e0f1c1SIgal Liberman phy-handle = <&sgmiiphy42>; 19984e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 20084e0f1c1SIgal Liberman }; 20184e0f1c1SIgal Liberman 20284e0f1c1SIgal Liberman ethernet@e4000 { 20384e0f1c1SIgal Liberman phy-handle = <&sgmiiphy43>; 20484e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 20584e0f1c1SIgal Liberman }; 20684e0f1c1SIgal Liberman 20784e0f1c1SIgal Liberman ethernet@e6000 { 20884e0f1c1SIgal Liberman phy-handle = <&sgmiiphy44>; 20984e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 21084e0f1c1SIgal Liberman }; 21184e0f1c1SIgal Liberman 21284e0f1c1SIgal Liberman ethernet@e8000 { 21384e0f1c1SIgal Liberman status = "disabled"; 21484e0f1c1SIgal Liberman }; 21584e0f1c1SIgal Liberman 21684e0f1c1SIgal Liberman ethernet@ea000 { 21784e0f1c1SIgal Liberman status = "disabled"; 21884e0f1c1SIgal Liberman }; 21984e0f1c1SIgal Liberman 22084e0f1c1SIgal Liberman ethernet@f0000 { 22184e0f1c1SIgal Liberman phy-handle = <&xfiphy3>; 22284e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 22384e0f1c1SIgal Liberman }; 22484e0f1c1SIgal Liberman 22584e0f1c1SIgal Liberman ethernet@f2000 { 22684e0f1c1SIgal Liberman phy-handle = <&xfiphy4>; 22784e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 22884e0f1c1SIgal Liberman }; 22984e0f1c1SIgal Liberman 23084e0f1c1SIgal Liberman mdio@fc000 { 23184e0f1c1SIgal Liberman sgmiiphy21: ethernet-phy@0 { 23284e0f1c1SIgal Liberman reg = <0x0>; 23384e0f1c1SIgal Liberman }; 23484e0f1c1SIgal Liberman 23584e0f1c1SIgal Liberman sgmiiphy22: ethernet-phy@1 { 23684e0f1c1SIgal Liberman reg = <0x1>; 23784e0f1c1SIgal Liberman }; 23884e0f1c1SIgal Liberman 23984e0f1c1SIgal Liberman sgmiiphy23: ethernet-phy@2 { 24084e0f1c1SIgal Liberman reg = <0x2>; 24184e0f1c1SIgal Liberman }; 24284e0f1c1SIgal Liberman 24384e0f1c1SIgal Liberman sgmiiphy24: ethernet-phy@3 { 24484e0f1c1SIgal Liberman reg = <0x3>; 24584e0f1c1SIgal Liberman }; 24684e0f1c1SIgal Liberman 24784e0f1c1SIgal Liberman sgmiiphy41: ethernet-phy@4 { 24884e0f1c1SIgal Liberman reg = <0x4>; 24984e0f1c1SIgal Liberman }; 25084e0f1c1SIgal Liberman 25184e0f1c1SIgal Liberman sgmiiphy42: ethernet-phy@5 { 25284e0f1c1SIgal Liberman reg = <0x5>; 25384e0f1c1SIgal Liberman }; 25484e0f1c1SIgal Liberman 25584e0f1c1SIgal Liberman sgmiiphy43: ethernet-phy@6 { 25684e0f1c1SIgal Liberman reg = <0x6>; 25784e0f1c1SIgal Liberman }; 25884e0f1c1SIgal Liberman 25984e0f1c1SIgal Liberman sgmiiphy44: ethernet-phy@7 { 26084e0f1c1SIgal Liberman reg = <0x7>; 26184e0f1c1SIgal Liberman }; 26284e0f1c1SIgal Liberman }; 26384e0f1c1SIgal Liberman 26484e0f1c1SIgal Liberman mdio@fd000 { 26584e0f1c1SIgal Liberman xfiphy1: ethernet-phy@10 { 26684e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 26784e0f1c1SIgal Liberman reg = <0x10>; 26884e0f1c1SIgal Liberman }; 26984e0f1c1SIgal Liberman 27084e0f1c1SIgal Liberman xfiphy2: ethernet-phy@11 { 27184e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 27284e0f1c1SIgal Liberman reg = <0x11>; 27384e0f1c1SIgal Liberman }; 27484e0f1c1SIgal Liberman 27584e0f1c1SIgal Liberman xfiphy3: ethernet-phy@13 { 27684e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 27784e0f1c1SIgal Liberman reg = <0x13>; 27884e0f1c1SIgal Liberman }; 27984e0f1c1SIgal Liberman 28084e0f1c1SIgal Liberman xfiphy4: ethernet-phy@12 { 28184e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 28284e0f1c1SIgal Liberman reg = <0x12>; 28384e0f1c1SIgal Liberman }; 28484e0f1c1SIgal Liberman }; 28584e0f1c1SIgal Liberman }; 286dc37374bSHongtao Jia }; 287dc37374bSHongtao Jia 288dc37374bSHongtao Jia pci0: pcie@ffe240000 { 289dc37374bSHongtao Jia reg = <0xf 0xfe240000 0 0x10000>; 290dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 291dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 292dc37374bSHongtao Jia pcie@0 { 293dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 294dc37374bSHongtao Jia 0x02000000 0 0xe0000000 295dc37374bSHongtao Jia 0 0x20000000 296dc37374bSHongtao Jia 297dc37374bSHongtao Jia 0x01000000 0 0x00000000 298dc37374bSHongtao Jia 0x01000000 0 0x00000000 299dc37374bSHongtao Jia 0 0x00010000>; 300dc37374bSHongtao Jia }; 301dc37374bSHongtao Jia }; 302dc37374bSHongtao Jia 303dc37374bSHongtao Jia pci1: pcie@ffe250000 { 304dc37374bSHongtao Jia reg = <0xf 0xfe250000 0 0x10000>; 305dc37374bSHongtao Jia ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 306dc37374bSHongtao Jia 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 307dc37374bSHongtao Jia pcie@0 { 308dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 309dc37374bSHongtao Jia 0x02000000 0 0xe0000000 310dc37374bSHongtao Jia 0 0x20000000 311dc37374bSHongtao Jia 312dc37374bSHongtao Jia 0x01000000 0 0x00000000 313dc37374bSHongtao Jia 0x01000000 0 0x00000000 314dc37374bSHongtao Jia 0 0x00010000>; 315dc37374bSHongtao Jia }; 316dc37374bSHongtao Jia }; 317dc37374bSHongtao Jia 318dc37374bSHongtao Jia pci2: pcie@ffe260000 { 319dc37374bSHongtao Jia reg = <0xf 0xfe260000 0 0x1000>; 320dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 321dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 322dc37374bSHongtao Jia pcie@0 { 323dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 324dc37374bSHongtao Jia 0x02000000 0 0xe0000000 325dc37374bSHongtao Jia 0 0x20000000 326dc37374bSHongtao Jia 327dc37374bSHongtao Jia 0x01000000 0 0x00000000 328dc37374bSHongtao Jia 0x01000000 0 0x00000000 329dc37374bSHongtao Jia 0 0x00010000>; 330dc37374bSHongtao Jia }; 331dc37374bSHongtao Jia }; 332dc37374bSHongtao Jia 333dc37374bSHongtao Jia pci3: pcie@ffe270000 { 334dc37374bSHongtao Jia reg = <0xf 0xfe270000 0 0x10000>; 335dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000 336dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; 337dc37374bSHongtao Jia pcie@0 { 338dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 339dc37374bSHongtao Jia 0x02000000 0 0xe0000000 340dc37374bSHongtao Jia 0 0x20000000 341dc37374bSHongtao Jia 342dc37374bSHongtao Jia 0x01000000 0 0x00000000 343dc37374bSHongtao Jia 0x01000000 0 0x00000000 344dc37374bSHongtao Jia 0 0x00010000>; 345dc37374bSHongtao Jia }; 346dc37374bSHongtao Jia }; 347dc37374bSHongtao Jia 348dc37374bSHongtao Jia rio: rapidio@ffe0c0000 { 349dc37374bSHongtao Jia reg = <0xf 0xfe0c0000 0 0x11000>; 350dc37374bSHongtao Jia 351dc37374bSHongtao Jia port1 { 352dc37374bSHongtao Jia ranges = <0 0 0xc 0x20000000 0 0x10000000>; 353dc37374bSHongtao Jia }; 354dc37374bSHongtao Jia port2 { 355dc37374bSHongtao Jia ranges = <0 0 0xc 0x30000000 0 0x10000000>; 356dc37374bSHongtao Jia }; 357dc37374bSHongtao Jia }; 358dc37374bSHongtao Jia}; 359dc37374bSHongtao Jia 360dc37374bSHongtao Jia/include/ "t4240si-post.dtsi" 361