xref: /linux/arch/powerpc/boot/dts/fsl/p1025twr.dtsi (revision 552c69b36ebd966186573b9c7a286b390935cce1)
18a6be2bdSXie Xiaobo/*
28a6be2bdSXie Xiaobo * P1025 TWR Device Tree Source stub (no addresses or top-level ranges)
38a6be2bdSXie Xiaobo *
48a6be2bdSXie Xiaobo * Copyright 2013 Freescale Semiconductor Inc.
58a6be2bdSXie Xiaobo *
68a6be2bdSXie Xiaobo * Redistribution and use in source and binary forms, with or without
78a6be2bdSXie Xiaobo * modification, are permitted provided that the following conditions are met:
88a6be2bdSXie Xiaobo *     * Redistributions of source code must retain the above copyright
98a6be2bdSXie Xiaobo *       notice, this list of conditions and the following disclaimer.
108a6be2bdSXie Xiaobo *     * Redistributions in binary form must reproduce the above copyright
118a6be2bdSXie Xiaobo *       notice, this list of conditions and the following disclaimer in the
128a6be2bdSXie Xiaobo *       documentation and/or other materials provided with the distribution.
138a6be2bdSXie Xiaobo *     * Neither the name of Freescale Semiconductor nor the
148a6be2bdSXie Xiaobo *       names of its contributors may be used to endorse or promote products
158a6be2bdSXie Xiaobo *       derived from this software without specific prior written permission.
168a6be2bdSXie Xiaobo *
178a6be2bdSXie Xiaobo *
188a6be2bdSXie Xiaobo * ALTERNATIVELY, this software may be distributed under the terms of the
198a6be2bdSXie Xiaobo * GNU General Public License ("GPL") as published by the Free Software
208a6be2bdSXie Xiaobo * Foundation, either version 2 of that License or (at your option) any
218a6be2bdSXie Xiaobo * later version.
228a6be2bdSXie Xiaobo *
238a6be2bdSXie Xiaobo * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
248a6be2bdSXie Xiaobo * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
258a6be2bdSXie Xiaobo * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
268a6be2bdSXie Xiaobo * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
278a6be2bdSXie Xiaobo * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
288a6be2bdSXie Xiaobo * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
298a6be2bdSXie Xiaobo * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
308a6be2bdSXie Xiaobo * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
318a6be2bdSXie Xiaobo * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
328a6be2bdSXie Xiaobo * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
338a6be2bdSXie Xiaobo */
348a6be2bdSXie Xiaobo
358a6be2bdSXie Xiaobo/{
368a6be2bdSXie Xiaobo       aliases {
378a6be2bdSXie Xiaobo		ethernet3 = &enet3;
388a6be2bdSXie Xiaobo		ethernet4 = &enet4;
398a6be2bdSXie Xiaobo       };
408a6be2bdSXie Xiaobo};
418a6be2bdSXie Xiaobo
428a6be2bdSXie Xiaobo&lbc {
438a6be2bdSXie Xiaobo	nor@0,0 {
448a6be2bdSXie Xiaobo		#address-cells = <1>;
458a6be2bdSXie Xiaobo		#size-cells = <1>;
468a6be2bdSXie Xiaobo		compatible = "cfi-flash";
478a6be2bdSXie Xiaobo		reg = <0x0 0x0 0x4000000>;
488a6be2bdSXie Xiaobo		bank-width = <2>;
498a6be2bdSXie Xiaobo		device-width = <1>;
508a6be2bdSXie Xiaobo
518a6be2bdSXie Xiaobo		partition@0 {
528a6be2bdSXie Xiaobo			/* This location must not be altered  */
538a6be2bdSXie Xiaobo			/* 256KB for Vitesse 7385 Switch firmware */
548a6be2bdSXie Xiaobo			reg = <0x0 0x00040000>;
558a6be2bdSXie Xiaobo			label = "NOR Vitesse-7385 Firmware";
568a6be2bdSXie Xiaobo			read-only;
578a6be2bdSXie Xiaobo		};
588a6be2bdSXie Xiaobo
598a6be2bdSXie Xiaobo		partition@40000 {
608a6be2bdSXie Xiaobo			/* 256KB for DTB Image */
618a6be2bdSXie Xiaobo			reg = <0x00040000 0x00040000>;
628a6be2bdSXie Xiaobo			label = "NOR DTB Image";
638a6be2bdSXie Xiaobo		};
648a6be2bdSXie Xiaobo
658a6be2bdSXie Xiaobo		partition@80000 {
668a6be2bdSXie Xiaobo			/* 5.5 MB for Linux Kernel Image */
678a6be2bdSXie Xiaobo			reg = <0x00080000 0x00580000>;
688a6be2bdSXie Xiaobo			label = "NOR Linux Kernel Image";
698a6be2bdSXie Xiaobo		};
708a6be2bdSXie Xiaobo
718a6be2bdSXie Xiaobo		partition@400000 {
728a6be2bdSXie Xiaobo			/* 56.75MB for Root file System */
738a6be2bdSXie Xiaobo			reg = <0x00600000 0x038c0000>;
748a6be2bdSXie Xiaobo			label = "NOR Root File System";
758a6be2bdSXie Xiaobo		};
768a6be2bdSXie Xiaobo
778a6be2bdSXie Xiaobo		partition@ec0000 {
788a6be2bdSXie Xiaobo			/* This location must not be altered  */
798a6be2bdSXie Xiaobo			/* 256KB for QE ucode firmware*/
808a6be2bdSXie Xiaobo			reg = <0x03ec0000 0x00040000>;
818a6be2bdSXie Xiaobo			label = "NOR QE microcode firmware";
828a6be2bdSXie Xiaobo			read-only;
838a6be2bdSXie Xiaobo		};
848a6be2bdSXie Xiaobo
858a6be2bdSXie Xiaobo		partition@f00000 {
868a6be2bdSXie Xiaobo			/* This location must not be altered  */
878a6be2bdSXie Xiaobo			/* 512KB for u-boot Bootloader Image */
888a6be2bdSXie Xiaobo			/* 512KB for u-boot Environment Variables */
898a6be2bdSXie Xiaobo			reg = <0x03f00000 0x00100000>;
908a6be2bdSXie Xiaobo			label = "NOR U-Boot Image";
918a6be2bdSXie Xiaobo			read-only;
928a6be2bdSXie Xiaobo		};
938a6be2bdSXie Xiaobo	};
948a6be2bdSXie Xiaobo
958a6be2bdSXie Xiaobo	/* CS2 for Display */
968a6be2bdSXie Xiaobo	display@2,0 {
978a6be2bdSXie Xiaobo		compatible = "solomon,ssd1289fb";
988a6be2bdSXie Xiaobo		reg = <0x2 0x0000 0x0004>;
998a6be2bdSXie Xiaobo	};
1008a6be2bdSXie Xiaobo
1018a6be2bdSXie Xiaobo};
1028a6be2bdSXie Xiaobo
1038a6be2bdSXie Xiaobo&soc {
1048a6be2bdSXie Xiaobo	usb@22000 {
1058a6be2bdSXie Xiaobo		phy_type = "ulpi";
1068a6be2bdSXie Xiaobo	};
1078a6be2bdSXie Xiaobo
1088a6be2bdSXie Xiaobo	mdio@24000 {
1098a6be2bdSXie Xiaobo		phy0: ethernet-phy@2 {
1108a6be2bdSXie Xiaobo			interrupt-parent = <&mpic>;
1118a6be2bdSXie Xiaobo			interrupts = <1 1 0 0>;
1128a6be2bdSXie Xiaobo			reg = <0x2>;
1138a6be2bdSXie Xiaobo		};
1148a6be2bdSXie Xiaobo
1158a6be2bdSXie Xiaobo		phy1: ethernet-phy@1 {
1168a6be2bdSXie Xiaobo			interrupt-parent = <&mpic>;
1178a6be2bdSXie Xiaobo			interrupts = <2 1 0 0>;
1188a6be2bdSXie Xiaobo			reg = <0x1>;
1198a6be2bdSXie Xiaobo		};
1208a6be2bdSXie Xiaobo
1218a6be2bdSXie Xiaobo		tbi0: tbi-phy@11 {
1228a6be2bdSXie Xiaobo			reg = <0x11>;
1238a6be2bdSXie Xiaobo			device_type = "tbi-phy";
1248a6be2bdSXie Xiaobo		};
1258a6be2bdSXie Xiaobo	};
1268a6be2bdSXie Xiaobo
1278a6be2bdSXie Xiaobo	mdio@25000 {
1288a6be2bdSXie Xiaobo		tbi1: tbi-phy@11 {
1298a6be2bdSXie Xiaobo			reg = <0x11>;
1308a6be2bdSXie Xiaobo			device_type = "tbi-phy";
1318a6be2bdSXie Xiaobo		};
1328a6be2bdSXie Xiaobo	};
1338a6be2bdSXie Xiaobo
1348a6be2bdSXie Xiaobo	mdio@26000 {
1358a6be2bdSXie Xiaobo		tbi2: tbi-phy@11 {
1368a6be2bdSXie Xiaobo			reg = <0x11>;
1378a6be2bdSXie Xiaobo			device_type = "tbi-phy";
1388a6be2bdSXie Xiaobo		};
1398a6be2bdSXie Xiaobo	};
1408a6be2bdSXie Xiaobo
14107e9117eSYangbo Lu	ptp_clock@b0e00 {
14207e9117eSYangbo Lu		compatible = "fsl,etsec-ptp";
14307e9117eSYangbo Lu		reg = <0xb0e00 0xb0>;
14407e9117eSYangbo Lu		interrupts = <68 2 0 0 69 2 0 0>;
14507e9117eSYangbo Lu		fsl,tclk-period	= <10>;
14607e9117eSYangbo Lu		fsl,tmr-prsc	= <2>;
14707e9117eSYangbo Lu		fsl,tmr-add	= <0xc0000021>;
14807e9117eSYangbo Lu		fsl,tmr-fiper1	= <999999990>;
14907e9117eSYangbo Lu		fsl,tmr-fiper2	= <99990>;
15007e9117eSYangbo Lu		fsl,max-adj	= <133333332>;
15107e9117eSYangbo Lu	};
15207e9117eSYangbo Lu
1538a6be2bdSXie Xiaobo	enet0: ethernet@b0000 {
1548a6be2bdSXie Xiaobo		phy-handle = <&phy0>;
1558a6be2bdSXie Xiaobo		phy-connection-type = "rgmii-id";
1568a6be2bdSXie Xiaobo
1578a6be2bdSXie Xiaobo	};
1588a6be2bdSXie Xiaobo
1598a6be2bdSXie Xiaobo	enet1: ethernet@b1000 {
1608a6be2bdSXie Xiaobo		status = "disabled";
1618a6be2bdSXie Xiaobo	};
1628a6be2bdSXie Xiaobo
1638a6be2bdSXie Xiaobo	enet2: ethernet@b2000 {
1648a6be2bdSXie Xiaobo		phy-handle = <&phy1>;
1658a6be2bdSXie Xiaobo		phy-connection-type = "rgmii-id";
1668a6be2bdSXie Xiaobo	};
1678a6be2bdSXie Xiaobo
1688a6be2bdSXie Xiaobo	par_io@e0100 {
1698a6be2bdSXie Xiaobo		#address-cells = <1>;
1708a6be2bdSXie Xiaobo		#size-cells = <1>;
1718a6be2bdSXie Xiaobo		reg = <0xe0100 0x60>;
1728a6be2bdSXie Xiaobo		ranges = <0x0 0xe0100 0x60>;
1738a6be2bdSXie Xiaobo		device_type = "par_io";
1748a6be2bdSXie Xiaobo		num-ports = <3>;
175*600ecc19SMathieu Malaterre		pio1: ucc_pin@1 {
1768a6be2bdSXie Xiaobo			pio-map = <
1778a6be2bdSXie Xiaobo		/* port  pin  dir  open_drain  assignment  has_irq */
1788a6be2bdSXie Xiaobo				0x1  0x13 0x1  0x0  0x1  0x0    /* QE_MUX_MDC */
1798a6be2bdSXie Xiaobo				0x1  0x14 0x3  0x0  0x1  0x0    /* QE_MUX_MDIO */
1808a6be2bdSXie Xiaobo				0x0  0x17 0x2  0x0  0x2  0x0    /* CLK12 */
1818a6be2bdSXie Xiaobo				0x0  0x18 0x2  0x0  0x1  0x0    /* CLK9 */
1828a6be2bdSXie Xiaobo				0x0  0x7  0x1  0x0  0x2  0x0    /* ENET1_TXD0_SER1_TXD0 */
1838a6be2bdSXie Xiaobo				0x0  0x9  0x1  0x0  0x2  0x0    /* ENET1_TXD1_SER1_TXD1 */
1848a6be2bdSXie Xiaobo				0x0  0xb  0x1  0x0  0x2  0x0    /* ENET1_TXD2_SER1_TXD2 */
1858a6be2bdSXie Xiaobo				0x0  0xc  0x1  0x0  0x2  0x0    /* ENET1_TXD3_SER1_TXD3 */
1868a6be2bdSXie Xiaobo				0x0  0x6  0x2  0x0  0x2  0x0    /* ENET1_RXD0_SER1_RXD0 */
1878a6be2bdSXie Xiaobo				0x0  0xa  0x2  0x0  0x2  0x0    /* ENET1_RXD1_SER1_RXD1 */
1888a6be2bdSXie Xiaobo				0x0  0xe  0x2  0x0  0x2  0x0    /* ENET1_RXD2_SER1_RXD2 */
1898a6be2bdSXie Xiaobo				0x0  0xf  0x2  0x0  0x2  0x0    /* ENET1_RXD3_SER1_RXD3 */
1908a6be2bdSXie Xiaobo				0x0  0x5  0x1  0x0  0x2  0x0    /* ENET1_TX_EN_SER1_RTS_B */
1918a6be2bdSXie Xiaobo				0x0  0xd  0x1  0x0  0x2  0x0    /* ENET1_TX_ER */
1928a6be2bdSXie Xiaobo				0x0  0x4  0x2  0x0  0x2  0x0    /* ENET1_RX_DV_SER1_CTS_B */
1938a6be2bdSXie Xiaobo				0x0  0x8  0x2  0x0  0x2  0x0    /* ENET1_RX_ER_SER1_CD_B */
1948a6be2bdSXie Xiaobo				0x0  0x11 0x2  0x0  0x2  0x0    /* ENET1_CRS */
1958a6be2bdSXie Xiaobo				0x0  0x10 0x2  0x0  0x2  0x0>;    /* ENET1_COL */
1968a6be2bdSXie Xiaobo		};
1978a6be2bdSXie Xiaobo
198*600ecc19SMathieu Malaterre		pio2: ucc_pin@2 {
1998a6be2bdSXie Xiaobo			pio-map = <
2008a6be2bdSXie Xiaobo		/* port  pin  dir  open_drain  assignment  has_irq */
2018a6be2bdSXie Xiaobo				0x1  0x13 0x1  0x0  0x1  0x0    /* QE_MUX_MDC */
2028a6be2bdSXie Xiaobo				0x1  0x14 0x3  0x0  0x1  0x0    /* QE_MUX_MDIO */
2038a6be2bdSXie Xiaobo				0x1  0xb  0x2  0x0  0x1  0x0    /* CLK13 */
2048a6be2bdSXie Xiaobo				0x1  0x7  0x1  0x0  0x2  0x0    /* ENET5_TXD0_SER5_TXD0 */
2058a6be2bdSXie Xiaobo				0x1  0xa  0x1  0x0  0x2  0x0    /* ENET5_TXD1_SER5_TXD1 */
2068a6be2bdSXie Xiaobo				0x1  0x6  0x2  0x0  0x2  0x0    /* ENET5_RXD0_SER5_RXD0 */
2078a6be2bdSXie Xiaobo				0x1  0x9  0x2  0x0  0x2  0x0    /* ENET5_RXD1_SER5_RXD1 */
2088a6be2bdSXie Xiaobo				0x1  0x5  0x1  0x0  0x2  0x0    /* ENET5_TX_EN_SER5_RTS_B */
2098a6be2bdSXie Xiaobo				0x1  0x4  0x2  0x0  0x2  0x0    /* ENET5_RX_DV_SER5_CTS_B */
2108a6be2bdSXie Xiaobo				0x1  0x8  0x2  0x0  0x2  0x0>;    /* ENET5_RX_ER_SER5_CD_B */
2118a6be2bdSXie Xiaobo		};
2128a6be2bdSXie Xiaobo
213*600ecc19SMathieu Malaterre		pio3: ucc_pin@3 {
2148a6be2bdSXie Xiaobo			pio-map = <
2158a6be2bdSXie Xiaobo		/* port  pin  dir  open_drain  assignment  has_irq */
2168a6be2bdSXie Xiaobo				0x0  0x16 0x2  0x0  0x2  0x0    /* SER7_CD_B*/
2178a6be2bdSXie Xiaobo				0x0  0x12 0x2  0x0  0x2  0x0    /* SER7_CTS_B*/
2188a6be2bdSXie Xiaobo				0x0  0x13 0x1  0x0  0x2  0x0    /* SER7_RTS_B*/
2198a6be2bdSXie Xiaobo				0x0  0x14 0x2  0x0  0x2  0x0    /* SER7_RXD0*/
2208a6be2bdSXie Xiaobo				0x0  0x15 0x1  0x0  0x2  0x0>;    /* SER7_TXD0*/
2218a6be2bdSXie Xiaobo		};
2228a6be2bdSXie Xiaobo
223*600ecc19SMathieu Malaterre		pio4: ucc_pin@4 {
2248a6be2bdSXie Xiaobo			pio-map = <
2258a6be2bdSXie Xiaobo		/* port  pin  dir  open_drain  assignment  has_irq */
2268a6be2bdSXie Xiaobo				0x1  0x0  0x2  0x0  0x2  0x0    /* SER3_CD_B*/
2278a6be2bdSXie Xiaobo				0x0  0x1c 0x2  0x0  0x2  0x0    /* SER3_CTS_B*/
2288a6be2bdSXie Xiaobo				0x0  0x1d 0x1  0x0  0x2  0x0    /* SER3_RTS_B*/
2298a6be2bdSXie Xiaobo				0x0  0x1e 0x2  0x0  0x2  0x0    /* SER3_RXD0*/
2308a6be2bdSXie Xiaobo				0x0  0x1f 0x1  0x0  0x2  0x0>;    /* SER3_TXD0*/
2318a6be2bdSXie Xiaobo		};
2328a6be2bdSXie Xiaobo	};
2338a6be2bdSXie Xiaobo};
2348a6be2bdSXie Xiaobo
2358a6be2bdSXie Xiaobo&qe {
2368a6be2bdSXie Xiaobo	enet3: ucc@2000 {
2378a6be2bdSXie Xiaobo		device_type = "network";
2388a6be2bdSXie Xiaobo		compatible = "ucc_geth";
2398a6be2bdSXie Xiaobo		rx-clock-name = "clk12";
2408a6be2bdSXie Xiaobo		tx-clock-name = "clk9";
2418a6be2bdSXie Xiaobo		pio-handle = <&pio1>;
2428a6be2bdSXie Xiaobo		phy-handle = <&qe_phy0>;
2438a6be2bdSXie Xiaobo		phy-connection-type = "mii";
2448a6be2bdSXie Xiaobo	};
2458a6be2bdSXie Xiaobo
2468a6be2bdSXie Xiaobo	mdio@2120 {
2478a6be2bdSXie Xiaobo		qe_phy0: ethernet-phy@18 {
2488a6be2bdSXie Xiaobo			interrupt-parent = <&mpic>;
2498a6be2bdSXie Xiaobo			interrupts = <4 1 0 0>;
2508a6be2bdSXie Xiaobo			reg = <0x18>;
2518a6be2bdSXie Xiaobo			device_type = "ethernet-phy";
2528a6be2bdSXie Xiaobo		};
2538a6be2bdSXie Xiaobo		qe_phy1: ethernet-phy@19 {
2548a6be2bdSXie Xiaobo			interrupt-parent = <&mpic>;
2558a6be2bdSXie Xiaobo			interrupts = <5 1 0 0>;
2568a6be2bdSXie Xiaobo			reg = <0x19>;
2578a6be2bdSXie Xiaobo			device_type = "ethernet-phy";
2588a6be2bdSXie Xiaobo		};
2598a6be2bdSXie Xiaobo		tbi-phy@11 {
2608a6be2bdSXie Xiaobo			reg = <0x11>;
2618a6be2bdSXie Xiaobo			device_type = "tbi-phy";
2628a6be2bdSXie Xiaobo		};
2638a6be2bdSXie Xiaobo	};
2648a6be2bdSXie Xiaobo
2658a6be2bdSXie Xiaobo	enet4: ucc@2400 {
2668a6be2bdSXie Xiaobo		device_type = "network";
2678a6be2bdSXie Xiaobo		compatible = "ucc_geth";
2688a6be2bdSXie Xiaobo		rx-clock-name = "none";
2698a6be2bdSXie Xiaobo		tx-clock-name = "clk13";
2708a6be2bdSXie Xiaobo		pio-handle = <&pio2>;
2718a6be2bdSXie Xiaobo		phy-handle = <&qe_phy1>;
2728a6be2bdSXie Xiaobo		phy-connection-type = "rmii";
2738a6be2bdSXie Xiaobo	};
2748a6be2bdSXie Xiaobo
2758a6be2bdSXie Xiaobo	serial2: ucc@2600 {
2768a6be2bdSXie Xiaobo		device_type = "serial";
2778a6be2bdSXie Xiaobo		compatible = "ucc_uart";
2788a6be2bdSXie Xiaobo		port-number = <0>;
2798a6be2bdSXie Xiaobo		rx-clock-name = "brg6";
2808a6be2bdSXie Xiaobo		tx-clock-name = "brg6";
2818a6be2bdSXie Xiaobo		pio-handle = <&pio3>;
2828a6be2bdSXie Xiaobo	};
2838a6be2bdSXie Xiaobo
2848a6be2bdSXie Xiaobo	serial3: ucc@2200 {
2858a6be2bdSXie Xiaobo		device_type = "serial";
2868a6be2bdSXie Xiaobo		compatible = "ucc_uart";
2878a6be2bdSXie Xiaobo		port-number = <1>;
2888a6be2bdSXie Xiaobo		rx-clock-name = "brg2";
2898a6be2bdSXie Xiaobo		tx-clock-name = "brg2";
2908a6be2bdSXie Xiaobo		pio-handle = <&pio4>;
2918a6be2bdSXie Xiaobo	};
2928a6be2bdSXie Xiaobo};
293