xref: /linux/arch/arm/boot/dts/nxp/imx/imx27-apf27.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright 2012 Philippe Reynes <tremyfr@yahoo.fr>
4*724ba675SRob Herring * Copyright 2012 Armadeus Systems <support@armadeus.com>
5*724ba675SRob Herring *
6*724ba675SRob Herring * Based on code which is: Copyright 2012 Sascha Hauer, Pengutronix
7*724ba675SRob Herring */
8*724ba675SRob Herring
9*724ba675SRob Herring/dts-v1/;
10*724ba675SRob Herring#include "imx27.dtsi"
11*724ba675SRob Herring
12*724ba675SRob Herring/ {
13*724ba675SRob Herring	model = "Armadeus Systems APF27 module";
14*724ba675SRob Herring	compatible = "armadeus,imx27-apf27", "fsl,imx27";
15*724ba675SRob Herring
16*724ba675SRob Herring	memory@a0000000 {
17*724ba675SRob Herring		device_type = "memory";
18*724ba675SRob Herring		reg = <0xa0000000 0x04000000>;
19*724ba675SRob Herring	};
20*724ba675SRob Herring};
21*724ba675SRob Herring
22*724ba675SRob Herring&clk_osc26m {
23*724ba675SRob Herring	clock-frequency = <0>;
24*724ba675SRob Herring};
25*724ba675SRob Herring
26*724ba675SRob Herring&iomuxc {
27*724ba675SRob Herring	imx27-apf27 {
28*724ba675SRob Herring		pinctrl_fec1: fec1grp {
29*724ba675SRob Herring			fsl,pins = <
30*724ba675SRob Herring				MX27_PAD_SD3_CMD__FEC_TXD0 0x0
31*724ba675SRob Herring				MX27_PAD_SD3_CLK__FEC_TXD1 0x0
32*724ba675SRob Herring				MX27_PAD_ATA_DATA0__FEC_TXD2 0x0
33*724ba675SRob Herring				MX27_PAD_ATA_DATA1__FEC_TXD3 0x0
34*724ba675SRob Herring				MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0
35*724ba675SRob Herring				MX27_PAD_ATA_DATA3__FEC_RXD1 0x0
36*724ba675SRob Herring				MX27_PAD_ATA_DATA4__FEC_RXD2 0x0
37*724ba675SRob Herring				MX27_PAD_ATA_DATA5__FEC_RXD3 0x0
38*724ba675SRob Herring				MX27_PAD_ATA_DATA6__FEC_MDIO 0x0
39*724ba675SRob Herring				MX27_PAD_ATA_DATA7__FEC_MDC 0x0
40*724ba675SRob Herring				MX27_PAD_ATA_DATA8__FEC_CRS 0x0
41*724ba675SRob Herring				MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0
42*724ba675SRob Herring				MX27_PAD_ATA_DATA10__FEC_RXD0 0x0
43*724ba675SRob Herring				MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0
44*724ba675SRob Herring				MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0
45*724ba675SRob Herring				MX27_PAD_ATA_DATA13__FEC_COL 0x0
46*724ba675SRob Herring				MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0
47*724ba675SRob Herring				MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0
48*724ba675SRob Herring			>;
49*724ba675SRob Herring		};
50*724ba675SRob Herring
51*724ba675SRob Herring		pinctrl_uart1: uart1grp {
52*724ba675SRob Herring			fsl,pins = <
53*724ba675SRob Herring				MX27_PAD_UART1_TXD__UART1_TXD 0x0
54*724ba675SRob Herring				MX27_PAD_UART1_RXD__UART1_RXD 0x0
55*724ba675SRob Herring			>;
56*724ba675SRob Herring		};
57*724ba675SRob Herring	};
58*724ba675SRob Herring};
59*724ba675SRob Herring
60*724ba675SRob Herring&uart1 {
61*724ba675SRob Herring	pinctrl-names = "default";
62*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1>;
63*724ba675SRob Herring	status = "okay";
64*724ba675SRob Herring};
65*724ba675SRob Herring
66*724ba675SRob Herring&fec {
67*724ba675SRob Herring	pinctrl-names = "default";
68*724ba675SRob Herring	pinctrl-0 = <&pinctrl_fec1>;
69*724ba675SRob Herring	status = "okay";
70*724ba675SRob Herring};
71*724ba675SRob Herring
72*724ba675SRob Herring&nfc {
73*724ba675SRob Herring	status = "okay";
74*724ba675SRob Herring	nand-bus-width = <16>;
75*724ba675SRob Herring	nand-ecc-mode = "hw";
76*724ba675SRob Herring	nand-on-flash-bbt;
77*724ba675SRob Herring
78*724ba675SRob Herring	partition@0 {
79*724ba675SRob Herring		label = "u-boot";
80*724ba675SRob Herring		reg = <0x0 0x100000>;
81*724ba675SRob Herring	};
82*724ba675SRob Herring
83*724ba675SRob Herring	partition@100000 {
84*724ba675SRob Herring		label = "env";
85*724ba675SRob Herring		reg = <0x100000 0x80000>;
86*724ba675SRob Herring	};
87*724ba675SRob Herring
88*724ba675SRob Herring	partition@180000 {
89*724ba675SRob Herring		label = "env2";
90*724ba675SRob Herring		reg = <0x180000 0x80000>;
91*724ba675SRob Herring	};
92*724ba675SRob Herring
93*724ba675SRob Herring	partition@200000 {
94*724ba675SRob Herring		label = "firmware";
95*724ba675SRob Herring		reg = <0x200000 0x80000>;
96*724ba675SRob Herring	};
97*724ba675SRob Herring
98*724ba675SRob Herring	partition@280000 {
99*724ba675SRob Herring		label = "dtb";
100*724ba675SRob Herring		reg = <0x280000 0x80000>;
101*724ba675SRob Herring	};
102*724ba675SRob Herring
103*724ba675SRob Herring	partition@300000 {
104*724ba675SRob Herring		label = "kernel";
105*724ba675SRob Herring		reg = <0x300000 0x500000>;
106*724ba675SRob Herring	};
107*724ba675SRob Herring
108*724ba675SRob Herring	partition@800000 {
109*724ba675SRob Herring		label = "rootfs";
110*724ba675SRob Herring		reg = <0x800000 0xf800000>;
111*724ba675SRob Herring	};
112*724ba675SRob Herring};
113