| 1 |
/* |
| 2 |
* P1022 DS Device Tree Source stub (no addresses or top-level ranges) |
| 3 |
* |
| 4 |
* Copyright 2012 Freescale Semiconductor Inc. |
| 5 |
* |
| 6 |
* Redistribution and use in source and binary forms, with or without |
| 7 |
* modification, are permitted provided that the following conditions are met: |
| 8 |
* * Redistributions of source code must retain the above copyright |
| 9 |
* notice, this list of conditions and the following disclaimer. |
| 10 |
* * Redistributions in binary form must reproduce the above copyright |
| 11 |
* notice, this list of conditions and the following disclaimer in the |
| 12 |
* documentation and/or other materials provided with the distribution. |
| 13 |
* * Neither the name of Freescale Semiconductor nor the |
| 14 |
* names of its contributors may be used to endorse or promote products |
| 15 |
* derived from this software without specific prior written permission. |
| 16 |
* |
| 17 |
* |
| 18 |
* ALTERNATIVELY, this software may be distributed under the terms of the |
| 19 |
* GNU General Public License ("GPL") as published by the Free Software |
| 20 |
* Foundation, either version 2 of that License or (at your option) any |
| 21 |
* later version. |
| 22 |
* |
| 23 |
* THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY |
| 24 |
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 25 |
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 26 |
* DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY |
| 27 |
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 28 |
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 29 |
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 30 |
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 31 |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 32 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 33 |
*/ |
| 34 |
|
| 35 |
&board_lbc { |
| 36 |
nor@0,0 { |
| 37 |
#address-cells = <1>; |
| 38 |
#size-cells = <1>; |
| 39 |
compatible = "cfi-flash"; |
| 40 |
reg = <0x0 0x0 0x8000000>; |
| 41 |
bank-width = <2>; |
| 42 |
device-width = <1>; |
| 43 |
|
| 44 |
partition@0 { |
| 45 |
reg = <0x0 0x03000000>; |
| 46 |
label = "ramdisk-nor"; |
| 47 |
read-only; |
| 48 |
}; |
| 49 |
|
| 50 |
partition@3000000 { |
| 51 |
reg = <0x03000000 0x00e00000>; |
| 52 |
label = "diagnostic-nor"; |
| 53 |
read-only; |
| 54 |
}; |
| 55 |
|
| 56 |
partition@3e00000 { |
| 57 |
reg = <0x03e00000 0x00200000>; |
| 58 |
label = "dink-nor"; |
| 59 |
read-only; |
| 60 |
}; |
| 61 |
|
| 62 |
partition@4000000 { |
| 63 |
reg = <0x04000000 0x00400000>; |
| 64 |
label = "kernel-nor"; |
| 65 |
read-only; |
| 66 |
}; |
| 67 |
|
| 68 |
partition@4400000 { |
| 69 |
reg = <0x04400000 0x03b00000>; |
| 70 |
label = "jffs2-nor"; |
| 71 |
}; |
| 72 |
|
| 73 |
partition@7f00000 { |
| 74 |
reg = <0x07f00000 0x00080000>; |
| 75 |
label = "dtb-nor"; |
| 76 |
read-only; |
| 77 |
}; |
| 78 |
|
| 79 |
partition@7f80000 { |
| 80 |
reg = <0x07f80000 0x00080000>; |
| 81 |
label = "u-boot-nor"; |
| 82 |
read-only; |
| 83 |
}; |
| 84 |
}; |
| 85 |
|
| 86 |
nand@2,0 { |
| 87 |
#address-cells = <1>; |
| 88 |
#size-cells = <1>; |
| 89 |
compatible = "fsl,elbc-fcm-nand"; |
| 90 |
reg = <0x2 0x0 0x40000>; |
| 91 |
|
| 92 |
partition@0 { |
| 93 |
reg = <0x0 0x02000000>; |
| 94 |
label = "u-boot-nand"; |
| 95 |
read-only; |
| 96 |
}; |
| 97 |
|
| 98 |
partition@2000000 { |
| 99 |
reg = <0x02000000 0x10000000>; |
| 100 |
label = "jffs2-nand"; |
| 101 |
}; |
| 102 |
|
| 103 |
partition@12000000 { |
| 104 |
reg = <0x12000000 0x10000000>; |
| 105 |
label = "ramdisk-nand"; |
| 106 |
read-only; |
| 107 |
}; |
| 108 |
|
| 109 |
partition@22000000 { |
| 110 |
reg = <0x22000000 0x04000000>; |
| 111 |
label = "kernel-nand"; |
| 112 |
}; |
| 113 |
|
| 114 |
partition@26000000 { |
| 115 |
reg = <0x26000000 0x01000000>; |
| 116 |
label = "dtb-nand"; |
| 117 |
read-only; |
| 118 |
}; |
| 119 |
|
| 120 |
partition@27000000 { |
| 121 |
reg = <0x27000000 0x19000000>; |
| 122 |
label = "reserved-nand"; |
| 123 |
}; |
| 124 |
}; |
| 125 |
|
| 126 |
board-control@3,0 { |
| 127 |
compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis"; |
| 128 |
reg = <3 0 0x30>; |
| 129 |
interrupt-parent = <&mpic>; |
| 130 |
/* |
| 131 |
* IRQ8 is generated if the "EVENT" switch is pressed |
| 132 |
* and PX_CTL[EVESEL] is set to 00. |
| 133 |
*/ |
| 134 |
interrupts = <8 0 0 0>; |
| 135 |
}; |
| 136 |
}; |
| 137 |
|
| 138 |
&board_soc { |
| 139 |
i2c@3100 { |
| 140 |
wm8776:codec@1a { |
| 141 |
compatible = "wlf,wm8776"; |
| 142 |
reg = <0x1a>; |
| 143 |
/* |
| 144 |
* clock-frequency will be set by U-Boot if |
| 145 |
* the clock is enabled. |
| 146 |
*/ |
| 147 |
}; |
| 148 |
rtc@68 { |
| 149 |
compatible = "dallas,ds3232"; |
| 150 |
reg = <0x68>; |
| 151 |
interrupts = <0x1 0x1 0 0>; |
| 152 |
}; |
| 153 |
adt7461@4c { |
| 154 |
compatible = "adi,adt7461"; |
| 155 |
reg = <0x4c>; |
| 156 |
}; |
| 157 |
}; |
| 158 |
|
| 159 |
spi@7000 { |
| 160 |
flash@0 { |
| 161 |
#address-cells = <1>; |
| 162 |
#size-cells = <1>; |
| 163 |
compatible = "spansion,s25sl12801", "jedec,spi-nor"; |
| 164 |
reg = <0>; |
| 165 |
spi-max-frequency = <40000000>; /* input clock */ |
| 166 |
|
| 167 |
partition@0 { |
| 168 |
label = "u-boot-spi"; |
| 169 |
reg = <0x00000000 0x00100000>; |
| 170 |
read-only; |
| 171 |
}; |
| 172 |
partition@100000 { |
| 173 |
label = "kernel-spi"; |
| 174 |
reg = <0x00100000 0x00500000>; |
| 175 |
read-only; |
| 176 |
}; |
| 177 |
partition@600000 { |
| 178 |
label = "dtb-spi"; |
| 179 |
reg = <0x00600000 0x00100000>; |
| 180 |
read-only; |
| 181 |
}; |
| 182 |
partition@700000 { |
| 183 |
label = "file system-spi"; |
| 184 |
reg = <0x00700000 0x00900000>; |
| 185 |
}; |
| 186 |
}; |
| 187 |
}; |
| 188 |
|
| 189 |
ssi@15000 { |
| 190 |
fsl,mode = "i2s-slave"; |
| 191 |
codec-handle = <&wm8776>; |
| 192 |
fsl,ssi-asynchronous; |
| 193 |
}; |
| 194 |
|
| 195 |
usb@22000 { |
| 196 |
phy_type = "ulpi"; |
| 197 |
}; |
| 198 |
|
| 199 |
usb@23000 { |
| 200 |
status = "disabled"; |
| 201 |
}; |
| 202 |
|
| 203 |
mdio@24000 { |
| 204 |
phy0: ethernet-phy@0 { |
| 205 |
interrupts = <3 1 0 0>; |
| 206 |
reg = <0x1>; |
| 207 |
}; |
| 208 |
phy1: ethernet-phy@1 { |
| 209 |
interrupts = <9 1 0 0>; |
| 210 |
reg = <0x2>; |
| 211 |
}; |
| 212 |
tbi-phy@2 { |
| 213 |
device_type = "tbi-phy"; |
| 214 |
reg = <0x2>; |
| 215 |
}; |
| 216 |
}; |
| 217 |
|
| 218 |
ptp_clock@b0e00 { |
| 219 |
compatible = "fsl,etsec-ptp"; |
| 220 |
reg = <0xb0e00 0xb0>; |
| 221 |
interrupts = <68 2 0 0 69 2 0 0>; |
| 222 |
fsl,tclk-period = <5>; |
| 223 |
fsl,tmr-prsc = <2>; |
| 224 |
fsl,tmr-add = <0xc01ebd3d>; |
| 225 |
fsl,tmr-fiper1 = <999999995>; |
| 226 |
fsl,tmr-fiper2 = <99990>; |
| 227 |
fsl,max-adj = <266499999>; |
| 228 |
}; |
| 229 |
|
| 230 |
ethernet@b0000 { |
| 231 |
phy-handle = <&phy0>; |
| 232 |
phy-connection-type = "rgmii-id"; |
| 233 |
}; |
| 234 |
|
| 235 |
ethernet@b1000 { |
| 236 |
phy-handle = <&phy1>; |
| 237 |
phy-connection-type = "rgmii-id"; |
| 238 |
}; |
| 239 |
}; |