1 /* 1 /* 2 * MPC8536DS Device Tree Source stub (no addre 2 * MPC8536DS Device Tree Source stub (no addresses or top-level ranges) 3 * 3 * 4 * Copyright 2011 Freescale Semiconductor Inc. 4 * Copyright 2011 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 0x8000000>; 40 reg = <0x0 0x0 0x8000000>; 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 reg = <0x0 0x03000000> 45 reg = <0x0 0x03000000>; 46 label = "ramdisk-nor"; 46 label = "ramdisk-nor"; 47 }; 47 }; 48 48 49 partition@3000000 { 49 partition@3000000 { 50 reg = <0x03000000 0x00 50 reg = <0x03000000 0x00e00000>; 51 label = "diagnostic-no 51 label = "diagnostic-nor"; 52 read-only; 52 read-only; 53 }; 53 }; 54 54 55 partition@3e00000 { 55 partition@3e00000 { 56 reg = <0x03e00000 0x00 56 reg = <0x03e00000 0x00200000>; 57 label = "dink-nor"; 57 label = "dink-nor"; 58 read-only; 58 read-only; 59 }; 59 }; 60 60 61 partition@4000000 { 61 partition@4000000 { 62 reg = <0x04000000 0x00 62 reg = <0x04000000 0x00400000>; 63 label = "kernel-nor"; 63 label = "kernel-nor"; 64 }; 64 }; 65 65 66 partition@4400000 { 66 partition@4400000 { 67 reg = <0x04400000 0x03 67 reg = <0x04400000 0x03b00000>; 68 label = "fs-nor"; 68 label = "fs-nor"; 69 }; 69 }; 70 70 71 partition@7f00000 { 71 partition@7f00000 { 72 reg = <0x07f00000 0x00 72 reg = <0x07f00000 0x00080000>; 73 label = "dtb-nor"; 73 label = "dtb-nor"; 74 }; 74 }; 75 75 76 partition@7f80000 { 76 partition@7f80000 { 77 reg = <0x07f80000 0x00 77 reg = <0x07f80000 0x00080000>; 78 label = "u-boot-nor"; 78 label = "u-boot-nor"; 79 read-only; 79 read-only; 80 }; 80 }; 81 }; 81 }; 82 82 83 nand@2,0 { 83 nand@2,0 { 84 #address-cells = <1>; 84 #address-cells = <1>; 85 #size-cells = <1>; 85 #size-cells = <1>; 86 compatible = "fsl,mpc8536-fcm- 86 compatible = "fsl,mpc8536-fcm-nand", 87 "fsl,elbc-fcm-nan 87 "fsl,elbc-fcm-nand"; 88 reg = <0x2 0x0 0x40000>; 88 reg = <0x2 0x0 0x40000>; 89 89 90 partition@0 { 90 partition@0 { 91 reg = <0x0 0x02000000> 91 reg = <0x0 0x02000000>; 92 label = "u-boot-nand"; 92 label = "u-boot-nand"; 93 read-only; 93 read-only; 94 }; 94 }; 95 95 96 partition@2000000 { 96 partition@2000000 { 97 reg = <0x02000000 0x10 97 reg = <0x02000000 0x10000000>; 98 label = "fs-nand"; 98 label = "fs-nand"; 99 }; 99 }; 100 100 101 partition@12000000 { 101 partition@12000000 { 102 reg = <0x12000000 0x08 102 reg = <0x12000000 0x08000000>; 103 label = "ramdisk-nand" 103 label = "ramdisk-nand"; 104 }; 104 }; 105 105 106 partition@1a000000 { 106 partition@1a000000 { 107 reg = <0x1a000000 0x04 107 reg = <0x1a000000 0x04000000>; 108 label = "kernel-nand"; 108 label = "kernel-nand"; 109 }; 109 }; 110 110 111 partition@1e000000 { 111 partition@1e000000 { 112 reg = <0x1e000000 0x01 112 reg = <0x1e000000 0x01000000>; 113 label = "dtb-nand"; 113 label = "dtb-nand"; 114 }; 114 }; 115 115 116 partition@1f000000 { 116 partition@1f000000 { 117 reg = <0x1f000000 0x21 117 reg = <0x1f000000 0x21000000>; 118 label = "empty-nand"; 118 label = "empty-nand"; 119 }; 119 }; 120 }; 120 }; 121 121 122 board-control@3,0 { 122 board-control@3,0 { 123 compatible = "fsl,mpc8536ds-fp 123 compatible = "fsl,mpc8536ds-fpga-pixis"; 124 reg = <0x3 0x0 0x8000>; 124 reg = <0x3 0x0 0x8000>; 125 }; 125 }; 126 }; 126 }; 127 127 128 &board_soc { 128 &board_soc { 129 i2c@3100 { 129 i2c@3100 { 130 rtc@68 { 130 rtc@68 { 131 compatible = "dallas,d 131 compatible = "dallas,ds3232"; 132 reg = <0x68>; 132 reg = <0x68>; 133 interrupts = <0 0x1 0 133 interrupts = <0 0x1 0 0>; 134 }; 134 }; 135 adt7461@4c { 135 adt7461@4c { 136 compatible = "adi,adt7 136 compatible = "adi,adt7461"; 137 reg = <0x4c>; 137 reg = <0x4c>; 138 }; 138 }; 139 }; 139 }; 140 140 141 spi@7000 { 141 spi@7000 { 142 flash@0 { 142 flash@0 { 143 #address-cells = <1>; 143 #address-cells = <1>; 144 #size-cells = <1>; 144 #size-cells = <1>; 145 compatible = "spansion 145 compatible = "spansion,s25sl12801", "jedec,spi-nor"; 146 reg = <0>; 146 reg = <0>; 147 spi-max-frequency = <4 147 spi-max-frequency = <40000000>; 148 partition@u-boot { 148 partition@u-boot { 149 label = "u-boo 149 label = "u-boot"; 150 reg = <0x00000 150 reg = <0x00000000 0x00100000>; 151 read-only; 151 read-only; 152 }; 152 }; 153 partition@kernel { 153 partition@kernel { 154 label = "kerne 154 label = "kernel"; 155 reg = <0x00100 155 reg = <0x00100000 0x00500000>; 156 read-only; 156 read-only; 157 }; 157 }; 158 partition@dtb { 158 partition@dtb { 159 label = "dtb"; 159 label = "dtb"; 160 reg = <0x00600 160 reg = <0x00600000 0x00100000>; 161 read-only; 161 read-only; 162 }; 162 }; 163 partition@fs { 163 partition@fs { 164 label = "file 164 label = "file system"; 165 reg = <0x00700 165 reg = <0x00700000 0x00900000>; 166 }; 166 }; 167 }; 167 }; 168 flash@1 { 168 flash@1 { 169 compatible = "spansion 169 compatible = "spansion,s25sl12801", "jedec,spi-nor"; 170 reg = <1>; 170 reg = <1>; 171 spi-max-frequency = <4 171 spi-max-frequency = <40000000>; 172 }; 172 }; 173 flash@2 { 173 flash@2 { 174 compatible = "spansion 174 compatible = "spansion,s25sl12801", "jedec,spi-nor"; 175 reg = <2>; 175 reg = <2>; 176 spi-max-frequency = <4 176 spi-max-frequency = <40000000>; 177 }; 177 }; 178 flash@3 { 178 flash@3 { 179 compatible = "spansion 179 compatible = "spansion,s25sl12801", "jedec,spi-nor"; 180 reg = <3>; 180 reg = <3>; 181 spi-max-frequency = <4 181 spi-max-frequency = <40000000>; 182 }; 182 }; 183 }; 183 }; 184 184 185 usb@22000 { 185 usb@22000 { 186 phy_type = "ulpi"; 186 phy_type = "ulpi"; 187 }; 187 }; 188 188 189 usb@23000 { 189 usb@23000 { 190 phy_type = "ulpi"; 190 phy_type = "ulpi"; 191 }; 191 }; 192 192 193 enet0: ethernet@24000 { 193 enet0: ethernet@24000 { 194 tbi-handle = <&tbi0>; 194 tbi-handle = <&tbi0>; 195 phy-handle = <&phy1>; 195 phy-handle = <&phy1>; 196 phy-connection-type = "rgmii-i 196 phy-connection-type = "rgmii-id"; 197 }; 197 }; 198 198 199 mdio@24520 { 199 mdio@24520 { 200 phy0: ethernet-phy@0 { 200 phy0: ethernet-phy@0 { 201 interrupts = <10 0x1 0 201 interrupts = <10 0x1 0 0>; 202 reg = <0>; 202 reg = <0>; 203 }; 203 }; 204 phy1: ethernet-phy@1 { 204 phy1: ethernet-phy@1 { 205 interrupts = <10 0x1 0 205 interrupts = <10 0x1 0 0>; 206 reg = <1>; 206 reg = <1>; 207 }; 207 }; 208 sgmii_phy0: sgmii-phy@0 { 208 sgmii_phy0: sgmii-phy@0 { 209 interrupts = <6 1 0 0> 209 interrupts = <6 1 0 0>; 210 reg = <0x1d>; 210 reg = <0x1d>; 211 }; 211 }; 212 sgmii_phy1: sgmii-phy@1 { 212 sgmii_phy1: sgmii-phy@1 { 213 interrupts = <6 1 0 0> 213 interrupts = <6 1 0 0>; 214 reg = <0x1c>; 214 reg = <0x1c>; 215 }; 215 }; 216 tbi0: tbi-phy@11 { 216 tbi0: tbi-phy@11 { 217 reg = <0x11>; 217 reg = <0x11>; 218 device_type = "tbi-phy 218 device_type = "tbi-phy"; 219 }; 219 }; 220 }; 220 }; 221 221 222 enet2: ethernet@26000 { 222 enet2: ethernet@26000 { 223 tbi-handle = <&tbi1>; 223 tbi-handle = <&tbi1>; 224 phy-handle = <&phy0>; 224 phy-handle = <&phy0>; 225 phy-connection-type = "rgmii-i 225 phy-connection-type = "rgmii-id"; 226 }; 226 }; 227 227 228 mdio@26520 { 228 mdio@26520 { 229 #address-cells = <1>; 229 #address-cells = <1>; 230 #size-cells = <0>; 230 #size-cells = <0>; 231 compatible = "fsl,gianfar-tbi" 231 compatible = "fsl,gianfar-tbi"; 232 reg = <0x26520 0x20>; 232 reg = <0x26520 0x20>; 233 233 234 tbi1: tbi-phy@11 { 234 tbi1: tbi-phy@11 { 235 reg = <0x11>; 235 reg = <0x11>; 236 device_type = "tbi-phy 236 device_type = "tbi-phy"; 237 }; 237 }; 238 }; 238 }; 239 239 240 usb@2b000 { 240 usb@2b000 { 241 dr_mode = "peripheral"; 241 dr_mode = "peripheral"; 242 phy_type = "ulpi"; 242 phy_type = "ulpi"; 243 }; 243 }; 244 }; 244 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.