11be62c6cSharninder rai/*
21be62c6cSharninder rai * BSC9132 Silicon/SoC Device Tree Source (post include)
31be62c6cSharninder rai *
41be62c6cSharninder rai * Copyright 2014 Freescale Semiconductor Inc.
51be62c6cSharninder rai *
61be62c6cSharninder rai * Redistribution and use in source and binary forms, with or without
71be62c6cSharninder rai * modification, are permitted provided that the following conditions are met:
81be62c6cSharninder rai *     * Redistributions of source code must retain the above copyright
91be62c6cSharninder rai *       notice, this list of conditions and the following disclaimer.
101be62c6cSharninder rai *     * Redistributions in binary form must reproduce the above copyright
111be62c6cSharninder rai *       notice, this list of conditions and the following disclaimer in the
121be62c6cSharninder rai *       documentation and/or other materials provided with the distribution.
131be62c6cSharninder rai *     * Neither the name of Freescale Semiconductor nor the
141be62c6cSharninder rai *       names of its contributors may be used to endorse or promote products
151be62c6cSharninder rai *       derived from this software without specific prior written permission.
161be62c6cSharninder rai *
171be62c6cSharninder rai *
181be62c6cSharninder rai * ALTERNATIVELY, this software may be distributed under the terms of the
191be62c6cSharninder rai * GNU General Public License ("GPL") as published by the Free Software
201be62c6cSharninder rai * Foundation, either version 2 of that License or (at your option) any
211be62c6cSharninder rai * later version.
221be62c6cSharninder rai *
231be62c6cSharninder rai * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
241be62c6cSharninder rai * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
251be62c6cSharninder rai * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
261be62c6cSharninder rai * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
271be62c6cSharninder rai * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
281be62c6cSharninder rai * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
291be62c6cSharninder rai * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
301be62c6cSharninder rai * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
311be62c6cSharninder rai * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
321be62c6cSharninder rai * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
331be62c6cSharninder rai */
341be62c6cSharninder rai
351be62c6cSharninder rai&ifc {
361be62c6cSharninder rai	#address-cells = <2>;
371be62c6cSharninder rai	#size-cells = <1>;
381be62c6cSharninder rai	compatible = "fsl,ifc", "simple-bus";
391be62c6cSharninder rai	/* FIXME: Test whether interrupts are split */
401be62c6cSharninder rai	interrupts = <16 2 0 0 20 2 0 0>;
411be62c6cSharninder rai};
421be62c6cSharninder rai
431be62c6cSharninder rai&soc {
441be62c6cSharninder rai	#address-cells = <1>;
451be62c6cSharninder rai	#size-cells = <1>;
461be62c6cSharninder rai	device_type = "soc";
471be62c6cSharninder rai	compatible = "fsl,bsc9132-immr", "simple-bus";
481be62c6cSharninder rai	bus-frequency = <0>;		// Filled out by uboot.
491be62c6cSharninder rai
501be62c6cSharninder rai	ecm-law@0 {
511be62c6cSharninder rai		compatible = "fsl,ecm-law";
521be62c6cSharninder rai		reg = <0x0 0x1000>;
531be62c6cSharninder rai		fsl,num-laws = <12>;
541be62c6cSharninder rai	};
551be62c6cSharninder rai
561be62c6cSharninder rai	ecm@1000 {
571be62c6cSharninder rai		compatible = "fsl,bsc9132-ecm", "fsl,ecm";
581be62c6cSharninder rai		reg = <0x1000 0x1000>;
591be62c6cSharninder rai		interrupts = <16 2 0 0>;
601be62c6cSharninder rai	};
611be62c6cSharninder rai
621be62c6cSharninder rai	memory-controller@2000 {
631be62c6cSharninder rai		compatible = "fsl,bsc9132-memory-controller";
641be62c6cSharninder rai		reg = <0x2000 0x1000>;
651be62c6cSharninder rai		interrupts = <16 2 1 8>;
661be62c6cSharninder rai	};
671be62c6cSharninder rai
681be62c6cSharninder rai/include/ "pq3-i2c-0.dtsi"
691be62c6cSharninder rai	i2c@3000 {
701be62c6cSharninder rai		interrupts = <17 2 0 0>;
711be62c6cSharninder rai	};
721be62c6cSharninder rai
731be62c6cSharninder rai/include/ "pq3-i2c-1.dtsi"
741be62c6cSharninder rai	i2c@3100 {
751be62c6cSharninder rai		interrupts = <17 2 0 0>;
761be62c6cSharninder rai	};
771be62c6cSharninder rai
781be62c6cSharninder rai/include/ "pq3-duart-0.dtsi"
791be62c6cSharninder rai	serial0: serial@4500 {
801be62c6cSharninder rai		interrupts = <18 2 0 0>;
811be62c6cSharninder rai	};
821be62c6cSharninder rai
831be62c6cSharninder rai	serial1: serial@4600 {
841be62c6cSharninder rai		interrupts = <18 2 0 0 >;
851be62c6cSharninder rai	};
861be62c6cSharninder rai/include/ "pq3-espi-0.dtsi"
871be62c6cSharninder rai	spi0: spi@7000 {
881be62c6cSharninder rai		fsl,espi-num-chipselects = <1>;
891be62c6cSharninder rai		interrupts = <22 0x2 0 0>;
901be62c6cSharninder rai	};
911be62c6cSharninder rai
921be62c6cSharninder rai/include/ "pq3-gpio-0.dtsi"
931be62c6cSharninder rai	gpio-controller@f000 {
941be62c6cSharninder rai		interrupts = <19 0x2 0 0>;
951be62c6cSharninder rai		};
961be62c6cSharninder rai
971be62c6cSharninder rai	L2: l2-cache-controller@20000 {
981be62c6cSharninder rai		compatible = "fsl,bsc9132-l2-cache-controller";
991be62c6cSharninder rai		reg = <0x20000 0x1000>;
1001be62c6cSharninder rai		cache-line-size = <32>;	// 32 bytes
1011be62c6cSharninder rai		cache-size = <0x40000>; // L2,256K
1021be62c6cSharninder rai		interrupts = <16 2 1 0>;
1031be62c6cSharninder rai	};
1041be62c6cSharninder rai
1051be62c6cSharninder rai/include/ "pq3-dma-0.dtsi"
1061be62c6cSharninder rai
1071be62c6cSharninder raidma@21300 {
1081be62c6cSharninder rai
1091be62c6cSharninder rai	dma-channel@0 {
1101be62c6cSharninder rai		interrupts = <62 2 0 0>;
1111be62c6cSharninder rai	};
1121be62c6cSharninder rai
1131be62c6cSharninder rai	dma-channel@80 {
1141be62c6cSharninder rai		interrupts = <63 2 0 0>;
1151be62c6cSharninder rai	};
1161be62c6cSharninder rai
1171be62c6cSharninder rai	dma-channel@100 {
1181be62c6cSharninder rai		interrupts = <64 2 0 0>;
1191be62c6cSharninder rai	};
1201be62c6cSharninder rai
1211be62c6cSharninder rai	dma-channel@180 {
1221be62c6cSharninder rai		interrupts = <65 2 0 0>;
1231be62c6cSharninder rai	};
1241be62c6cSharninder rai};
1251be62c6cSharninder rai
1261be62c6cSharninder rai/include/ "pq3-usb2-dr-0.dtsi"
1271be62c6cSharninder raiusb@22000 {
1281be62c6cSharninder rai	compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2";
1291be62c6cSharninder rai	interrupts = <40 0x2 0 0>;
1301be62c6cSharninder rai};
1311be62c6cSharninder rai
1321be62c6cSharninder rai/include/ "pq3-esdhc-0.dtsi"
1331be62c6cSharninder rai	sdhc@2e000 {
1341be62c6cSharninder rai		fsl,sdhci-auto-cmd12;
1351be62c6cSharninder rai		interrupts = <41 0x2 0 0>;
1361be62c6cSharninder rai	};
1371be62c6cSharninder rai
1381be62c6cSharninder rai/include/ "pq3-sec4.4-0.dtsi"
1391be62c6cSharninder raicrypto@30000 {
1401be62c6cSharninder rai	interrupts	 = <57 2 0 0>;
1411be62c6cSharninder rai
1421be62c6cSharninder rai	sec_jr0: jr@1000 {
1431be62c6cSharninder rai		interrupts	 = <58 2 0 0>;
1441be62c6cSharninder rai	};
1451be62c6cSharninder rai
1461be62c6cSharninder rai	sec_jr1: jr@2000 {
1471be62c6cSharninder rai		interrupts	 = <59 2 0 0>;
1481be62c6cSharninder rai	};
1491be62c6cSharninder rai
1501be62c6cSharninder rai	sec_jr2: jr@3000 {
1511be62c6cSharninder rai		interrupts	 = <60 2 0 0>;
1521be62c6cSharninder rai	};
1531be62c6cSharninder rai
1541be62c6cSharninder rai	sec_jr3: jr@4000 {
1551be62c6cSharninder rai		interrupts	 = <61 2 0 0>;
1561be62c6cSharninder rai	};
1571be62c6cSharninder rai};
1581be62c6cSharninder rai
1591be62c6cSharninder rai/include/ "pq3-mpic.dtsi"
1601be62c6cSharninder rai/include/ "pq3-mpic-timer-B.dtsi"
1611be62c6cSharninder rai
1621be62c6cSharninder rai/include/ "pq3-etsec2-0.dtsi"
1631be62c6cSharninder raienet0: ethernet@b0000 {
1641be62c6cSharninder rai	queue-group@b0000 {
1651be62c6cSharninder rai		fsl,rx-bit-map = <0xff>;
1661be62c6cSharninder rai		fsl,tx-bit-map = <0xff>;
1671be62c6cSharninder rai		interrupts = <26 2 0 0 27 2 0 0 28 2 0 0>;
1681be62c6cSharninder rai	};
1691be62c6cSharninder rai};
1701be62c6cSharninder rai
1711be62c6cSharninder rai/include/ "pq3-etsec2-1.dtsi"
1721be62c6cSharninder raienet1: ethernet@b1000 {
1731be62c6cSharninder rai	queue-group@b1000 {
1741be62c6cSharninder rai		fsl,rx-bit-map = <0xff>;
1751be62c6cSharninder rai		fsl,tx-bit-map = <0xff>;
1761be62c6cSharninder rai		interrupts = <33 2 0 0 34 2 0 0 35 2 0 0>;
1771be62c6cSharninder rai	};
1781be62c6cSharninder rai};
1791be62c6cSharninder rai
1801be62c6cSharninder raiglobal-utilities@e0000 {
1811be62c6cSharninder rai		compatible = "fsl,bsc9132-guts";
1821be62c6cSharninder rai		reg = <0xe0000 0x1000>;
1831be62c6cSharninder rai		fsl,has-rstcr;
1841be62c6cSharninder rai	};
1851be62c6cSharninder rai};
186