2019-05-27 13:55:08 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2012-11-12 17:58:51 +07:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Sascha Hauer, Pengutronix
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2013-04-07 09:49:34 +07:00
|
|
|
#include "imx25.dtsi"
|
2012-11-12 17:58:51 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Ka-Ro TX25";
|
|
|
|
compatible = "karo,imx25-tx25", "fsl,imx25";
|
|
|
|
|
2014-05-07 20:19:00 +07:00
|
|
|
chosen {
|
|
|
|
stdout-path = &uart1;
|
|
|
|
};
|
|
|
|
|
2014-05-09 18:59:55 +07:00
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
reg_fec_phy: regulator@0 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <0>;
|
|
|
|
regulator-name = "fec-phy";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpio = <&gpio4 9 0>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-24 20:22:14 +07:00
|
|
|
memory@80000000 {
|
2018-11-26 19:40:54 +07:00
|
|
|
device_type = "memory";
|
2012-11-12 17:58:51 +07:00
|
|
|
reg = <0x80000000 0x02000000 0x90000000 0x02000000>;
|
|
|
|
};
|
2012-12-31 10:32:48 +07:00
|
|
|
};
|
2012-11-12 17:58:51 +07:00
|
|
|
|
2014-05-09 13:11:17 +07:00
|
|
|
&iomuxc {
|
|
|
|
pinctrl_uart1: uart1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX25_PAD_UART1_TXD__UART1_TXD 0x80000000
|
|
|
|
MX25_PAD_UART1_RXD__UART1_RXD 0x80000000
|
|
|
|
MX25_PAD_UART1_CTS__UART1_CTS 0x80000000
|
|
|
|
MX25_PAD_UART1_RTS__UART1_RTS 0x80000000
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_fec: fecgrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX25_PAD_D11__GPIO_4_9 0x80000000 /* FEC PHY power on pin */
|
|
|
|
MX25_PAD_D13__GPIO_4_7 0x80000000 /* FEC reset */
|
|
|
|
MX25_PAD_FEC_MDC__FEC_MDC 0x80000000
|
|
|
|
MX25_PAD_FEC_MDIO__FEC_MDIO 0x80000000
|
|
|
|
MX25_PAD_FEC_TDATA0__FEC_TDATA0 0x80000000
|
|
|
|
MX25_PAD_FEC_TDATA1__FEC_TDATA1 0x80000000
|
|
|
|
MX25_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000
|
|
|
|
MX25_PAD_FEC_RDATA0__FEC_RDATA0 0x80000000
|
|
|
|
MX25_PAD_FEC_RDATA1__FEC_RDATA1 0x80000000
|
|
|
|
MX25_PAD_FEC_RX_DV__FEC_RX_DV 0x80000000
|
|
|
|
MX25_PAD_FEC_TX_CLK__FEC_TX_CLK 0x80000000
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_nfc: nfcgrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX25_PAD_NF_CE0__NF_CE0 0x80000000
|
|
|
|
MX25_PAD_NFWE_B__NFWE_B 0x80000000
|
|
|
|
MX25_PAD_NFRE_B__NFRE_B 0x80000000
|
|
|
|
MX25_PAD_NFALE__NFALE 0x80000000
|
|
|
|
MX25_PAD_NFCLE__NFCLE 0x80000000
|
|
|
|
MX25_PAD_NFWP_B__NFWP_B 0x80000000
|
|
|
|
MX25_PAD_NFRB__NFRB 0x80000000
|
|
|
|
MX25_PAD_D7__D7 0x80000000
|
|
|
|
MX25_PAD_D6__D6 0x80000000
|
|
|
|
MX25_PAD_D5__D5 0x80000000
|
|
|
|
MX25_PAD_D4__D4 0x80000000
|
|
|
|
MX25_PAD_D3__D3 0x80000000
|
|
|
|
MX25_PAD_D2__D2 0x80000000
|
|
|
|
MX25_PAD_D1__D1 0x80000000
|
|
|
|
MX25_PAD_D0__D0 0x80000000
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-12-31 10:32:48 +07:00
|
|
|
&uart1 {
|
2014-05-09 13:11:17 +07:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart1>;
|
2012-12-31 10:32:48 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
2012-11-12 17:58:51 +07:00
|
|
|
|
2012-12-31 10:32:48 +07:00
|
|
|
&fec {
|
2014-05-09 13:11:17 +07:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_fec>;
|
2017-06-05 00:31:15 +07:00
|
|
|
phy-reset-gpios = <&gpio3 7 GPIO_ACTIVE_LOW>;
|
2012-12-31 10:32:48 +07:00
|
|
|
phy-mode = "rmii";
|
2014-05-09 18:59:55 +07:00
|
|
|
phy-supply = <®_fec_phy>;
|
2013-01-04 19:29:09 +07:00
|
|
|
status = "okay";
|
2012-12-31 10:32:48 +07:00
|
|
|
};
|
2012-11-12 17:58:51 +07:00
|
|
|
|
2012-12-31 10:32:48 +07:00
|
|
|
&nfc {
|
2014-05-09 13:11:17 +07:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_nfc>;
|
2012-12-31 10:32:48 +07:00
|
|
|
nand-on-flash-bbt;
|
2014-05-09 13:11:19 +07:00
|
|
|
nand-ecc-mode = "hw";
|
|
|
|
nand-bus-width = <8>;
|
2012-12-31 10:32:48 +07:00
|
|
|
status = "okay";
|
2012-11-12 17:58:51 +07:00
|
|
|
};
|