xref: /linux/arch/arm/boot/dts/nxp/imx/imx25-karo-tx25.dts (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2012 Sascha Hauer, Pengutronix
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring#include "imx25.dtsi"
8724ba675SRob Herring
9724ba675SRob Herring/ {
10724ba675SRob Herring	model = "Ka-Ro TX25";
11724ba675SRob Herring	compatible = "karo,imx25-tx25", "fsl,imx25";
12724ba675SRob Herring
13724ba675SRob Herring	chosen {
14724ba675SRob Herring		stdout-path = &uart1;
15724ba675SRob Herring	};
16724ba675SRob Herring
17*c65fee6cSKrzysztof Kozlowski	reg_fec_phy: regulator-0 {
18724ba675SRob Herring		compatible = "regulator-fixed";
19724ba675SRob Herring		regulator-name = "fec-phy";
20724ba675SRob Herring		regulator-min-microvolt = <3300000>;
21724ba675SRob Herring		regulator-max-microvolt = <3300000>;
22724ba675SRob Herring		gpio = <&gpio4 9 0>;
23724ba675SRob Herring		enable-active-high;
24724ba675SRob Herring	};
25724ba675SRob Herring
26724ba675SRob Herring	memory@80000000 {
27724ba675SRob Herring		device_type = "memory";
28724ba675SRob Herring		reg = <0x80000000 0x02000000 0x90000000 0x02000000>;
29724ba675SRob Herring	};
30724ba675SRob Herring};
31724ba675SRob Herring
32724ba675SRob Herring&iomuxc {
33724ba675SRob Herring	pinctrl_uart1: uart1grp {
34724ba675SRob Herring		fsl,pins = <
35f75adaf6SUwe Kleine-König			MX25_PAD_UART1_TXD__UART1_TXD 0x00000020
36f75adaf6SUwe Kleine-König			MX25_PAD_UART1_RXD__UART1_RXD 0x000000a0
37f75adaf6SUwe Kleine-König			MX25_PAD_UART1_CTS__UART1_CTS 0x00000060
38f75adaf6SUwe Kleine-König			MX25_PAD_UART1_RTS__UART1_RTS 0x000000e0
39724ba675SRob Herring		>;
40724ba675SRob Herring	};
41724ba675SRob Herring
42724ba675SRob Herring	pinctrl_fec: fecgrp {
43724ba675SRob Herring		fsl,pins = <
44f75adaf6SUwe Kleine-König			MX25_PAD_D11__GPIO_4_9		0x00000021 /* FEC PHY power on pin */
45f75adaf6SUwe Kleine-König			MX25_PAD_D13__GPIO_4_7		0x000000a1 /* FEC reset */
46f75adaf6SUwe Kleine-König			MX25_PAD_FEC_MDC__FEC_MDC	0x00000060
47f75adaf6SUwe Kleine-König			MX25_PAD_FEC_MDIO__FEC_MDIO	0x000001f0
48f75adaf6SUwe Kleine-König			MX25_PAD_FEC_TDATA0__FEC_TDATA0	0x00000060
49f75adaf6SUwe Kleine-König			MX25_PAD_FEC_TDATA1__FEC_TDATA1	0x00000060
50f75adaf6SUwe Kleine-König			MX25_PAD_FEC_TX_EN__FEC_TX_EN	0x00000060
51f75adaf6SUwe Kleine-König			MX25_PAD_FEC_RDATA0__FEC_RDATA0	0x000000c1
52f75adaf6SUwe Kleine-König			MX25_PAD_FEC_RDATA1__FEC_RDATA1	0x000000c0
53f75adaf6SUwe Kleine-König			MX25_PAD_FEC_RX_DV__FEC_RX_DV	0x000000c0
54f75adaf6SUwe Kleine-König			MX25_PAD_FEC_TX_CLK__FEC_TX_CLK	0x000000c0
55724ba675SRob Herring		>;
56724ba675SRob Herring	};
57724ba675SRob Herring
58724ba675SRob Herring	pinctrl_nfc: nfcgrp {
59724ba675SRob Herring		fsl,pins = <
60f75adaf6SUwe Kleine-König			MX25_PAD_NF_CE0__NF_CE0		0x00000001
61724ba675SRob Herring			MX25_PAD_NFWE_B__NFWE_B		0x80000000
62724ba675SRob Herring			MX25_PAD_NFRE_B__NFRE_B		0x80000000
63724ba675SRob Herring			MX25_PAD_NFALE__NFALE		0x80000000
64724ba675SRob Herring			MX25_PAD_NFCLE__NFCLE		0x80000000
65724ba675SRob Herring			MX25_PAD_NFWP_B__NFWP_B		0x80000000
66f75adaf6SUwe Kleine-König			MX25_PAD_NFRB__NFRB		0x000000e0
67f75adaf6SUwe Kleine-König			MX25_PAD_D7__D7			0x00000080
68f75adaf6SUwe Kleine-König			MX25_PAD_D6__D6			0x00000080
69f75adaf6SUwe Kleine-König			MX25_PAD_D5__D5			0x00000080
70f75adaf6SUwe Kleine-König			MX25_PAD_D4__D4			0x00000080
71f75adaf6SUwe Kleine-König			MX25_PAD_D3__D3			0x00000080
72f75adaf6SUwe Kleine-König			MX25_PAD_D2__D2			0x00000080
73f75adaf6SUwe Kleine-König			MX25_PAD_D1__D1			0x00000000
74f75adaf6SUwe Kleine-König			MX25_PAD_D0__D0			0x00000080
75724ba675SRob Herring		>;
76724ba675SRob Herring	};
77724ba675SRob Herring};
78724ba675SRob Herring
79724ba675SRob Herring&uart1 {
80724ba675SRob Herring	pinctrl-names = "default";
81724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
82724ba675SRob Herring	status = "okay";
83724ba675SRob Herring};
84724ba675SRob Herring
85724ba675SRob Herring&fec {
86724ba675SRob Herring	pinctrl-names = "default";
87724ba675SRob Herring	pinctrl-0 = <&pinctrl_fec>;
88724ba675SRob Herring	phy-reset-gpios = <&gpio3 7 GPIO_ACTIVE_LOW>;
89724ba675SRob Herring	phy-mode = "rmii";
90724ba675SRob Herring	phy-supply = <&reg_fec_phy>;
91724ba675SRob Herring	status = "okay";
92724ba675SRob Herring};
93724ba675SRob Herring
94724ba675SRob Herring&nfc {
95724ba675SRob Herring	pinctrl-names = "default";
96724ba675SRob Herring	pinctrl-0 = <&pinctrl_nfc>;
97724ba675SRob Herring	nand-on-flash-bbt;
98724ba675SRob Herring	nand-ecc-mode = "hw";
99724ba675SRob Herring	nand-bus-width = <8>;
100724ba675SRob Herring	status = "okay";
101724ba675SRob Herring};
102