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