1 /* 2 * P1022 DS Device Tree Source stub (no addres 3 * 4 * Copyright 2012 Freescale Semiconductor Inc. 5 * 6 * Redistribution and use in source and binary 7 * modification, are permitted provided that t 8 * * Redistributions of source code must r 9 * notice, this list of conditions and t 10 * * Redistributions in binary form must r 11 * notice, this list of conditions and t 12 * documentation and/or other materials 13 * * Neither the name of Freescale Semicon 14 * names of its contributors may be used 15 * derived from this software without sp 16 * 17 * 18 * ALTERNATIVELY, this software may be distrib 19 * GNU General Public License ("GPL") as publi 20 * Foundation, either version 2 of that Licens 21 * later version. 22 * 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semi 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, B 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS F 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Sem 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEM 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILIT 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 0x00 52 label = "diagnostic-no 53 read-only; 54 }; 55 56 partition@3e00000 { 57 reg = <0x03e00000 0x00 58 label = "dink-nor"; 59 read-only; 60 }; 61 62 partition@4000000 { 63 reg = <0x04000000 0x00 64 label = "kernel-nor"; 65 read-only; 66 }; 67 68 partition@4400000 { 69 reg = <0x04400000 0x03 70 label = "jffs2-nor"; 71 }; 72 73 partition@7f00000 { 74 reg = <0x07f00000 0x00 75 label = "dtb-nor"; 76 read-only; 77 }; 78 79 partition@7f80000 { 80 reg = <0x07f80000 0x00 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-nan 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 0x10 100 label = "jffs2-nand"; 101 }; 102 103 partition@12000000 { 104 reg = <0x12000000 0x10 105 label = "ramdisk-nand" 106 read-only; 107 }; 108 109 partition@22000000 { 110 reg = <0x22000000 0x04 111 label = "kernel-nand"; 112 }; 113 114 partition@26000000 { 115 reg = <0x26000000 0x01 116 label = "dtb-nand"; 117 read-only; 118 }; 119 120 partition@27000000 { 121 reg = <0x27000000 0x19 122 label = "reserved-nand 123 }; 124 }; 125 126 board-control@3,0 { 127 compatible = "fsl,p1022ds-fpga 128 reg = <3 0 0x30>; 129 interrupt-parent = <&mpic>; 130 /* 131 * IRQ8 is generated if the "E 132 * and PX_CTL[EVESEL] is set t 133 */ 134 interrupts = <8 0 0 0>; 135 }; 136 }; 137 138 &board_soc { 139 i2c@3100 { 140 wm8776:codec@1a { 141 compatible = "wlf,wm87 142 reg = <0x1a>; 143 /* 144 * clock-frequency wil 145 * the clock is enable 146 */ 147 }; 148 rtc@68 { 149 compatible = "dallas,d 150 reg = <0x68>; 151 interrupts = <0x1 0x1 152 }; 153 adt7461@4c { 154 compatible = "adi,adt7 155 reg = <0x4c>; 156 }; 157 }; 158 159 spi@7000 { 160 flash@0 { 161 #address-cells = <1>; 162 #size-cells = <1>; 163 compatible = "spansion 164 reg = <0>; 165 spi-max-frequency = <4 166 167 partition@0 { 168 label = "u-boo 169 reg = <0x00000 170 read-only; 171 }; 172 partition@100000 { 173 label = "kerne 174 reg = <0x00100 175 read-only; 176 }; 177 partition@600000 { 178 label = "dtb-s 179 reg = <0x00600 180 read-only; 181 }; 182 partition@700000 { 183 label = "file 184 reg = <0x00700 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 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-i 233 }; 234 235 ethernet@b1000 { 236 phy-handle = <&phy1>; 237 phy-connection-type = "rgmii-i 238 }; 239 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.