1dc37374bSHongtao Jia/* 2dc37374bSHongtao Jia * T2080QDS Device Tree Source 3dc37374bSHongtao Jia * 484e0f1c1SIgal Liberman * Copyright 2013 - 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/ "t208xsi-pre.dtsi" 36dc37374bSHongtao Jia/include/ "t208xqds.dtsi" 37dc37374bSHongtao Jia 38dc37374bSHongtao Jia/ { 39dc37374bSHongtao Jia model = "fsl,T2080QDS"; 40dc37374bSHongtao Jia compatible = "fsl,T2080QDS"; 41dc37374bSHongtao Jia #address-cells = <2>; 42dc37374bSHongtao Jia #size-cells = <2>; 43dc37374bSHongtao Jia interrupt-parent = <&mpic>; 44dc37374bSHongtao Jia 4584e0f1c1SIgal Liberman aliases { 4684e0f1c1SIgal Liberman emi1_slot1 = &t2080mdio2; 4784e0f1c1SIgal Liberman emi1_slot2 = &t2080mdio3; 4884e0f1c1SIgal Liberman emi1_slot3 = &t2080mdio4; 4984e0f1c1SIgal Liberman }; 5084e0f1c1SIgal Liberman 51dc37374bSHongtao Jia rio: rapidio@ffe0c0000 { 52dc37374bSHongtao Jia reg = <0xf 0xfe0c0000 0 0x11000>; 53dc37374bSHongtao Jia 54dc37374bSHongtao Jia port1 { 55dc37374bSHongtao Jia ranges = <0 0 0xc 0x20000000 0 0x10000000>; 56dc37374bSHongtao Jia }; 57dc37374bSHongtao Jia port2 { 58dc37374bSHongtao Jia ranges = <0 0 0xc 0x30000000 0 0x10000000>; 59dc37374bSHongtao Jia }; 60dc37374bSHongtao Jia }; 61dc37374bSHongtao Jia}; 62dc37374bSHongtao Jia 6384e0f1c1SIgal Liberman&soc { 6484e0f1c1SIgal Liberman fman@400000 { 6584e0f1c1SIgal Liberman ethernet@e0000 { 6684e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_s3_1e>; 6784e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 6884e0f1c1SIgal Liberman }; 6984e0f1c1SIgal Liberman 7084e0f1c1SIgal Liberman ethernet@e2000 { 7184e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_s3_1f>; 7284e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 7384e0f1c1SIgal Liberman }; 7484e0f1c1SIgal Liberman 7584e0f1c1SIgal Liberman ethernet@e4000 { 7684e0f1c1SIgal Liberman phy-handle = <&rgmii_phy1>; 7784e0f1c1SIgal Liberman phy-connection-type = "rgmii"; 7884e0f1c1SIgal Liberman }; 7984e0f1c1SIgal Liberman 8084e0f1c1SIgal Liberman ethernet@e6000 { 8184e0f1c1SIgal Liberman phy-handle = <&rgmii_phy2>; 8284e0f1c1SIgal Liberman phy-connection-type = "rgmii"; 8384e0f1c1SIgal Liberman }; 8484e0f1c1SIgal Liberman 8584e0f1c1SIgal Liberman ethernet@e8000 { 8684e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_s2_1e>; 8784e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 8884e0f1c1SIgal Liberman }; 8984e0f1c1SIgal Liberman 9084e0f1c1SIgal Liberman ethernet@ea000 { 9184e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_s2_1d>; 9284e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 9384e0f1c1SIgal Liberman }; 9484e0f1c1SIgal Liberman 9584e0f1c1SIgal Liberman ethernet@f0000 { 9684e0f1c1SIgal Liberman phy-handle = <&phy_xaui_slot3>; 9784e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 9884e0f1c1SIgal Liberman }; 9984e0f1c1SIgal Liberman 10084e0f1c1SIgal Liberman ethernet@f2000 { 10184e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_s3_1f>; 10284e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 10384e0f1c1SIgal Liberman }; 10484e0f1c1SIgal Liberman 10584e0f1c1SIgal Liberman mdio@fd000 { 10684e0f1c1SIgal Liberman phy_xaui_slot3: ethernet-phy@3 { 10784e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 10884e0f1c1SIgal Liberman reg = <0x3>; 10984e0f1c1SIgal Liberman }; 11084e0f1c1SIgal Liberman }; 11184e0f1c1SIgal Liberman }; 11284e0f1c1SIgal Liberman}; 11384e0f1c1SIgal Liberman 11484e0f1c1SIgal Liberman&boardctrl { 11584e0f1c1SIgal Liberman mdio-mux-emi1 { 11684e0f1c1SIgal Liberman compatible = "mdio-mux-mmioreg", "mdio-mux"; 11784e0f1c1SIgal Liberman mdio-parent-bus = <&mdio0>; 11884e0f1c1SIgal Liberman #address-cells = <1>; 11984e0f1c1SIgal Liberman #size-cells = <0>; 12084e0f1c1SIgal Liberman reg = <0x54 1>; 12184e0f1c1SIgal Liberman mux-mask = <0xe0>; 12284e0f1c1SIgal Liberman 12384e0f1c1SIgal Liberman t2080mdio0: mdio@0 { 12484e0f1c1SIgal Liberman #address-cells = <1>; 12584e0f1c1SIgal Liberman #size-cells = <0>; 12684e0f1c1SIgal Liberman reg = <0>; 12784e0f1c1SIgal Liberman 12884e0f1c1SIgal Liberman rgmii_phy1: ethernet-phy@1 { 12984e0f1c1SIgal Liberman reg = <0x1>; 13084e0f1c1SIgal Liberman }; 13184e0f1c1SIgal Liberman }; 13284e0f1c1SIgal Liberman 13384e0f1c1SIgal Liberman t2080mdio1: mdio@20 { 13484e0f1c1SIgal Liberman #address-cells = <1>; 13584e0f1c1SIgal Liberman #size-cells = <0>; 13684e0f1c1SIgal Liberman reg = <0x20>; 13784e0f1c1SIgal Liberman 13884e0f1c1SIgal Liberman rgmii_phy2: ethernet-phy@2 { 13984e0f1c1SIgal Liberman reg = <0x2>; 14084e0f1c1SIgal Liberman }; 14184e0f1c1SIgal Liberman }; 14284e0f1c1SIgal Liberman 14384e0f1c1SIgal Liberman t2080mdio2: mdio@40 { 14484e0f1c1SIgal Liberman #address-cells = <1>; 14584e0f1c1SIgal Liberman #size-cells = <0>; 14684e0f1c1SIgal Liberman reg = <0x40>; 14784e0f1c1SIgal Liberman status = "disabled"; 14884e0f1c1SIgal Liberman 14984e0f1c1SIgal Liberman phy_sgmii_s1_1c: ethernet-phy@1c { 15084e0f1c1SIgal Liberman reg = <0x1c>; 15184e0f1c1SIgal Liberman }; 15284e0f1c1SIgal Liberman 15384e0f1c1SIgal Liberman phy_sgmii_s1_1d: ethernet-phy@1d { 15484e0f1c1SIgal Liberman reg = <0x1d>; 15584e0f1c1SIgal Liberman }; 15684e0f1c1SIgal Liberman 15784e0f1c1SIgal Liberman phy_sgmii_s1_1e: ethernet-phy@1e { 15884e0f1c1SIgal Liberman reg = <0x1e>; 15984e0f1c1SIgal Liberman }; 16084e0f1c1SIgal Liberman 16184e0f1c1SIgal Liberman phy_sgmii_s1_1f: ethernet-phy@1f { 16284e0f1c1SIgal Liberman reg = <0x1f>; 16384e0f1c1SIgal Liberman }; 16484e0f1c1SIgal Liberman }; 16584e0f1c1SIgal Liberman 16684e0f1c1SIgal Liberman t2080mdio3: mdio@c0 { 16784e0f1c1SIgal Liberman #address-cells = <1>; 16884e0f1c1SIgal Liberman #size-cells = <0>; 16984e0f1c1SIgal Liberman reg = <0xc0>; 17084e0f1c1SIgal Liberman 17184e0f1c1SIgal Liberman phy_sgmii_s2_1c: ethernet-phy@1c { 17284e0f1c1SIgal Liberman reg = <0x1c>; 17384e0f1c1SIgal Liberman }; 17484e0f1c1SIgal Liberman 17584e0f1c1SIgal Liberman phy_sgmii_s2_1d: ethernet-phy@1d { 17684e0f1c1SIgal Liberman reg = <0x1d>; 17784e0f1c1SIgal Liberman }; 17884e0f1c1SIgal Liberman 17984e0f1c1SIgal Liberman phy_sgmii_s2_1e: ethernet-phy@1e { 18084e0f1c1SIgal Liberman reg = <0x1e>; 18184e0f1c1SIgal Liberman }; 18284e0f1c1SIgal Liberman 18384e0f1c1SIgal Liberman phy_sgmii_s2_1f: ethernet-phy@1f { 18484e0f1c1SIgal Liberman reg = <0x1f>; 18584e0f1c1SIgal Liberman }; 18684e0f1c1SIgal Liberman }; 18784e0f1c1SIgal Liberman 18884e0f1c1SIgal Liberman t2080mdio4: mdio@60 { 18984e0f1c1SIgal Liberman #address-cells = <1>; 19084e0f1c1SIgal Liberman #size-cells = <0>; 19184e0f1c1SIgal Liberman reg = <0x60>; 19284e0f1c1SIgal Liberman status = "disabled"; 19384e0f1c1SIgal Liberman 19484e0f1c1SIgal Liberman phy_sgmii_s3_1c: ethernet-phy@1c { 19584e0f1c1SIgal Liberman reg = <0x1c>; 19684e0f1c1SIgal Liberman }; 19784e0f1c1SIgal Liberman 19884e0f1c1SIgal Liberman phy_sgmii_s3_1d: ethernet-phy@1d { 19984e0f1c1SIgal Liberman reg = <0x1d>; 20084e0f1c1SIgal Liberman }; 20184e0f1c1SIgal Liberman 20284e0f1c1SIgal Liberman phy_sgmii_s3_1e: ethernet-phy@1e { 20384e0f1c1SIgal Liberman reg = <0x1e>; 20484e0f1c1SIgal Liberman }; 20584e0f1c1SIgal Liberman 20684e0f1c1SIgal Liberman phy_sgmii_s3_1f: ethernet-phy@1f { 20784e0f1c1SIgal Liberman reg = <0x1f>; 20884e0f1c1SIgal Liberman }; 20984e0f1c1SIgal Liberman }; 21084e0f1c1SIgal Liberman }; 21184e0f1c1SIgal Liberman}; 21284e0f1c1SIgal Liberman 213dc37374bSHongtao Jia/include/ "t2080si-post.dtsi" 214