xref: /linux/arch/powerpc/boot/dts/fsl/c293si-post.dtsi (revision ff2632d7d08edc11e8bd0629e9fcfebab25c78b4)
12c2f036aSMingkai Hu/*
22c2f036aSMingkai Hu * C293 Silicon/SoC Device Tree Source (post include)
32c2f036aSMingkai Hu *
42c2f036aSMingkai Hu * Copyright 2012 Freescale Semiconductor Inc.
52c2f036aSMingkai Hu *
62c2f036aSMingkai Hu * Redistribution and use in source and binary forms, with or without
72c2f036aSMingkai Hu * modification, are permitted provided that the following conditions are met:
82c2f036aSMingkai Hu *     * Redistributions of source code must retain the above copyright
92c2f036aSMingkai Hu *       notice, this list of conditions and the following disclaimer.
102c2f036aSMingkai Hu *     * Redistributions in binary form must reproduce the above copyright
112c2f036aSMingkai Hu *       notice, this list of conditions and the following disclaimer in the
122c2f036aSMingkai Hu *       documentation and/or other materials provided with the distribution.
132c2f036aSMingkai Hu *     * Neither the name of Freescale Semiconductor nor the
142c2f036aSMingkai Hu *       names of its contributors may be used to endorse or promote products
152c2f036aSMingkai Hu *       derived from this software without specific prior written permission.
162c2f036aSMingkai Hu *
172c2f036aSMingkai Hu *
182c2f036aSMingkai Hu * ALTERNATIVELY, this software may be distributed under the terms of the
192c2f036aSMingkai Hu * GNU General Public License ("GPL") as published by the Free Software
202c2f036aSMingkai Hu * Foundation, either version 2 of that License or (at your option) any
212c2f036aSMingkai Hu * later version.
222c2f036aSMingkai Hu *
232c2f036aSMingkai Hu * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
242c2f036aSMingkai Hu * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
252c2f036aSMingkai Hu * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
262c2f036aSMingkai Hu * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
272c2f036aSMingkai Hu * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
282c2f036aSMingkai Hu * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
292c2f036aSMingkai Hu * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
302c2f036aSMingkai Hu * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
312c2f036aSMingkai Hu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
322c2f036aSMingkai Hu * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
332c2f036aSMingkai Hu */
342c2f036aSMingkai Hu
352c2f036aSMingkai Hu&ifc {
362c2f036aSMingkai Hu	#address-cells = <2>;
372c2f036aSMingkai Hu	#size-cells = <1>;
38*0bf51cc9SLi Yang	compatible = "fsl,ifc";
392c2f036aSMingkai Hu	interrupts = <19 2 0 0>;
402c2f036aSMingkai Hu};
412c2f036aSMingkai Hu
422c2f036aSMingkai Hu/* controller at 0xa000 */
432c2f036aSMingkai Hu&pci0 {
442c2f036aSMingkai Hu	compatible = "fsl,qoriq-pcie-v2.2", "fsl,qoriq-pcie";
452c2f036aSMingkai Hu	device_type = "pci";
462c2f036aSMingkai Hu	#size-cells = <2>;
472c2f036aSMingkai Hu	#address-cells = <3>;
482c2f036aSMingkai Hu	bus-range = <0 255>;
492c2f036aSMingkai Hu	clock-frequency = <33333333>;
502c2f036aSMingkai Hu	interrupts = <16 2 0 0>;
512c2f036aSMingkai Hu
522c2f036aSMingkai Hu	pcie@0 {
532c2f036aSMingkai Hu		reg = <0 0 0 0 0>;
542c2f036aSMingkai Hu		#interrupt-cells = <1>;
552c2f036aSMingkai Hu		#size-cells = <2>;
562c2f036aSMingkai Hu		#address-cells = <3>;
572c2f036aSMingkai Hu		device_type = "pci";
582c2f036aSMingkai Hu		interrupts = <16 2 0 0>;
592c2f036aSMingkai Hu		interrupt-map-mask = <0xf800 0 0 7>;
602c2f036aSMingkai Hu		interrupt-map = <
612c2f036aSMingkai Hu			/* IDSEL 0x0 */
622c2f036aSMingkai Hu			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
632c2f036aSMingkai Hu			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
642c2f036aSMingkai Hu			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
652c2f036aSMingkai Hu			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
662c2f036aSMingkai Hu			>;
672c2f036aSMingkai Hu	};
682c2f036aSMingkai Hu};
692c2f036aSMingkai Hu
702c2f036aSMingkai Hu&soc {
712c2f036aSMingkai Hu	#address-cells = <1>;
722c2f036aSMingkai Hu	#size-cells = <1>;
732c2f036aSMingkai Hu	device_type = "soc";
742c2f036aSMingkai Hu	compatible = "simple-bus";
752c2f036aSMingkai Hu	bus-frequency = <0>;		// Filled out by uboot.
762c2f036aSMingkai Hu
772c2f036aSMingkai Hu	ecm-law@0 {
782c2f036aSMingkai Hu		compatible = "fsl,ecm-law";
792c2f036aSMingkai Hu		reg = <0x0 0x1000>;
802c2f036aSMingkai Hu		fsl,num-laws = <12>;
812c2f036aSMingkai Hu	};
822c2f036aSMingkai Hu
832c2f036aSMingkai Hu	ecm@1000 {
842c2f036aSMingkai Hu		compatible = "fsl,c293-ecm", "fsl,ecm";
852c2f036aSMingkai Hu		reg = <0x1000 0x1000>;
862c2f036aSMingkai Hu		interrupts = <16 2 0 0>;
872c2f036aSMingkai Hu	};
882c2f036aSMingkai Hu
892c2f036aSMingkai Hu	memory-controller@2000 {
902c2f036aSMingkai Hu		compatible = "fsl,c293-memory-controller";
912c2f036aSMingkai Hu		reg = <0x2000 0x1000>;
922c2f036aSMingkai Hu		interrupts = <16 2 0 0>;
932c2f036aSMingkai Hu	};
942c2f036aSMingkai Hu
952c2f036aSMingkai Hu/include/ "pq3-i2c-0.dtsi"
962c2f036aSMingkai Hu/include/ "pq3-i2c-1.dtsi"
972c2f036aSMingkai Hu/include/ "pq3-duart-0.dtsi"
982c2f036aSMingkai Hu/include/ "pq3-espi-0.dtsi"
992c2f036aSMingkai Hu	spi0: spi@7000 {
1002c2f036aSMingkai Hu		fsl,espi-num-chipselects = <1>;
1012c2f036aSMingkai Hu	};
1022c2f036aSMingkai Hu
1032c2f036aSMingkai Hu/include/ "pq3-gpio-0.dtsi"
1042c2f036aSMingkai Hu	L2: l2-cache-controller@20000 {
1052c2f036aSMingkai Hu		compatible = "fsl,c293-l2-cache-controller";
1062c2f036aSMingkai Hu		reg = <0x20000 0x1000>;
1072c2f036aSMingkai Hu		cache-line-size = <32>;	// 32 bytes
1082c2f036aSMingkai Hu		cache-size = <0x80000>; // L2,512K
1092c2f036aSMingkai Hu		interrupts = <16 2 0 0>;
1102c2f036aSMingkai Hu	};
1112c2f036aSMingkai Hu
1122c2f036aSMingkai Hu/include/ "pq3-dma-0.dtsi"
1132c2f036aSMingkai Hu/include/ "pq3-esdhc-0.dtsi"
1142c2f036aSMingkai Hu	sdhc@2e000 {
1152c2f036aSMingkai Hu		compatible = "fsl,c293-esdhc", "fsl,esdhc";
1162c2f036aSMingkai Hu		sdhci,auto-cmd12;
1172c2f036aSMingkai Hu	};
1182c2f036aSMingkai Hu
1192c2f036aSMingkai Hu	crypto@80000 {
1202c2f036aSMingkai Hu/include/ "qoriq-sec6.0-0.dtsi"
1212c2f036aSMingkai Hu	};
1222c2f036aSMingkai Hu
1232c2f036aSMingkai Hu	crypto@80000 {
1242c2f036aSMingkai Hu		reg = <0x80000 0x20000>;
1252c2f036aSMingkai Hu		ranges = <0x0 0x80000 0x20000>;
1262c2f036aSMingkai Hu
1272c2f036aSMingkai Hu		jr@1000 {
1282c2f036aSMingkai Hu			interrupts = <45 2 0 0>;
1292c2f036aSMingkai Hu		};
1302c2f036aSMingkai Hu		jr@2000 {
1312c2f036aSMingkai Hu			interrupts = <57 2 0 0>;
1322c2f036aSMingkai Hu		};
1332c2f036aSMingkai Hu	};
1342c2f036aSMingkai Hu
1352c2f036aSMingkai Hu	crypto@a0000 {
1362c2f036aSMingkai Hu/include/ "qoriq-sec6.0-0.dtsi"
1372c2f036aSMingkai Hu	};
1382c2f036aSMingkai Hu
1392c2f036aSMingkai Hu	crypto@a0000 {
1402c2f036aSMingkai Hu		reg = <0xa0000 0x20000>;
1412c2f036aSMingkai Hu		ranges = <0x0 0xa0000 0x20000>;
1422c2f036aSMingkai Hu
1432c2f036aSMingkai Hu		jr@1000 {
1442c2f036aSMingkai Hu			interrupts = <49 2 0 0>;
1452c2f036aSMingkai Hu		};
1462c2f036aSMingkai Hu		jr@2000 {
1472c2f036aSMingkai Hu			interrupts = <50 2 0 0>;
1482c2f036aSMingkai Hu		};
1492c2f036aSMingkai Hu	};
1502c2f036aSMingkai Hu
1512c2f036aSMingkai Hu	crypto@c0000 {
1522c2f036aSMingkai Hu/include/ "qoriq-sec6.0-0.dtsi"
1532c2f036aSMingkai Hu	};
1542c2f036aSMingkai Hu
1552c2f036aSMingkai Hu	crypto@c0000 {
1562c2f036aSMingkai Hu		reg = <0xc0000 0x20000>;
1572c2f036aSMingkai Hu		ranges = <0x0 0xc0000 0x20000>;
1582c2f036aSMingkai Hu
1592c2f036aSMingkai Hu		jr@1000 {
1602c2f036aSMingkai Hu			interrupts = <55 2 0 0>;
1612c2f036aSMingkai Hu		};
1622c2f036aSMingkai Hu		jr@2000 {
1632c2f036aSMingkai Hu			interrupts = <56 2 0 0>;
1642c2f036aSMingkai Hu		};
1652c2f036aSMingkai Hu	};
1662c2f036aSMingkai Hu
1672c2f036aSMingkai Hu/include/ "pq3-mpic.dtsi"
1682c2f036aSMingkai Hu/include/ "pq3-mpic-timer-B.dtsi"
1692c2f036aSMingkai Hu
1702c2f036aSMingkai Hu/include/ "pq3-etsec2-0.dtsi"
1712c2f036aSMingkai Hu	enet0: ethernet@b0000 {
1722c2f036aSMingkai Hu		queue-group@b0000 {
1732c2f036aSMingkai Hu			reg = <0x10000 0x1000>;
1742c2f036aSMingkai Hu		};
1752c2f036aSMingkai Hu	};
1762c2f036aSMingkai Hu
1772c2f036aSMingkai Hu/include/ "pq3-etsec2-1.dtsi"
1782c2f036aSMingkai Hu	enet1: ethernet@b1000 {
1792c2f036aSMingkai Hu		queue-group@b1000 {
1802c2f036aSMingkai Hu			reg = <0x11000 0x1000>;
1812c2f036aSMingkai Hu		};
1822c2f036aSMingkai Hu	};
1832c2f036aSMingkai Hu
1842c2f036aSMingkai Hu	global-utilities@e0000 {
1852c2f036aSMingkai Hu		compatible = "fsl,c293-guts";
1862c2f036aSMingkai Hu		reg = <0xe0000 0x1000>;
1872c2f036aSMingkai Hu		fsl,has-rstcr;
1882c2f036aSMingkai Hu	};
1892c2f036aSMingkai Hu};
190