Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 1 | /* |
| 2 | * P1022 DS 36Bit Physical Address Map Device Tree Source |
| 3 | * |
| 4 | * Copyright 2010 Freescale Semiconductor, Inc. |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 11 | /include/ "fsl/p1022si-pre.dtsi" |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 12 | / { |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 13 | model = "fsl,P1022DS"; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 14 | compatible = "fsl,P1022DS"; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 15 | |
| 16 | memory { |
| 17 | device_type = "memory"; |
| 18 | }; |
| 19 | |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 20 | lbc: localbus@fffe05000 { |
| 21 | reg = <0xf 0xffe05000 0 0x1000>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 22 | ranges = <0x0 0x0 0xf 0xe8000000 0x08000000 |
| 23 | 0x1 0x0 0xf 0xe0000000 0x08000000 |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 24 | 0x2 0x0 0xf 0xffa00000 0x00040000 |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 25 | 0x3 0x0 0xf 0xffdf0000 0x00008000>; |
| 26 | |
| 27 | nor@0,0 { |
| 28 | #address-cells = <1>; |
| 29 | #size-cells = <1>; |
| 30 | compatible = "cfi-flash"; |
| 31 | reg = <0x0 0x0 0x8000000>; |
| 32 | bank-width = <2>; |
| 33 | device-width = <1>; |
| 34 | |
| 35 | partition@0 { |
| 36 | reg = <0x0 0x03000000>; |
| 37 | label = "ramdisk-nor"; |
| 38 | read-only; |
| 39 | }; |
| 40 | |
| 41 | partition@3000000 { |
| 42 | reg = <0x03000000 0x00e00000>; |
| 43 | label = "diagnostic-nor"; |
| 44 | read-only; |
| 45 | }; |
| 46 | |
| 47 | partition@3e00000 { |
| 48 | reg = <0x03e00000 0x00200000>; |
| 49 | label = "dink-nor"; |
| 50 | read-only; |
| 51 | }; |
| 52 | |
| 53 | partition@4000000 { |
| 54 | reg = <0x04000000 0x00400000>; |
| 55 | label = "kernel-nor"; |
| 56 | read-only; |
| 57 | }; |
| 58 | |
| 59 | partition@4400000 { |
| 60 | reg = <0x04400000 0x03b00000>; |
| 61 | label = "jffs2-nor"; |
| 62 | }; |
| 63 | |
| 64 | partition@7f00000 { |
| 65 | reg = <0x07f00000 0x00080000>; |
| 66 | label = "dtb-nor"; |
| 67 | read-only; |
| 68 | }; |
| 69 | |
| 70 | partition@7f80000 { |
| 71 | reg = <0x07f80000 0x00080000>; |
| 72 | label = "u-boot-nor"; |
| 73 | read-only; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | nand@2,0 { |
| 78 | #address-cells = <1>; |
| 79 | #size-cells = <1>; |
| 80 | compatible = "fsl,elbc-fcm-nand"; |
| 81 | reg = <0x2 0x0 0x40000>; |
| 82 | |
| 83 | partition@0 { |
| 84 | reg = <0x0 0x02000000>; |
| 85 | label = "u-boot-nand"; |
| 86 | read-only; |
| 87 | }; |
| 88 | |
| 89 | partition@2000000 { |
| 90 | reg = <0x02000000 0x10000000>; |
| 91 | label = "jffs2-nand"; |
| 92 | }; |
| 93 | |
| 94 | partition@12000000 { |
| 95 | reg = <0x12000000 0x10000000>; |
| 96 | label = "ramdisk-nand"; |
| 97 | read-only; |
| 98 | }; |
| 99 | |
| 100 | partition@22000000 { |
| 101 | reg = <0x22000000 0x04000000>; |
| 102 | label = "kernel-nand"; |
| 103 | }; |
| 104 | |
| 105 | partition@26000000 { |
| 106 | reg = <0x26000000 0x01000000>; |
| 107 | label = "dtb-nand"; |
| 108 | read-only; |
| 109 | }; |
| 110 | |
| 111 | partition@27000000 { |
| 112 | reg = <0x27000000 0x19000000>; |
| 113 | label = "reserved-nand"; |
| 114 | }; |
| 115 | }; |
Timur Tabi | 6341efe | 2010-10-07 14:36:42 -0500 | [diff] [blame] | 116 | |
| 117 | board-control@3,0 { |
Timur Tabi | 499ccb27 | 2011-09-15 13:04:13 -0500 | [diff] [blame] | 118 | compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis"; |
Timur Tabi | 6341efe | 2010-10-07 14:36:42 -0500 | [diff] [blame] | 119 | reg = <3 0 0x30>; |
| 120 | interrupt-parent = <&mpic>; |
| 121 | /* |
| 122 | * IRQ8 is generated if the "EVENT" switch is pressed |
| 123 | * and PX_CTL[EVESEL] is set to 00. |
| 124 | */ |
Scott Wood | c281739 | 2011-03-24 16:43:52 -0500 | [diff] [blame] | 125 | interrupts = <8 8 0 0>; |
Timur Tabi | 6341efe | 2010-10-07 14:36:42 -0500 | [diff] [blame] | 126 | }; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 127 | }; |
| 128 | |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 129 | soc: soc@fffe00000 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 130 | ranges = <0x0 0xf 0xffe00000 0x100000>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 131 | |
| 132 | i2c@3100 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 133 | wm8776:codec@1a { |
| 134 | compatible = "wlf,wm8776"; |
| 135 | reg = <0x1a>; |
Timur Tabi | f3fed68 | 2011-06-08 14:03:05 -0500 | [diff] [blame] | 136 | /* |
| 137 | * clock-frequency will be set by U-Boot if |
| 138 | * the clock is enabled. |
| 139 | */ |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 140 | }; |
| 141 | }; |
| 142 | |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 143 | spi@7000 { |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 144 | flash@0 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 145 | #address-cells = <1>; |
| 146 | #size-cells = <1>; |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 147 | compatible = "spansion,s25sl12801"; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 148 | reg = <0>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 149 | spi-max-frequency = <40000000>; /* input clock */ |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 150 | |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 151 | partition@0 { |
| 152 | label = "u-boot-spi"; |
| 153 | reg = <0x00000000 0x00100000>; |
| 154 | read-only; |
| 155 | }; |
| 156 | partition@100000 { |
| 157 | label = "kernel-spi"; |
| 158 | reg = <0x00100000 0x00500000>; |
| 159 | read-only; |
| 160 | }; |
| 161 | partition@600000 { |
| 162 | label = "dtb-spi"; |
| 163 | reg = <0x00600000 0x00100000>; |
| 164 | read-only; |
| 165 | }; |
| 166 | partition@700000 { |
| 167 | label = "file system-spi"; |
| 168 | reg = <0x00700000 0x00900000>; |
| 169 | }; |
| 170 | }; |
| 171 | }; |
| 172 | |
| 173 | ssi@15000 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 174 | fsl,mode = "i2s-slave"; |
| 175 | codec-handle = <&wm8776>; |
Timur Tabi | f3fed68 | 2011-06-08 14:03:05 -0500 | [diff] [blame] | 176 | fsl,ssi-asynchronous; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 177 | }; |
| 178 | |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 179 | usb@22000 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 180 | phy_type = "ulpi"; |
| 181 | }; |
| 182 | |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 183 | usb@23000 { |
| 184 | status = "disabled"; |
| 185 | }; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 186 | |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 187 | mdio@24000 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 188 | phy0: ethernet-phy@0 { |
Scott Wood | c281739 | 2011-03-24 16:43:52 -0500 | [diff] [blame] | 189 | interrupts = <3 1 0 0>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 190 | reg = <0x1>; |
| 191 | }; |
| 192 | phy1: ethernet-phy@1 { |
Scott Wood | c281739 | 2011-03-24 16:43:52 -0500 | [diff] [blame] | 193 | interrupts = <9 1 0 0>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 194 | reg = <0x2>; |
| 195 | }; |
| 196 | }; |
| 197 | |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 198 | ethernet@b0000 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 199 | phy-handle = <&phy0>; |
| 200 | phy-connection-type = "rgmii-id"; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 201 | }; |
| 202 | |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 203 | ethernet@b1000 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 204 | phy-handle = <&phy1>; |
| 205 | phy-connection-type = "rgmii-id"; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 206 | }; |
| 207 | }; |
| 208 | |
| 209 | pci0: pcie@fffe09000 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 210 | reg = <0xf 0xffe09000 0 0x1000>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 211 | ranges = <0x2000000 0x0 0xa0000000 0xc 0x20000000 0x0 0x20000000 |
| 212 | 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 213 | pcie@0 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 214 | ranges = <0x2000000 0x0 0xe0000000 |
| 215 | 0x2000000 0x0 0xe0000000 |
| 216 | 0x0 0x20000000 |
| 217 | |
| 218 | 0x1000000 0x0 0x0 |
| 219 | 0x1000000 0x0 0x0 |
| 220 | 0x0 0x100000>; |
| 221 | }; |
| 222 | }; |
| 223 | |
| 224 | pci1: pcie@fffe0a000 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 225 | reg = <0xf 0xffe0a000 0 0x1000>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 226 | ranges = <0x2000000 0x0 0xc0000000 0xc 0x40000000 0x0 0x20000000 |
| 227 | 0x1000000 0x0 0x00000000 0xf 0xffc20000 0x0 0x10000>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 228 | pcie@0 { |
| 229 | reg = <0x0 0x0 0x0 0x0 0x0>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 230 | ranges = <0x2000000 0x0 0xe0000000 |
| 231 | 0x2000000 0x0 0xe0000000 |
| 232 | 0x0 0x20000000 |
| 233 | |
| 234 | 0x1000000 0x0 0x0 |
| 235 | 0x1000000 0x0 0x0 |
| 236 | 0x0 0x100000>; |
| 237 | }; |
| 238 | }; |
| 239 | |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 240 | pci2: pcie@fffe0b000 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 241 | reg = <0xf 0xffe0b000 0 0x1000>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 242 | ranges = <0x2000000 0x0 0x80000000 0xc 0x00000000 0x0 0x20000000 |
| 243 | 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>; |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 244 | pcie@0 { |
Timur Tabi | 30be4c9 | 2010-07-02 17:25:03 -0500 | [diff] [blame] | 245 | ranges = <0x2000000 0x0 0xe0000000 |
| 246 | 0x2000000 0x0 0xe0000000 |
| 247 | 0x0 0x20000000 |
| 248 | |
| 249 | 0x1000000 0x0 0x0 |
| 250 | 0x1000000 0x0 0x0 |
| 251 | 0x0 0x100000>; |
| 252 | }; |
| 253 | }; |
| 254 | }; |
Kumar Gala | ab827d9 | 2011-10-26 01:01:54 -0500 | [diff] [blame^] | 255 | |
| 256 | /include/ "fsl/p1022si-post.dtsi" |