/* * Cavium Thunder DTS file - Thunder board description * * Copyright (C) 2016, Cavium Inc. * * This file is dual-licensed: you can use it either under the terms * of the GPL or the X11 license, at your option. Note that this dual * licensing only applies to this file, and not this project as a * whole. * * a) This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, * MA 02110-1301 USA * * Or, alternatively, * * b) Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following * conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. */ /dts-v1/; /include/ "cn83xx-linux.dtsi" / { soc@0 { uaa0: serial@87e028000000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x87e0 0x28000000 0x0 0x1000>; interrupts = <0 5 4>; clocks = <&refclkuaa>; clock-names = "apb_pclk"; uboot,skip-init; }; uaa1: serial@87e029000000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x87e0 0x29000000 0x0 0x1000>; interrupts = <0 6 4>; clocks = <&refclkuaa>; clock-names = "apb_pclk"; uboot,skip-init; }; uaa2: serial@87e02a000000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x87e0 0x2a000000 0x0 0x1000>; interrupts = <0 7 4>; clocks = <&refclkuaa>; clock-names = "apb_pclk"; uboot,skip-init; }; uaa3: serial@87e02b000000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x87e0 0x2b000000 0x0 0x1000>; interrupts = <0 8 4>; clocks = <&refclkuaa>; clock-names = "apb_pclk"; uboot,skip-init; }; pci@848000000000 { mrml-bridge0@1,0 { mdio-nexus@1,3 { mdio0@87e005003800 { compatible = "cavium,thunder-8890-mdio"; #address-cells = <1>; #size-cells = <0>; reg = <0x87e0 0x05003800 0x0 0x30>; sgmii00: sgmii00 { qlm-mode = "0x000,sgmii"; reg = <0> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; /* LED[2,1]: Speed, LED[3]: RX, LED[0]: TX, all open-drain */ marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii01: sgmii01 { qlm-mode = "0x001,sgmii"; reg = <1> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii02: sgmii02 { qlm-mode = "0x002,sgmii"; reg = <2> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii03: sgmii03 { qlm-mode = "0x003,sgmii"; reg = <3> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; xfi00: xfi00 { qlm-mode = "0x000,xfi","0x000,xfi-10g-kr"; reg = <0> ; compatible = "cortina,cs4223-slice"; }; xfi01: xfi01 { qlm-mode = "0x001,xfi","0x001,xfi-10g-kr"; reg = <1> ; compatible = "cortina,cs4223-slice"; }; xfi02: xfi02 { qlm-mode = "0x002,xfi","0x002,xfi-10g-kr"; reg = <2> ; compatible = "cortina,cs4223-slice"; }; xfi03: xfi03 { qlm-mode = "0x003,xfi","0x003,xfi-10g-kr"; reg = <3> ; compatible = "cortina,cs4223-slice"; }; xlaui00: xlaui00 { qlm-mode = "0x000,xlaui","0x000,xlaui-40g-kr"; reg = <0> ; compatible = "cortina,cs4223-slice"; }; xaui00: xaui00 { qlm-mode = "0x000,xaui"; reg = <0> ; compatible = "broadcom,bcm8706", "ethernet-phy-ieee802.3-c45"; broadcom,c45-reg-init = <1 0xc808 0xff8f 0x70>; }; rxaui00: rxaui00 { qlm-mode = "0x000,rxaui"; reg = <0> ; compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45"; }; rxaui01: rxaui01 { qlm-mode = "0x001,rxaui"; reg = <1> ; compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45"; }; qsgmii00: qsgmii00 { qlm-mode = "0x000,qsgmii"; reg = <0> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii01: qsgmii01 { qlm-mode = "0x001,qsgmii"; reg = <1> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii02: qsgmii02 { qlm-mode = "0x002,qsgmii"; reg = <2> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii03: qsgmii03 { qlm-mode = "0x003,qsgmii"; reg = <3> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; sgmii10: sgmii10 { qlm-mode = "0x010,sgmii"; reg = <8> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii11: sgmii11 { qlm-mode = "0x011,sgmii"; reg = <9> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii12: sgmii12 { qlm-mode = "0x012,sgmii"; reg = <2> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii13: sgmii13 { qlm-mode = "0x013,sgmii"; reg = <3> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; xfi10: xfi10 { qlm-mode = "0x010,xfi","0x010,xfi-10g-kr"; reg = <8> ; compatible = "cortina,cs4223-slice"; }; xfi11: xfi11 { qlm-mode = "0x011,xfi","0x011,xfi-10g-kr"; reg = <9> ; compatible = "cortina,cs4223-slice"; }; xfi12: xfi12 { qlm-mode = "0x012,xfi","0x012,xfi-10g-kr"; reg = <10> ; compatible = "cortina,cs4223-slice"; }; xfi13: xfi13 { qlm-mode = "0x013,xfi","0x013,xfi-10g-kr"; reg = <11> ; compatible = "cortina,cs4223-slice"; }; xlaui10: xlaui10 { qlm-mode = "0x010,xlaui","0x010,xlaui-40g-kr"; reg = <8> ; compatible = "cortina,cs4223-slice"; }; xaui10: xaui10 { qlm-mode = "0x010,xaui"; reg = <8> ; compatible = "broadcom,bcm8706", "ethernet-phy-ieee802.3-c45"; broadcom,c45-reg-init = <1 0xc808 0xff8f 0x70>; }; rxaui10: rxaui10 { qlm-mode = "0x010,rxaui"; reg = <8> ; compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45"; }; rxaui11: rxaui11 { qlm-mode = "0x011,rxaui"; reg = <9> ; compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45"; }; qsgmii10: qsgmii10 { qlm-mode = "0x010,qsgmii"; reg = <8> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii11: qsgmii11 { qlm-mode = "0x011,qsgmii"; reg = <9> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii12: qsgmii12 { qlm-mode = "0x012,qsgmii"; reg = <10> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii13: qsgmii13 { qlm-mode = "0x013,qsgmii"; reg = <11> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; }; mdio1@87e005003880 { compatible = "cavium,thunder-8890-mdio"; #address-cells = <1>; #size-cells = <0>; reg = <0x87e0 0x05003880 0x0 0x30>; sgmii20: sgmii20 { qlm-mode = "0x020,sgmii"; reg = <0> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; /* LED[2,1]: Speed, LED[3]: RX, LED[0]: TX, all open-drain */ marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii21: sgmii21 { qlm-mode = "0x021,sgmii"; reg = <1> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii22: sgmii22 { qlm-mode = "0x022,sgmii"; reg = <2> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii23: sgmii23 { qlm-mode = "0x023,sgmii"; reg = <3> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; xfi20: xfi20 { qlm-mode = "0x020,xfi","0x020,xfi-10g-kr"; reg = <0> ; compatible = "cortina,cs4223-slice"; }; xfi21: xfi21 { qlm-mode = "0x021,xfi","0x021,xfi-10g-kr"; reg = <1> ; compatible = "cortina,cs4223-slice"; }; xfi22: xfi22 { qlm-mode = "0x022,xfi","0x022,xfi-10g-kr"; reg = <2> ; compatible = "cortina,cs4223-slice"; }; xfi23: xfi23 { qlm-mode = "0x023,xfi","0x023,xfi-10g-kr"; reg = <3> ; compatible = "cortina,cs4223-slice"; }; xlaui20: xlaui20 { qlm-mode = "0x020,xlaui","0x020,xlaui-40g-kr"; reg = <0> ; compatible = "cortina,cs4223-slice"; }; xaui20: xaui20 { qlm-mode = "0x020,xaui"; reg = <0> ; compatible = "broadcom,bcm8706", "ethernet-phy-ieee802.3-c45"; broadcom,c45-reg-init = <1 0xc808 0xff8f 0x70>; }; rxaui20: rxaui20 { qlm-mode = "0x020,rxaui"; reg = <0> ; compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45"; }; rxaui21: rxaui21 { qlm-mode = "0x021,rxaui"; reg = <1> ; compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45"; }; qsgmii20: qsgmii20 { qlm-mode = "0x020,qsgmii"; reg = <0> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii21: qsgmii21 { qlm-mode = "0x021,qsgmii"; reg = <1> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii22: qsgmii22 { qlm-mode = "0x022,qsgmii"; reg = <2> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii23: qsgmii23 { qlm-mode = "0x023,qsgmii"; reg = <3> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; sgmii30: sgmii30 { qlm-mode = "0x030,sgmii"; reg = <8> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; sgmii31: sgmii31 { qlm-mode = "0x011,sgmii"; reg = <9> ; compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22"; marvell,reg-init = <3 0x10 0 0x8665>, <3 0x11 0 0x00aa>, <3 0x12 0 0x4105>, <3 0x13 0 0x8a08>; }; xfi30: xfi30 { qlm-mode = "0x030,xfi","0x030,xfi-10g-kr"; reg = <8> ; compatible = "cortina,cs4223-slice"; }; xfi31: xfi31 { qlm-mode = "0x031,xfi","0x031,xfi-10g-kr"; reg = <9> ; compatible = "cortina,cs4223-slice"; }; xfi32: xfi32 { qlm-mode = "0x032,xfi","0x032,xfi-10g-kr"; reg = <10> ; compatible = "cortina,cs4223-slice"; }; xfi33: xfi33 { qlm-mode = "0x033,xfi","0x033,xfi-10g-kr"; reg = <11> ; compatible = "cortina,cs4223-slice"; }; xlaui30: xlaui30 { qlm-mode = "0x030,xlaui","0x030,xlaui-40g-kr"; reg = <8> ; compatible = "cortina,cs4223-slice"; }; xaui30: xaui30 { qlm-mode = "0x030,xaui"; reg = <8> ; compatible = "broadcom,bcm8706", "ethernet-phy-ieee802.3-c45"; broadcom,c45-reg-init = <1 0xc808 0xff8f 0x70>; }; rxaui30: rxaui30 { qlm-mode = "0x030,rxaui"; reg = <8> ; compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45"; }; rxaui31: rxaui31 { qlm-mode = "0x031,rxaui"; reg = <9> ; compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45"; }; qsgmii30: qsgmii30 { qlm-mode = "0x030,qsgmii"; reg = <8> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii31: qsgmii31 { qlm-mode = "0x031,qsgmii"; reg = <9> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii32: qsgmii32 { qlm-mode = "0x032,qsgmii"; reg = <10> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; qsgmii33: qsgmii33 { qlm-mode = "0x033,qsgmii"; reg = <11> ; compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22"; }; }; }; }; }; }; };