Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Copyright 2012 Philippe Reynes <tremyfr@yahoo.fr>
0004  * Copyright 2012 Armadeus Systems <support@armadeus.com>
0005  *
0006  * Based on code which is: Copyright 2012 Sascha Hauer, Pengutronix
0007  */
0008 
0009 /dts-v1/;
0010 #include "imx27.dtsi"
0011 
0012 / {
0013         model = "Armadeus Systems APF27 module";
0014         compatible = "armadeus,imx27-apf27", "fsl,imx27";
0015 
0016         memory@a0000000 {
0017                 device_type = "memory";
0018                 reg = <0xa0000000 0x04000000>;
0019         };
0020 };
0021 
0022 &clk_osc26m {
0023         clock-frequency = <0>;
0024 };
0025 
0026 &iomuxc {
0027         imx27-apf27 {
0028                 pinctrl_fec1: fec1grp {
0029                         fsl,pins = <
0030                                 MX27_PAD_SD3_CMD__FEC_TXD0 0x0
0031                                 MX27_PAD_SD3_CLK__FEC_TXD1 0x0
0032                                 MX27_PAD_ATA_DATA0__FEC_TXD2 0x0
0033                                 MX27_PAD_ATA_DATA1__FEC_TXD3 0x0
0034                                 MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0
0035                                 MX27_PAD_ATA_DATA3__FEC_RXD1 0x0
0036                                 MX27_PAD_ATA_DATA4__FEC_RXD2 0x0
0037                                 MX27_PAD_ATA_DATA5__FEC_RXD3 0x0
0038                                 MX27_PAD_ATA_DATA6__FEC_MDIO 0x0
0039                                 MX27_PAD_ATA_DATA7__FEC_MDC 0x0
0040                                 MX27_PAD_ATA_DATA8__FEC_CRS 0x0
0041                                 MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0
0042                                 MX27_PAD_ATA_DATA10__FEC_RXD0 0x0
0043                                 MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0
0044                                 MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0
0045                                 MX27_PAD_ATA_DATA13__FEC_COL 0x0
0046                                 MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0
0047                                 MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0
0048                         >;
0049                 };
0050 
0051                 pinctrl_uart1: uart1grp {
0052                         fsl,pins = <
0053                                 MX27_PAD_UART1_TXD__UART1_TXD 0x0
0054                                 MX27_PAD_UART1_RXD__UART1_RXD 0x0
0055                         >;
0056                 };
0057         };
0058 };
0059 
0060 &uart1 {
0061         pinctrl-names = "default";
0062         pinctrl-0 = <&pinctrl_uart1>;
0063         status = "okay";
0064 };
0065 
0066 &fec {
0067         pinctrl-names = "default";
0068         pinctrl-0 = <&pinctrl_fec1>;
0069         status = "okay";
0070 };
0071 
0072 &nfc {
0073         status = "okay";
0074         nand-bus-width = <16>;
0075         nand-ecc-mode = "hw";
0076         nand-on-flash-bbt;
0077 
0078         partition@0 {
0079                 label = "u-boot";
0080                 reg = <0x0 0x100000>;
0081         };
0082 
0083         partition@100000 {
0084                 label = "env";
0085                 reg = <0x100000 0x80000>;
0086         };
0087 
0088         partition@180000 {
0089                 label = "env2";
0090                 reg = <0x180000 0x80000>;
0091         };
0092 
0093         partition@200000 {
0094                 label = "firmware";
0095                 reg = <0x200000 0x80000>;
0096         };
0097 
0098         partition@280000 {
0099                 label = "dtb";
0100                 reg = <0x280000 0x80000>;
0101         };
0102 
0103         partition@300000 {
0104                 label = "kernel";
0105                 reg = <0x300000 0x500000>;
0106         };
0107 
0108         partition@800000 {
0109                 label = "rootfs";
0110                 reg = <0x800000 0xf800000>;
0111         };
0112 };