1dc37374bSHongtao Jia/* 2dc37374bSHongtao Jia * T1024 RDB Device Tree Source 3dc37374bSHongtao Jia * 4dc37374bSHongtao Jia * Copyright 2014 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/ "t102xsi-pre.dtsi" 36dc37374bSHongtao Jia 37dc37374bSHongtao Jia/ { 38dc37374bSHongtao Jia model = "fsl,T1024RDB"; 39dc37374bSHongtao Jia compatible = "fsl,T1024RDB"; 40dc37374bSHongtao Jia #address-cells = <2>; 41dc37374bSHongtao Jia #size-cells = <2>; 42dc37374bSHongtao Jia interrupt-parent = <&mpic>; 43dc37374bSHongtao Jia 44f93ace2bSMadalin Bucur aliases { 45f93ace2bSMadalin Bucur sg_2500_aqr105_phy4 = &sg_2500_aqr105_phy4; 46f93ace2bSMadalin Bucur }; 47f93ace2bSMadalin Bucur 48138bde87SMadalin Bucur reserved-memory { 49138bde87SMadalin Bucur #address-cells = <2>; 50138bde87SMadalin Bucur #size-cells = <2>; 51138bde87SMadalin Bucur ranges; 52138bde87SMadalin Bucur 53138bde87SMadalin Bucur bman_fbpr: bman-fbpr { 54138bde87SMadalin Bucur size = <0 0x1000000>; 55138bde87SMadalin Bucur alignment = <0 0x1000000>; 56138bde87SMadalin Bucur }; 57138bde87SMadalin Bucur 58138bde87SMadalin Bucur qman_fqd: qman-fqd { 59138bde87SMadalin Bucur size = <0 0x400000>; 60138bde87SMadalin Bucur alignment = <0 0x400000>; 61138bde87SMadalin Bucur }; 62138bde87SMadalin Bucur 63138bde87SMadalin Bucur qman_pfdr: qman-pfdr { 64138bde87SMadalin Bucur size = <0 0x2000000>; 65138bde87SMadalin Bucur alignment = <0 0x2000000>; 66138bde87SMadalin Bucur }; 67138bde87SMadalin Bucur }; 68138bde87SMadalin Bucur 69dc37374bSHongtao Jia ifc: localbus@ffe124000 { 70dc37374bSHongtao Jia reg = <0xf 0xfe124000 0 0x2000>; 71dc37374bSHongtao Jia ranges = <0 0 0xf 0xe8000000 0x08000000 72dc37374bSHongtao Jia 2 0 0xf 0xff800000 0x00010000 73dc37374bSHongtao Jia 3 0 0xf 0xffdf0000 0x00008000>; 74dc37374bSHongtao Jia 75dc37374bSHongtao Jia nor@0,0 { 76dc37374bSHongtao Jia #address-cells = <1>; 77dc37374bSHongtao Jia #size-cells = <1>; 78dc37374bSHongtao Jia compatible = "cfi-flash"; 79dc37374bSHongtao Jia reg = <0x0 0x0 0x8000000>; 80dc37374bSHongtao Jia bank-width = <2>; 81dc37374bSHongtao Jia device-width = <1>; 82dc37374bSHongtao Jia }; 83dc37374bSHongtao Jia 84dc37374bSHongtao Jia nand@1,0 { 85dc37374bSHongtao Jia #address-cells = <1>; 86dc37374bSHongtao Jia #size-cells = <1>; 87dc37374bSHongtao Jia compatible = "fsl,ifc-nand"; 88dc37374bSHongtao Jia reg = <0x2 0x0 0x10000>; 89dc37374bSHongtao Jia }; 90dc37374bSHongtao Jia 91dc37374bSHongtao Jia board-control@2,0 { 92dc37374bSHongtao Jia #address-cells = <1>; 93dc37374bSHongtao Jia #size-cells = <1>; 94dc37374bSHongtao Jia compatible = "fsl,t1024-cpld"; 95dc37374bSHongtao Jia reg = <3 0 0x300>; 96dc37374bSHongtao Jia ranges = <0 3 0 0x300>; 97dc37374bSHongtao Jia bank-width = <1>; 98dc37374bSHongtao Jia device-width = <1>; 99dc37374bSHongtao Jia }; 100dc37374bSHongtao Jia }; 101dc37374bSHongtao Jia 102dc37374bSHongtao Jia memory { 103dc37374bSHongtao Jia device_type = "memory"; 104dc37374bSHongtao Jia }; 105dc37374bSHongtao Jia 106dc37374bSHongtao Jia dcsr: dcsr@f00000000 { 107dc37374bSHongtao Jia ranges = <0x00000000 0xf 0x00000000 0x01072000>; 108dc37374bSHongtao Jia }; 109dc37374bSHongtao Jia 110138bde87SMadalin Bucur bportals: bman-portals@ff4000000 { 111138bde87SMadalin Bucur ranges = <0x0 0xf 0xf4000000 0x2000000>; 112138bde87SMadalin Bucur }; 113138bde87SMadalin Bucur 114138bde87SMadalin Bucur qportals: qman-portals@ff6000000 { 115138bde87SMadalin Bucur ranges = <0x0 0xf 0xf6000000 0x2000000>; 116138bde87SMadalin Bucur }; 117138bde87SMadalin Bucur 118dc37374bSHongtao Jia soc: soc@ffe000000 { 119dc37374bSHongtao Jia ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 120dc37374bSHongtao Jia reg = <0xf 0xfe000000 0 0x00001000>; 121dc37374bSHongtao Jia spi@110000 { 122dc37374bSHongtao Jia flash@0 { 123dc37374bSHongtao Jia #address-cells = <1>; 124dc37374bSHongtao Jia #size-cells = <1>; 125fba4e9f9SHou Zhiqiang compatible = "micron,n25q512ax3", "jedec,spi-nor"; 126dc37374bSHongtao Jia reg = <0>; 127dc37374bSHongtao Jia spi-max-frequency = <10000000>; /* input clk */ 128dc37374bSHongtao Jia }; 129dc37374bSHongtao Jia 130dc37374bSHongtao Jia slic@1 { 131dc37374bSHongtao Jia compatible = "maxim,ds26522"; 132dc37374bSHongtao Jia reg = <1>; 133dc37374bSHongtao Jia spi-max-frequency = <2000000>; 134dc37374bSHongtao Jia }; 135dc37374bSHongtao Jia 136dc37374bSHongtao Jia slic@2 { 137dc37374bSHongtao Jia compatible = "maxim,ds26522"; 138dc37374bSHongtao Jia reg = <2>; 139dc37374bSHongtao Jia spi-max-frequency = <2000000>; 140dc37374bSHongtao Jia }; 141dc37374bSHongtao Jia }; 142dc37374bSHongtao Jia 143dc37374bSHongtao Jia i2c@118000 { 144dc37374bSHongtao Jia adt7461@4c { 145dc37374bSHongtao Jia /* Thermal Monitor */ 146dc37374bSHongtao Jia compatible = "adi,adt7461"; 147dc37374bSHongtao Jia reg = <0x4c>; 148dc37374bSHongtao Jia }; 149dc37374bSHongtao Jia 150dc37374bSHongtao Jia current-sensor@40 { 151dc37374bSHongtao Jia compatible = "ti,ina220"; 152dc37374bSHongtao Jia reg = <0x40>; 153dc37374bSHongtao Jia shunt-resistor = <1000>; 154dc37374bSHongtao Jia }; 155dc37374bSHongtao Jia 156dc37374bSHongtao Jia eeprom@50 { 157dc37374bSHongtao Jia compatible = "atmel,24c256"; 158dc37374bSHongtao Jia reg = <0x50>; 159dc37374bSHongtao Jia }; 160dc37374bSHongtao Jia 161dc37374bSHongtao Jia rtc@68 { 162dc37374bSHongtao Jia compatible = "dallas,ds1339"; 163dc37374bSHongtao Jia reg = <0x68>; 164dc37374bSHongtao Jia }; 165dc37374bSHongtao Jia }; 166dc37374bSHongtao Jia 167dc37374bSHongtao Jia i2c@118100 { 168*3ae7c96dSGeert Uytterhoeven i2c-mux@77 { 169dc37374bSHongtao Jia compatible = "nxp,pca9546"; 170dc37374bSHongtao Jia reg = <0x77>; 171dc37374bSHongtao Jia #address-cells = <1>; 172dc37374bSHongtao Jia #size-cells = <0>; 173dc37374bSHongtao Jia }; 174dc37374bSHongtao Jia }; 17584e0f1c1SIgal Liberman 17684e0f1c1SIgal Liberman fman@400000 { 17784e0f1c1SIgal Liberman fm1mac1: ethernet@e0000 { 17884e0f1c1SIgal Liberman phy-handle = <&xg_aqr105_phy3>; 17984e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 18084e0f1c1SIgal Liberman sleep = <&rcpm 0x80000000>; 18184e0f1c1SIgal Liberman }; 18284e0f1c1SIgal Liberman 18384e0f1c1SIgal Liberman fm1mac2: ethernet@e2000 { 18484e0f1c1SIgal Liberman sleep = <&rcpm 0x40000000>; 18584e0f1c1SIgal Liberman }; 18684e0f1c1SIgal Liberman 18784e0f1c1SIgal Liberman fm1mac3: ethernet@e4000 { 18884e0f1c1SIgal Liberman phy-handle = <&rgmii_phy2>; 18984e0f1c1SIgal Liberman phy-connection-type = "rgmii"; 19084e0f1c1SIgal Liberman sleep = <&rcpm 0x20000000>; 19184e0f1c1SIgal Liberman }; 19284e0f1c1SIgal Liberman 19384e0f1c1SIgal Liberman fm1mac4: ethernet@e6000 { 19484e0f1c1SIgal Liberman phy-handle = <&rgmii_phy1>; 19584e0f1c1SIgal Liberman phy-connection-type = "rgmii"; 19684e0f1c1SIgal Liberman sleep = <&rcpm 0x10000000>; 19784e0f1c1SIgal Liberman }; 19884e0f1c1SIgal Liberman 19984e0f1c1SIgal Liberman 20084e0f1c1SIgal Liberman mdio0: mdio@fc000 { 20184e0f1c1SIgal Liberman rgmii_phy1: ethernet-phy@2 { 20284e0f1c1SIgal Liberman reg = <0x2>; 20384e0f1c1SIgal Liberman }; 20484e0f1c1SIgal Liberman rgmii_phy2: ethernet-phy@6 { 20584e0f1c1SIgal Liberman reg = <0x6>; 20684e0f1c1SIgal Liberman }; 20784e0f1c1SIgal Liberman }; 20884e0f1c1SIgal Liberman 20984e0f1c1SIgal Liberman xmdio0: mdio@fd000 { 21084e0f1c1SIgal Liberman xg_aqr105_phy3: ethernet-phy@1 { 21184e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 21284e0f1c1SIgal Liberman reg = <0x1>; 21384e0f1c1SIgal Liberman }; 21484e0f1c1SIgal Liberman sg_2500_aqr105_phy4: ethernet-phy@2 { 21584e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 21684e0f1c1SIgal Liberman reg = <0x2>; 21784e0f1c1SIgal Liberman }; 21884e0f1c1SIgal Liberman }; 21984e0f1c1SIgal Liberman }; 220dc37374bSHongtao Jia }; 221dc37374bSHongtao Jia 222dc37374bSHongtao Jia pci0: pcie@ffe240000 { 223dc37374bSHongtao Jia reg = <0xf 0xfe240000 0 0x10000>; 224dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0 0x10000000 225dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8000000 0 0x00010000>; 226dc37374bSHongtao Jia pcie@0 { 227dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 228dc37374bSHongtao Jia 0x02000000 0 0xe0000000 229dc37374bSHongtao Jia 0 0x10000000 230dc37374bSHongtao Jia 231dc37374bSHongtao Jia 0x01000000 0 0x00000000 232dc37374bSHongtao Jia 0x01000000 0 0x00000000 233dc37374bSHongtao Jia 0 0x00010000>; 234dc37374bSHongtao Jia }; 235dc37374bSHongtao Jia }; 236dc37374bSHongtao Jia 237dc37374bSHongtao Jia pci1: pcie@ffe250000 { 238dc37374bSHongtao Jia reg = <0xf 0xfe250000 0 0x10000>; 239dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x10000000 0 0x10000000 240dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8010000 0 0x00010000>; 241dc37374bSHongtao Jia pcie@0 { 242dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 243dc37374bSHongtao Jia 0x02000000 0 0xe0000000 244dc37374bSHongtao Jia 0 0x10000000 245dc37374bSHongtao Jia 246dc37374bSHongtao Jia 0x01000000 0 0x00000000 247dc37374bSHongtao Jia 0x01000000 0 0x00000000 248dc37374bSHongtao Jia 0 0x00010000>; 249dc37374bSHongtao Jia }; 250dc37374bSHongtao Jia }; 251dc37374bSHongtao Jia 252dc37374bSHongtao Jia pci2: pcie@ffe260000 { 253dc37374bSHongtao Jia reg = <0xf 0xfe260000 0 0x10000>; 254dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000 255dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 256dc37374bSHongtao Jia pcie@0 { 257dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 258dc37374bSHongtao Jia 0x02000000 0 0xe0000000 259dc37374bSHongtao Jia 0 0x10000000 260dc37374bSHongtao Jia 261dc37374bSHongtao Jia 0x01000000 0 0x00000000 262dc37374bSHongtao Jia 0x01000000 0 0x00000000 263dc37374bSHongtao Jia 0 0x00010000>; 264dc37374bSHongtao Jia }; 265dc37374bSHongtao Jia }; 266dc37374bSHongtao Jia}; 267dc37374bSHongtao Jia 2683045e409SHongtao Jia#include "t1024si-post.dtsi" 269