Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * MPC8544DS Device Tree Source stub (no addresses or top-level ranges)
0003  *
0004  * Copyright 2011 Freescale Semiconductor Inc.
0005  *
0006  * Redistribution and use in source and binary forms, with or without
0007  * modification, are permitted provided that the following conditions are met:
0008  *     * Redistributions of source code must retain the above copyright
0009  *       notice, this list of conditions and the following disclaimer.
0010  *     * Redistributions in binary form must reproduce the above copyright
0011  *       notice, this list of conditions and the following disclaimer in the
0012  *       documentation and/or other materials provided with the distribution.
0013  *     * Neither the name of Freescale Semiconductor nor the
0014  *       names of its contributors may be used to endorse or promote products
0015  *       derived from this software without specific prior written permission.
0016  *
0017  *
0018  * ALTERNATIVELY, this software may be distributed under the terms of the
0019  * GNU General Public License ("GPL") as published by the Free Software
0020  * Foundation, either version 2 of that License or (at your option) any
0021  * later version.
0022  *
0023  * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
0024  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
0025  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
0026  * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
0027  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
0028  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
0029  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
0030  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0031  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
0032  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0033  */
0034 
0035 &board_lbc {
0036         nor@0,0 {
0037                 #address-cells = <1>;
0038                 #size-cells = <1>;
0039                 compatible = "cfi-flash";
0040                 reg = <0x0 0x0 0x800000>;
0041                 bank-width = <2>;
0042                 device-width = <1>;
0043 
0044                 partition@0 {
0045                         reg = <0x0 0x10000>;
0046                         label = "dtb-nor";
0047                 };
0048 
0049                 partition@20000 {
0050                         reg = <0x20000 0x30000>;
0051                         label = "diagnostic-nor";
0052                         read-only;
0053                 };
0054 
0055                 partition@200000 {
0056                         reg = <0x200000 0x200000>;
0057                         label = "dink-nor";
0058                         read-only;
0059                 };
0060 
0061                 partition@400000 {
0062                         reg = <0x400000 0x380000>;
0063                         label = "kernel-nor";
0064                 };
0065 
0066                 partition@780000 {
0067                         reg = <0x780000 0x80000>;
0068                         label = "u-boot-nor";
0069                         read-only;
0070                 };
0071         };
0072 };
0073 
0074 &board_soc {
0075         enet0: ethernet@24000 {
0076                 phy-handle = <&phy0>;
0077                 tbi-handle = <&tbi0>;
0078                 phy-connection-type = "rgmii-id";
0079         };
0080 
0081         mdio@24520 {
0082                 phy0: ethernet-phy@0 {
0083                         interrupts = <10 1 0 0>;
0084                         reg = <0x0>;
0085                 };
0086                 phy1: ethernet-phy@1 {
0087                         interrupts = <10 1 0 0>;
0088                         reg = <0x1>;
0089                 };
0090 
0091                 sgmii_phy0: sgmii-phy@0 {
0092                         interrupts = <6 1 0 0>;
0093                         reg = <0x1c>;
0094                 };
0095                 sgmii_phy1: sgmii-phy@1 {
0096                         interrupts = <6 1 0 0>;
0097                         reg = <0x1d>;
0098                 };
0099 
0100                 tbi0: tbi-phy@11 {
0101                         reg = <0x11>;
0102                         device_type = "tbi-phy";
0103                 };
0104         };
0105 
0106         enet2: ethernet@26000 {
0107                 phy-handle = <&phy1>;
0108                 tbi-handle = <&tbi1>;
0109                 phy-connection-type = "rgmii-id";
0110         };
0111 
0112         mdio@26520 {
0113                 tbi1: tbi-phy@11 {
0114                         reg = <0x11>;
0115                         device_type = "tbi-phy";
0116                 };
0117         };
0118 };
0119 
0120 &board_pci3 {
0121         pcie@0 {
0122                 interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
0123                 interrupt-map = <
0124                         // IDSEL 0x1c  USB
0125                         0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
0126                         0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
0127                         0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
0128                         0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
0129 
0130                         // IDSEL 0x1d  Audio
0131                         0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
0132 
0133                         // IDSEL 0x1e Legacy
0134                         0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
0135                         0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
0136 
0137                         // IDSEL 0x1f IDE/SATA
0138                         0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
0139                         0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
0140                         >;
0141 
0142 
0143                 uli1575@0 {
0144                         reg = <0x0 0x0 0x0 0x0 0x0>;
0145                         #size-cells = <2>;
0146                         #address-cells = <3>;
0147                         ranges = <0x2000000 0x0 0xb0000000
0148                                   0x2000000 0x0 0xb0000000
0149                                   0x0 0x100000
0150 
0151                                   0x1000000 0x0 0x0
0152                                   0x1000000 0x0 0x0
0153                                   0x0 0x100000>;
0154                         isa@1e {
0155                                 device_type = "isa";
0156                                 #interrupt-cells = <2>;
0157                                 #size-cells = <1>;
0158                                 #address-cells = <2>;
0159                                 reg = <0xf000 0x0 0x0 0x0 0x0>;
0160                                 ranges = <0x1 0x0 0x1000000 0x0 0x0
0161                                           0x1000>;
0162                                 interrupt-parent = <&i8259>;
0163 
0164                                 i8259: interrupt-controller@20 {
0165                                         reg = <0x1 0x20 0x2
0166                                                0x1 0xa0 0x2
0167                                                0x1 0x4d0 0x2>;
0168                                         interrupt-controller;
0169                                         device_type = "interrupt-controller";
0170                                         #address-cells = <0>;
0171                                         #interrupt-cells = <2>;
0172                                         compatible = "chrp,iic";
0173                                         interrupts = <9 2 0 0>;
0174                                         interrupt-parent = <&mpic>;
0175                                 };
0176 
0177                                 i8042@60 {
0178                                         #size-cells = <0>;
0179                                         #address-cells = <1>;
0180                                         reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
0181                                         interrupts = <1 3 12 3>;
0182                                         interrupt-parent =
0183                                                 <&i8259>;
0184 
0185                                         keyboard@0 {
0186                                                 reg = <0x0>;
0187                                                 compatible = "pnpPNP,303";
0188                                         };
0189 
0190                                         mouse@1 {
0191                                                 reg = <0x1>;
0192                                                 compatible = "pnpPNP,f03";
0193                                         };
0194                                 };
0195 
0196                                 rtc@70 {
0197                                         compatible = "pnpPNP,b00";
0198                                         reg = <0x1 0x70 0x2>;
0199                                 };
0200 
0201                                 gpio@400 {
0202                                         reg = <0x1 0x400 0x80>;
0203                                 };
0204                         };
0205                 };
0206         };
0207 };