1 /* 1 /* 2 * P1020 UTM-PC Device Tree Source stub (no ad 2 * P1020 UTM-PC Device Tree Source stub (no addresses or top-level ranges) 3 * 3 * 4 * Copyright 2012 Freescale Semiconductor Inc. 4 * Copyright 2012 Freescale Semiconductor Inc. 5 * 5 * 6 * Redistribution and use in source and binary 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that t 7 * modification, are permitted provided that the following conditions are met: 8 * * Redistributions of source code must r 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and t 9 * notice, this list of conditions and the following disclaimer. 10 * * Redistributions in binary form must r 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and t 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials 12 * documentation and/or other materials provided with the distribution. 13 * * Neither the name of Freescale Semicon 13 * * Neither the name of Freescale Semiconductor nor the 14 * names of its contributors may be used 14 * names of its contributors may be used to endorse or promote products 15 * derived from this software without sp 15 * derived from this software without specific prior written permission. 16 * 16 * 17 * 17 * 18 * ALTERNATIVELY, this software may be distrib 18 * ALTERNATIVELY, this software may be distributed under the terms of the 19 * GNU General Public License ("GPL") as publi 19 * GNU General Public License ("GPL") as published by the Free Software 20 * Foundation, either version 2 of that Licens 20 * Foundation, either version 2 of that License or (at your option) any 21 * later version. 21 * later version. 22 * 22 * 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semi 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, B 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS F 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Sem 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEM 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONT 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILIT 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 */ 33 */ 34 34 35 &lbc { 35 &lbc { 36 nor@0,0 { 36 nor@0,0 { 37 #address-cells = <1>; 37 #address-cells = <1>; 38 #size-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 39 compatible = "cfi-flash"; 40 reg = <0x0 0x0 0x2000000>; 40 reg = <0x0 0x0 0x2000000>; 41 bank-width = <2>; 41 bank-width = <2>; 42 device-width = <1>; 42 device-width = <1>; 43 43 44 partition@0 { 44 partition@0 { 45 /* 256KB for DTB Image 45 /* 256KB for DTB Image */ 46 reg = <0x0 0x00040000> 46 reg = <0x0 0x00040000>; 47 label = "NOR DTB Image 47 label = "NOR DTB Image"; 48 }; 48 }; 49 49 50 partition@40000 { 50 partition@40000 { 51 /* 3.75 MB for Linux K 51 /* 3.75 MB for Linux Kernel Image */ 52 reg = <0x00040000 0x00 52 reg = <0x00040000 0x003c0000>; 53 label = "NOR Linux Ker 53 label = "NOR Linux Kernel Image"; 54 }; 54 }; 55 55 56 partition@400000 { 56 partition@400000 { 57 /* 27MB for Root file 57 /* 27MB for Root file System */ 58 reg = <0x00400000 0x01 58 reg = <0x00400000 0x01b00000>; 59 label = "NOR Root File 59 label = "NOR Root File System"; 60 }; 60 }; 61 61 62 partition@1f00000 { 62 partition@1f00000 { 63 /* This location must 63 /* This location must not be altered */ 64 /* 512KB for u-boot Bo 64 /* 512KB for u-boot Bootloader Image */ 65 /* 512KB for u-boot En 65 /* 512KB for u-boot Environment Variables */ 66 reg = <0x01f00000 0x00 66 reg = <0x01f00000 0x00100000>; 67 label = "NOR U-Boot Im 67 label = "NOR U-Boot Image"; 68 read-only; 68 read-only; 69 }; 69 }; 70 }; 70 }; 71 }; 71 }; 72 72 73 &soc { 73 &soc { 74 i2c@3000 { 74 i2c@3000 { 75 rtc@68 { 75 rtc@68 { 76 compatible = "dallas,d 76 compatible = "dallas,ds1339"; 77 reg = <0x68>; 77 reg = <0x68>; 78 }; 78 }; 79 }; 79 }; 80 80 81 mdio@24000 { 81 mdio@24000 { 82 phy0: ethernet-phy@0 { 82 phy0: ethernet-phy@0 { 83 interrupts = <3 1 0 0> 83 interrupts = <3 1 0 0>; 84 reg = <0x0>; 84 reg = <0x0>; 85 }; 85 }; 86 phy1: ethernet-phy@1 { 86 phy1: ethernet-phy@1 { 87 interrupts = <2 1 0 0> 87 interrupts = <2 1 0 0>; 88 reg = <0x1>; 88 reg = <0x1>; 89 }; 89 }; 90 phy2: ethernet-phy@2 { 90 phy2: ethernet-phy@2 { 91 interrupts = <1 1 0 0> 91 interrupts = <1 1 0 0>; 92 reg = <0x2>; 92 reg = <0x2>; 93 }; 93 }; 94 }; 94 }; 95 95 96 mdio@25000 { 96 mdio@25000 { 97 tbi1: tbi-phy@11 { 97 tbi1: tbi-phy@11 { 98 reg = <0x11>; 98 reg = <0x11>; 99 device_type = "tbi-phy 99 device_type = "tbi-phy"; 100 }; 100 }; 101 }; 101 }; 102 102 103 mdio@26000 { 103 mdio@26000 { 104 tbi2: tbi-phy@11 { 104 tbi2: tbi-phy@11 { 105 reg = <0x11>; 105 reg = <0x11>; 106 device_type = "tbi-phy 106 device_type = "tbi-phy"; 107 }; 107 }; 108 }; 108 }; 109 109 110 enet0: ethernet@b0000 { 110 enet0: ethernet@b0000 { 111 phy-handle = <&phy2>; 111 phy-handle = <&phy2>; 112 phy-connection-type = "rgmii-i 112 phy-connection-type = "rgmii-id"; 113 }; 113 }; 114 114 115 enet1: ethernet@b1000 { 115 enet1: ethernet@b1000 { 116 phy-handle = <&phy0>; 116 phy-handle = <&phy0>; 117 tbi-handle = <&tbi1>; 117 tbi-handle = <&tbi1>; 118 phy-connection-type = "sgmii"; 118 phy-connection-type = "sgmii"; 119 }; 119 }; 120 120 121 enet2: ethernet@b2000 { 121 enet2: ethernet@b2000 { 122 phy-handle = <&phy1>; 122 phy-handle = <&phy1>; 123 phy-connection-type = "rgmii-i 123 phy-connection-type = "rgmii-id"; 124 }; 124 }; 125 125 126 usb@22000 { 126 usb@22000 { 127 phy_type = "ulpi"; 127 phy_type = "ulpi"; 128 }; 128 }; 129 129 130 /* USB2 is shared with localbus, so it 130 /* USB2 is shared with localbus, so it must be disabled 131 by default. We can't put 'status = 131 by default. We can't put 'status = "disabled";' here 132 since U-Boot doesn't clear the stat 132 since U-Boot doesn't clear the status property when 133 it enables USB2. OTOH, U-Boot does 133 it enables USB2. OTOH, U-Boot does create a new node 134 when there isn't any. So, just comm 134 when there isn't any. So, just comment it out. 135 */ 135 */ 136 usb@23000 { 136 usb@23000 { 137 status = "disabled"; 137 status = "disabled"; 138 phy_type = "ulpi"; 138 phy_type = "ulpi"; 139 }; 139 }; 140 }; 140 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.