1e181877dSKumar Gala/* 2e181877dSKumar Gala * P3041DS Device Tree Source 3e181877dSKumar Gala * 484e0f1c1SIgal Liberman * Copyright 2010 - 2015 Freescale Semiconductor Inc. 5e181877dSKumar Gala * 6e181877dSKumar Gala * Redistribution and use in source and binary forms, with or without 7e181877dSKumar Gala * modification, are permitted provided that the following conditions are met: 8e181877dSKumar Gala * * Redistributions of source code must retain the above copyright 9e181877dSKumar Gala * notice, this list of conditions and the following disclaimer. 10e181877dSKumar Gala * * Redistributions in binary form must reproduce the above copyright 11e181877dSKumar Gala * notice, this list of conditions and the following disclaimer in the 12e181877dSKumar Gala * documentation and/or other materials provided with the distribution. 13e181877dSKumar Gala * * Neither the name of Freescale Semiconductor nor the 14e181877dSKumar Gala * names of its contributors may be used to endorse or promote products 15e181877dSKumar Gala * derived from this software without specific prior written permission. 16e181877dSKumar Gala * 17e181877dSKumar Gala * 18e181877dSKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the 19e181877dSKumar Gala * GNU General Public License ("GPL") as published by the Free Software 20e181877dSKumar Gala * Foundation, either version 2 of that License or (at your option) any 21e181877dSKumar Gala * later version. 22e181877dSKumar Gala * 23e181877dSKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 24e181877dSKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25e181877dSKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26e181877dSKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27e181877dSKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28e181877dSKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29e181877dSKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30e181877dSKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31e181877dSKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32e181877dSKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33e181877dSKumar Gala */ 34e181877dSKumar Gala 35dc37374bSHongtao Jia/include/ "p3041si-pre.dtsi" 36e181877dSKumar Gala 37e181877dSKumar Gala/ { 38e181877dSKumar Gala model = "fsl,P3041DS"; 39e181877dSKumar Gala compatible = "fsl,P3041DS"; 40e181877dSKumar Gala #address-cells = <2>; 41e181877dSKumar Gala #size-cells = <2>; 42e181877dSKumar Gala interrupt-parent = <&mpic>; 43e181877dSKumar Gala 4484e0f1c1SIgal Liberman aliases { 4584e0f1c1SIgal Liberman phy_rgmii_0 = &phy_rgmii_0; 4684e0f1c1SIgal Liberman phy_rgmii_1 = &phy_rgmii_1; 4784e0f1c1SIgal Liberman phy_sgmii_1c = &phy_sgmii_1c; 4884e0f1c1SIgal Liberman phy_sgmii_1d = &phy_sgmii_1d; 4984e0f1c1SIgal Liberman phy_sgmii_1e = &phy_sgmii_1e; 5084e0f1c1SIgal Liberman phy_sgmii_1f = &phy_sgmii_1f; 5184e0f1c1SIgal Liberman phy_xgmii_1 = &phy_xgmii_1; 5284e0f1c1SIgal Liberman phy_xgmii_2 = &phy_xgmii_2; 5384e0f1c1SIgal Liberman emi1_rgmii = &hydra_mdio_rgmii; 5484e0f1c1SIgal Liberman emi1_sgmii = &hydra_mdio_sgmii; 5584e0f1c1SIgal Liberman emi2_xgmii = &hydra_mdio_xgmii; 5684e0f1c1SIgal Liberman }; 5784e0f1c1SIgal Liberman 58e181877dSKumar Gala memory { 59e181877dSKumar Gala device_type = "memory"; 60e181877dSKumar Gala }; 61e181877dSKumar Gala 621e8ed06dSKumar Gala reserved-memory { 631e8ed06dSKumar Gala #address-cells = <2>; 641e8ed06dSKumar Gala #size-cells = <2>; 651e8ed06dSKumar Gala ranges; 661e8ed06dSKumar Gala 671e8ed06dSKumar Gala bman_fbpr: bman-fbpr { 681e8ed06dSKumar Gala size = <0 0x1000000>; 691e8ed06dSKumar Gala alignment = <0 0x1000000>; 701e8ed06dSKumar Gala }; 717f6972a0SKumar Gala qman_fqd: qman-fqd { 727f6972a0SKumar Gala size = <0 0x400000>; 737f6972a0SKumar Gala alignment = <0 0x400000>; 747f6972a0SKumar Gala }; 757f6972a0SKumar Gala qman_pfdr: qman-pfdr { 767f6972a0SKumar Gala size = <0 0x2000000>; 777f6972a0SKumar Gala alignment = <0 0x2000000>; 787f6972a0SKumar Gala }; 791e8ed06dSKumar Gala }; 801e8ed06dSKumar Gala 81b9df0223SStephen George dcsr: dcsr@f00000000 { 82b9df0223SStephen George ranges = <0x00000000 0xf 0x00000000 0x01008000>; 83b9df0223SStephen George }; 84b9df0223SStephen George 851e8ed06dSKumar Gala bportals: bman-portals@ff4000000 { 861e8ed06dSKumar Gala ranges = <0x0 0xf 0xf4000000 0x200000>; 871e8ed06dSKumar Gala }; 881e8ed06dSKumar Gala 897f6972a0SKumar Gala qportals: qman-portals@ff4200000 { 907f6972a0SKumar Gala ranges = <0x0 0xf 0xf4200000 0x200000>; 917f6972a0SKumar Gala }; 927f6972a0SKumar Gala 93e181877dSKumar Gala soc: soc@ffe000000 { 94b4c3804dSKumar Gala ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 95b4c3804dSKumar Gala reg = <0xf 0xfe000000 0 0x00001000>; 96e181877dSKumar Gala spi@110000 { 97e181877dSKumar Gala flash@0 { 98e181877dSKumar Gala #address-cells = <1>; 99e181877dSKumar Gala #size-cells = <1>; 100fba4e9f9SHou Zhiqiang compatible = "spansion,s25sl12801", "jedec,spi-nor"; 101e181877dSKumar Gala reg = <0>; 102e1bd5d8bSShaohui Xie spi-max-frequency = <35000000>; /* input clock */ 103e181877dSKumar Gala partition@u-boot { 104e181877dSKumar Gala label = "u-boot"; 105e181877dSKumar Gala reg = <0x00000000 0x00100000>; 106e181877dSKumar Gala read-only; 107e181877dSKumar Gala }; 108e181877dSKumar Gala partition@kernel { 109e181877dSKumar Gala label = "kernel"; 110e181877dSKumar Gala reg = <0x00100000 0x00500000>; 111e181877dSKumar Gala read-only; 112e181877dSKumar Gala }; 113e181877dSKumar Gala partition@dtb { 114e181877dSKumar Gala label = "dtb"; 115e181877dSKumar Gala reg = <0x00600000 0x00100000>; 116e181877dSKumar Gala read-only; 117e181877dSKumar Gala }; 118e181877dSKumar Gala partition@fs { 119e181877dSKumar Gala label = "file system"; 120e181877dSKumar Gala reg = <0x00700000 0x00900000>; 121e181877dSKumar Gala }; 122e181877dSKumar Gala }; 123e181877dSKumar Gala }; 124e181877dSKumar Gala 125e181877dSKumar Gala i2c@118100 { 126e181877dSKumar Gala eeprom@51 { 127*226b9391SJavier Martinez Canillas compatible = "atmel,24c256"; 128e181877dSKumar Gala reg = <0x51>; 129e181877dSKumar Gala }; 130e181877dSKumar Gala eeprom@52 { 131*226b9391SJavier Martinez Canillas compatible = "atmel,24c256"; 132e181877dSKumar Gala reg = <0x52>; 133e181877dSKumar Gala }; 134e181877dSKumar Gala }; 135e181877dSKumar Gala 136e181877dSKumar Gala i2c@119100 { 137e181877dSKumar Gala rtc@68 { 138e181877dSKumar Gala compatible = "dallas,ds3232"; 139e181877dSKumar Gala reg = <0x68>; 140e181877dSKumar Gala interrupts = <0x1 0x1 0 0>; 141e181877dSKumar Gala }; 14294701fcbSHongtao Jia ina220@40 { 14394701fcbSHongtao Jia compatible = "ti,ina220"; 14494701fcbSHongtao Jia reg = <0x40>; 14594701fcbSHongtao Jia shunt-resistor = <1000>; 14694701fcbSHongtao Jia }; 14794701fcbSHongtao Jia ina220@41 { 14894701fcbSHongtao Jia compatible = "ti,ina220"; 14994701fcbSHongtao Jia reg = <0x41>; 15094701fcbSHongtao Jia shunt-resistor = <1000>; 15194701fcbSHongtao Jia }; 15294701fcbSHongtao Jia ina220@44 { 15394701fcbSHongtao Jia compatible = "ti,ina220"; 15494701fcbSHongtao Jia reg = <0x44>; 15594701fcbSHongtao Jia shunt-resistor = <1000>; 15694701fcbSHongtao Jia }; 15794701fcbSHongtao Jia ina220@45 { 15894701fcbSHongtao Jia compatible = "ti,ina220"; 15994701fcbSHongtao Jia reg = <0x45>; 16094701fcbSHongtao Jia shunt-resistor = <1000>; 16194701fcbSHongtao Jia }; 16217ae4f0aSJia Hongtao adt7461@4c { 16317ae4f0aSJia Hongtao compatible = "adi,adt7461"; 16417ae4f0aSJia Hongtao reg = <0x4c>; 16517ae4f0aSJia Hongtao }; 166e181877dSKumar Gala }; 16784e0f1c1SIgal Liberman 16884e0f1c1SIgal Liberman fman@400000 { 16984e0f1c1SIgal Liberman ethernet@e0000 { 17084e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_1c>; 17184e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 17284e0f1c1SIgal Liberman }; 17384e0f1c1SIgal Liberman 17484e0f1c1SIgal Liberman ethernet@e2000 { 17584e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_1d>; 17684e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 17784e0f1c1SIgal Liberman }; 17884e0f1c1SIgal Liberman 17984e0f1c1SIgal Liberman ethernet@e4000 { 18084e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_1e>; 18184e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 18284e0f1c1SIgal Liberman }; 18384e0f1c1SIgal Liberman 18484e0f1c1SIgal Liberman ethernet@e6000 { 18584e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_1f>; 18684e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 18784e0f1c1SIgal Liberman }; 18884e0f1c1SIgal Liberman 18984e0f1c1SIgal Liberman ethernet@e8000 { 19084e0f1c1SIgal Liberman phy-handle = <&phy_rgmii_1>; 19184e0f1c1SIgal Liberman phy-connection-type = "rgmii"; 19284e0f1c1SIgal Liberman }; 19384e0f1c1SIgal Liberman 19484e0f1c1SIgal Liberman ethernet@f0000 { 19584e0f1c1SIgal Liberman phy-handle = <&phy_xgmii_1>; 19684e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 19784e0f1c1SIgal Liberman }; 19884e0f1c1SIgal Liberman 19984e0f1c1SIgal Liberman hydra_mdio_xgmii: mdio@f1000 { 20084e0f1c1SIgal Liberman status = "disabled"; 20184e0f1c1SIgal Liberman 20284e0f1c1SIgal Liberman phy_xgmii_1: ethernet-phy@4 { 20384e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 20484e0f1c1SIgal Liberman reg = <0x4>; 20584e0f1c1SIgal Liberman }; 20684e0f1c1SIgal Liberman 20784e0f1c1SIgal Liberman phy_xgmii_2: ethernet-phy@0 { 20884e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 20984e0f1c1SIgal Liberman reg = <0x0>; 21084e0f1c1SIgal Liberman }; 21184e0f1c1SIgal Liberman }; 21284e0f1c1SIgal Liberman }; 213e181877dSKumar Gala }; 214e181877dSKumar Gala 21554986964SKumar Gala rio: rapidio@ffe0c0000 { 21654986964SKumar Gala reg = <0xf 0xfe0c0000 0 0x11000>; 21754986964SKumar Gala 21854986964SKumar Gala port1 { 21954986964SKumar Gala ranges = <0 0 0xc 0x20000000 0 0x10000000>; 22054986964SKumar Gala }; 22154986964SKumar Gala port2 { 22254986964SKumar Gala ranges = <0 0 0xc 0x30000000 0 0x10000000>; 22354986964SKumar Gala }; 22454986964SKumar Gala }; 22554986964SKumar Gala 226b4c3804dSKumar Gala lbc: localbus@ffe124000 { 227e181877dSKumar Gala reg = <0xf 0xfe124000 0 0x1000>; 228e181877dSKumar Gala ranges = <0 0 0xf 0xe8000000 0x08000000 22904243c4dSLei Xu 2 0 0xf 0xffa00000 0x00040000 230e181877dSKumar Gala 3 0 0xf 0xffdf0000 0x00008000>; 231e181877dSKumar Gala 232e181877dSKumar Gala flash@0,0 { 233e181877dSKumar Gala compatible = "cfi-flash"; 234e181877dSKumar Gala reg = <0 0 0x08000000>; 235e181877dSKumar Gala bank-width = <2>; 236e181877dSKumar Gala device-width = <2>; 237e181877dSKumar Gala }; 238e181877dSKumar Gala 23904243c4dSLei Xu nand@2,0 { 24004243c4dSLei Xu #address-cells = <1>; 24104243c4dSLei Xu #size-cells = <1>; 24204243c4dSLei Xu compatible = "fsl,elbc-fcm-nand"; 24304243c4dSLei Xu reg = <0x2 0x0 0x40000>; 24404243c4dSLei Xu 24504243c4dSLei Xu partition@0 { 24604243c4dSLei Xu label = "NAND U-Boot Image"; 24704243c4dSLei Xu reg = <0x0 0x02000000>; 24804243c4dSLei Xu read-only; 24904243c4dSLei Xu }; 25004243c4dSLei Xu 25104243c4dSLei Xu partition@2000000 { 25204243c4dSLei Xu label = "NAND Root File System"; 25304243c4dSLei Xu reg = <0x02000000 0x10000000>; 25404243c4dSLei Xu }; 25504243c4dSLei Xu 25604243c4dSLei Xu partition@12000000 { 25704243c4dSLei Xu label = "NAND Compressed RFS Image"; 25804243c4dSLei Xu reg = <0x12000000 0x08000000>; 25904243c4dSLei Xu }; 26004243c4dSLei Xu 26104243c4dSLei Xu partition@1a000000 { 26204243c4dSLei Xu label = "NAND Linux Kernel Image"; 26304243c4dSLei Xu reg = <0x1a000000 0x04000000>; 26404243c4dSLei Xu }; 26504243c4dSLei Xu 26604243c4dSLei Xu partition@1e000000 { 26704243c4dSLei Xu label = "NAND DTB Image"; 26804243c4dSLei Xu reg = <0x1e000000 0x01000000>; 26904243c4dSLei Xu }; 27004243c4dSLei Xu 27104243c4dSLei Xu partition@1f000000 { 27204243c4dSLei Xu label = "NAND Writable User area"; 27304243c4dSLei Xu reg = <0x1f000000 0x21000000>; 27404243c4dSLei Xu }; 27504243c4dSLei Xu }; 27604243c4dSLei Xu 277e181877dSKumar Gala board-control@3,0 { 27884e0f1c1SIgal Liberman #address-cells = <1>; 27984e0f1c1SIgal Liberman #size-cells = <1>; 280499ccb27STimur Tabi compatible = "fsl,p3041ds-fpga", "fsl,fpga-ngpixis"; 281499ccb27STimur Tabi reg = <3 0 0x30>; 28284e0f1c1SIgal Liberman ranges = <0 3 0 0x30>; 28384e0f1c1SIgal Liberman 28484e0f1c1SIgal Liberman mdio-mux-emi1 { 28584e0f1c1SIgal Liberman #address-cells = <1>; 28684e0f1c1SIgal Liberman #size-cells = <0>; 28784e0f1c1SIgal Liberman compatible = "mdio-mux-mmioreg", "mdio-mux"; 28884e0f1c1SIgal Liberman mdio-parent-bus = <&mdio0>; 28984e0f1c1SIgal Liberman reg = <9 1>; 29084e0f1c1SIgal Liberman mux-mask = <0x78>; 29184e0f1c1SIgal Liberman 29284e0f1c1SIgal Liberman hydra_mdio_rgmii: rgmii-mdio@8 { 29384e0f1c1SIgal Liberman #address-cells = <1>; 29484e0f1c1SIgal Liberman #size-cells = <0>; 29584e0f1c1SIgal Liberman reg = <8>; 29684e0f1c1SIgal Liberman status = "disabled"; 29784e0f1c1SIgal Liberman 29884e0f1c1SIgal Liberman phy_rgmii_0: ethernet-phy@0 { 29984e0f1c1SIgal Liberman reg = <0x0>; 30084e0f1c1SIgal Liberman }; 30184e0f1c1SIgal Liberman 30284e0f1c1SIgal Liberman phy_rgmii_1: ethernet-phy@1 { 30384e0f1c1SIgal Liberman reg = <0x1>; 30484e0f1c1SIgal Liberman }; 30584e0f1c1SIgal Liberman }; 30684e0f1c1SIgal Liberman 30784e0f1c1SIgal Liberman hydra_mdio_sgmii: sgmii-mdio@28 { 30884e0f1c1SIgal Liberman #address-cells = <1>; 30984e0f1c1SIgal Liberman #size-cells = <0>; 31084e0f1c1SIgal Liberman reg = <0x28>; 31184e0f1c1SIgal Liberman status = "disabled"; 31284e0f1c1SIgal Liberman 31384e0f1c1SIgal Liberman phy_sgmii_1c: ethernet-phy@1c { 31484e0f1c1SIgal Liberman reg = <0x1c>; 31584e0f1c1SIgal Liberman }; 31684e0f1c1SIgal Liberman 31784e0f1c1SIgal Liberman phy_sgmii_1d: ethernet-phy@1d { 31884e0f1c1SIgal Liberman reg = <0x1d>; 31984e0f1c1SIgal Liberman }; 32084e0f1c1SIgal Liberman 32184e0f1c1SIgal Liberman phy_sgmii_1e: ethernet-phy@1e { 32284e0f1c1SIgal Liberman reg = <0x1e>; 32384e0f1c1SIgal Liberman }; 32484e0f1c1SIgal Liberman 32584e0f1c1SIgal Liberman phy_sgmii_1f: ethernet-phy@1f { 32684e0f1c1SIgal Liberman reg = <0x1f>; 32784e0f1c1SIgal Liberman }; 32884e0f1c1SIgal Liberman }; 32984e0f1c1SIgal Liberman }; 330e181877dSKumar Gala }; 331e181877dSKumar Gala }; 332e181877dSKumar Gala 333e181877dSKumar Gala pci0: pcie@ffe200000 { 334e181877dSKumar Gala reg = <0xf 0xfe200000 0 0x1000>; 335e181877dSKumar Gala ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 336e181877dSKumar Gala 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 337e181877dSKumar Gala pcie@0 { 338e181877dSKumar Gala ranges = <0x02000000 0 0xe0000000 339e181877dSKumar Gala 0x02000000 0 0xe0000000 340e181877dSKumar Gala 0 0x20000000 341e181877dSKumar Gala 342e181877dSKumar Gala 0x01000000 0 0x00000000 343e181877dSKumar Gala 0x01000000 0 0x00000000 344e181877dSKumar Gala 0 0x00010000>; 345e181877dSKumar Gala }; 346e181877dSKumar Gala }; 347e181877dSKumar Gala 348e181877dSKumar Gala pci1: pcie@ffe201000 { 349e181877dSKumar Gala reg = <0xf 0xfe201000 0 0x1000>; 350e181877dSKumar Gala ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 351e181877dSKumar Gala 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 352e181877dSKumar Gala pcie@0 { 353e181877dSKumar Gala ranges = <0x02000000 0 0xe0000000 354e181877dSKumar Gala 0x02000000 0 0xe0000000 355e181877dSKumar Gala 0 0x20000000 356e181877dSKumar Gala 357e181877dSKumar Gala 0x01000000 0 0x00000000 358e181877dSKumar Gala 0x01000000 0 0x00000000 359e181877dSKumar Gala 0 0x00010000>; 360e181877dSKumar Gala }; 361e181877dSKumar Gala }; 362e181877dSKumar Gala 363e181877dSKumar Gala pci2: pcie@ffe202000 { 364e181877dSKumar Gala reg = <0xf 0xfe202000 0 0x1000>; 365e181877dSKumar Gala ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 366e181877dSKumar Gala 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 367e181877dSKumar Gala pcie@0 { 368e181877dSKumar Gala ranges = <0x02000000 0 0xe0000000 369e181877dSKumar Gala 0x02000000 0 0xe0000000 370e181877dSKumar Gala 0 0x20000000 371e181877dSKumar Gala 372e181877dSKumar Gala 0x01000000 0 0x00000000 373e181877dSKumar Gala 0x01000000 0 0x00000000 374e181877dSKumar Gala 0 0x00010000>; 375e181877dSKumar Gala }; 376e181877dSKumar Gala }; 377e181877dSKumar Gala 378e181877dSKumar Gala pci3: pcie@ffe203000 { 379e181877dSKumar Gala reg = <0xf 0xfe203000 0 0x1000>; 380e181877dSKumar Gala ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000 381e181877dSKumar Gala 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; 382e181877dSKumar Gala pcie@0 { 383e181877dSKumar Gala ranges = <0x02000000 0 0xe0000000 384e181877dSKumar Gala 0x02000000 0 0xe0000000 385e181877dSKumar Gala 0 0x20000000 386e181877dSKumar Gala 387e181877dSKumar Gala 0x01000000 0 0x00000000 388e181877dSKumar Gala 0x01000000 0 0x00000000 389e181877dSKumar Gala 0 0x00010000>; 390e181877dSKumar Gala }; 391e181877dSKumar Gala }; 392e181877dSKumar Gala}; 393b4c3804dSKumar Gala 394dc37374bSHongtao Jia/include/ "p3041si-post.dtsi" 395