1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright 2012 Sascha Hauer, Uwe Kleine-König, Steffen Trumtrar 4f126890aSEmmanuel Vadot * and Markus Pargmann, Pengutronix 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/dts-v1/; 8f126890aSEmmanuel Vadot#include "imx27.dtsi" 9f126890aSEmmanuel Vadot 10f126890aSEmmanuel Vadot/ { 11f126890aSEmmanuel Vadot model = "Phytec pca100"; 12f126890aSEmmanuel Vadot compatible = "phytec,imx27-pca100", "fsl,imx27"; 13f126890aSEmmanuel Vadot 14f126890aSEmmanuel Vadot memory@a0000000 { 15f126890aSEmmanuel Vadot device_type = "memory"; 16f126890aSEmmanuel Vadot reg = <0xa0000000 0x08000000>; /* 128MB */ 17f126890aSEmmanuel Vadot }; 18*7d0873ebSEmmanuel Vadot 19*7d0873ebSEmmanuel Vadot usbotgphy: usbotgphy { 20*7d0873ebSEmmanuel Vadot compatible = "usb-nop-xceiv"; 21*7d0873ebSEmmanuel Vadot pinctrl-names = "default"; 22*7d0873ebSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotgphy>; 23*7d0873ebSEmmanuel Vadot reset-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>; 24*7d0873ebSEmmanuel Vadot #phy-cells = <0>; 25*7d0873ebSEmmanuel Vadot }; 26*7d0873ebSEmmanuel Vadot 27*7d0873ebSEmmanuel Vadot usbh2phy: usbh2phy { 28*7d0873ebSEmmanuel Vadot compatible = "usb-nop-xceiv"; 29*7d0873ebSEmmanuel Vadot pinctrl-names = "default"; 30*7d0873ebSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbh2phy>; 31*7d0873ebSEmmanuel Vadot reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; 32*7d0873ebSEmmanuel Vadot #phy-cells = <0>; 33*7d0873ebSEmmanuel Vadot }; 34f126890aSEmmanuel Vadot}; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot&cspi1 { 37f126890aSEmmanuel Vadot cs-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>, 38f126890aSEmmanuel Vadot <&gpio4 27 GPIO_ACTIVE_LOW>; 39f126890aSEmmanuel Vadot status = "okay"; 40f126890aSEmmanuel Vadot}; 41f126890aSEmmanuel Vadot 42f126890aSEmmanuel Vadot&fec { 43f126890aSEmmanuel Vadot pinctrl-names = "default"; 44f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_fec1>; 45f126890aSEmmanuel Vadot status = "okay"; 46f126890aSEmmanuel Vadot}; 47f126890aSEmmanuel Vadot 48f126890aSEmmanuel Vadot&i2c2 { 49f126890aSEmmanuel Vadot pinctrl-names = "default"; 50f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 51f126890aSEmmanuel Vadot status = "okay"; 52f126890aSEmmanuel Vadot 5384943d6fSEmmanuel Vadot eeprom@52 { 54f126890aSEmmanuel Vadot compatible = "atmel,24c32"; 55f126890aSEmmanuel Vadot pagesize = <32>; 56f126890aSEmmanuel Vadot reg = <0x52>; 57f126890aSEmmanuel Vadot }; 58f126890aSEmmanuel Vadot}; 59f126890aSEmmanuel Vadot 60f126890aSEmmanuel Vadot&iomuxc { 61f126890aSEmmanuel Vadot imx27-phycard-s-som { 62f126890aSEmmanuel Vadot pinctrl_fec1: fec1grp { 63f126890aSEmmanuel Vadot fsl,pins = < 64f126890aSEmmanuel Vadot MX27_PAD_SD3_CMD__FEC_TXD0 0x0 65f126890aSEmmanuel Vadot MX27_PAD_SD3_CLK__FEC_TXD1 0x0 66f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA0__FEC_TXD2 0x0 67f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA1__FEC_TXD3 0x0 68f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0 69f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA3__FEC_RXD1 0x0 70f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA4__FEC_RXD2 0x0 71f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA5__FEC_RXD3 0x0 72f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA6__FEC_MDIO 0x0 73f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA7__FEC_MDC 0x0 74f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA8__FEC_CRS 0x0 75f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0 76f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA10__FEC_RXD0 0x0 77f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0 78f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0 79f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA13__FEC_COL 0x0 80f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0 81f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0 82f126890aSEmmanuel Vadot >; 83f126890aSEmmanuel Vadot }; 84f126890aSEmmanuel Vadot 85f126890aSEmmanuel Vadot pinctrl_i2c2: i2c2grp { 86f126890aSEmmanuel Vadot fsl,pins = < 87f126890aSEmmanuel Vadot MX27_PAD_I2C2_SDA__I2C2_SDA 0x0 88f126890aSEmmanuel Vadot MX27_PAD_I2C2_SCL__I2C2_SCL 0x0 89f126890aSEmmanuel Vadot >; 90f126890aSEmmanuel Vadot }; 91f126890aSEmmanuel Vadot 92f126890aSEmmanuel Vadot pinctrl_nfc: nfcgrp { 93f126890aSEmmanuel Vadot fsl,pins = < 94f126890aSEmmanuel Vadot MX27_PAD_NFRB__NFRB 0x0 95f126890aSEmmanuel Vadot MX27_PAD_NFCLE__NFCLE 0x0 96f126890aSEmmanuel Vadot MX27_PAD_NFWP_B__NFWP_B 0x0 97f126890aSEmmanuel Vadot MX27_PAD_NFCE_B__NFCE_B 0x0 98f126890aSEmmanuel Vadot MX27_PAD_NFALE__NFALE 0x0 99f126890aSEmmanuel Vadot MX27_PAD_NFRE_B__NFRE_B 0x0 100f126890aSEmmanuel Vadot MX27_PAD_NFWE_B__NFWE_B 0x0 101f126890aSEmmanuel Vadot >; 102f126890aSEmmanuel Vadot }; 103*7d0873ebSEmmanuel Vadot 104*7d0873ebSEmmanuel Vadot pinctrl_usbotgphy: usbotgphygrp { 105*7d0873ebSEmmanuel Vadot fsl,pins = < 106*7d0873ebSEmmanuel Vadot MX27_PAD_USBH1_RCV__GPIO2_25 0x1 /* reset gpio */ 107*7d0873ebSEmmanuel Vadot >; 108*7d0873ebSEmmanuel Vadot }; 109*7d0873ebSEmmanuel Vadot 110*7d0873ebSEmmanuel Vadot pinctrl_usbotg: usbotggrp { 111*7d0873ebSEmmanuel Vadot fsl,pins = < 112*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_CLK__USBOTG_CLK 0x0 113*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_DIR__USBOTG_DIR 0x0 114*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_NXT__USBOTG_NXT 0x0 115*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_STP__USBOTG_STP 0x0 116*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_DATA0__USBOTG_DATA0 0x0 117*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_DATA1__USBOTG_DATA1 0x0 118*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_DATA2__USBOTG_DATA2 0x0 119*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_DATA3__USBOTG_DATA3 0x0 120*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_DATA4__USBOTG_DATA4 0x0 121*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_DATA5__USBOTG_DATA5 0x0 122*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_DATA6__USBOTG_DATA6 0x0 123*7d0873ebSEmmanuel Vadot MX27_PAD_USBOTG_DATA7__USBOTG_DATA7 0x0 124*7d0873ebSEmmanuel Vadot >; 125*7d0873ebSEmmanuel Vadot }; 126*7d0873ebSEmmanuel Vadot 127*7d0873ebSEmmanuel Vadot pinctrl_usbh2phy: usbh2phygrp { 128*7d0873ebSEmmanuel Vadot fsl,pins = < 129*7d0873ebSEmmanuel Vadot MX27_PAD_USBH1_SUSP__GPIO2_22 0x0 /* reset gpio */ 130*7d0873ebSEmmanuel Vadot >; 131*7d0873ebSEmmanuel Vadot }; 132*7d0873ebSEmmanuel Vadot 133*7d0873ebSEmmanuel Vadot pinctrl_usbh2: usbh2grp { 134*7d0873ebSEmmanuel Vadot fsl,pins = < 135*7d0873ebSEmmanuel Vadot MX27_PAD_USBH2_CLK__USBH2_CLK 0x0 136*7d0873ebSEmmanuel Vadot MX27_PAD_USBH2_DIR__USBH2_DIR 0x0 137*7d0873ebSEmmanuel Vadot MX27_PAD_USBH2_NXT__USBH2_NXT 0x0 138*7d0873ebSEmmanuel Vadot MX27_PAD_USBH2_STP__USBH2_STP 0x0 139*7d0873ebSEmmanuel Vadot MX27_PAD_CSPI2_SCLK__USBH2_DATA0 0x0 140*7d0873ebSEmmanuel Vadot MX27_PAD_CSPI2_MOSI__USBH2_DATA1 0x0 141*7d0873ebSEmmanuel Vadot MX27_PAD_CSPI2_MISO__USBH2_DATA2 0x0 142*7d0873ebSEmmanuel Vadot MX27_PAD_CSPI2_SS1__USBH2_DATA3 0x0 143*7d0873ebSEmmanuel Vadot MX27_PAD_CSPI2_SS2__USBH2_DATA4 0x0 144*7d0873ebSEmmanuel Vadot MX27_PAD_CSPI1_SS2__USBH2_DATA5 0x0 145*7d0873ebSEmmanuel Vadot MX27_PAD_CSPI2_SS0__USBH2_DATA6 0x0 146*7d0873ebSEmmanuel Vadot MX27_PAD_USBH2_DATA7__USBH2_DATA7 0x0 147*7d0873ebSEmmanuel Vadot >; 148*7d0873ebSEmmanuel Vadot }; 149f126890aSEmmanuel Vadot }; 150f126890aSEmmanuel Vadot}; 151f126890aSEmmanuel Vadot 152f126890aSEmmanuel Vadot&nfc { 153f126890aSEmmanuel Vadot pinctrl-names = "default"; 154f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_nfc>; 155f126890aSEmmanuel Vadot nand-bus-width = <8>; 156f126890aSEmmanuel Vadot nand-ecc-mode = "hw"; 157f126890aSEmmanuel Vadot nand-on-flash-bbt; 158f126890aSEmmanuel Vadot status = "okay"; 159f126890aSEmmanuel Vadot}; 160*7d0873ebSEmmanuel Vadot 161*7d0873ebSEmmanuel Vadot&usbotg { 162*7d0873ebSEmmanuel Vadot pinctrl-names = "default"; 163*7d0873ebSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotg>; 164*7d0873ebSEmmanuel Vadot phy_type = "ulpi"; 165*7d0873ebSEmmanuel Vadot phys = <&usbotgphy>; 166*7d0873ebSEmmanuel Vadot status = "okay"; 167*7d0873ebSEmmanuel Vadot}; 168*7d0873ebSEmmanuel Vadot 169*7d0873ebSEmmanuel Vadot&usbh2 { 170*7d0873ebSEmmanuel Vadot pinctrl-names = "default"; 171*7d0873ebSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbh2>; 172*7d0873ebSEmmanuel Vadot phy_type = "ulpi"; 173*7d0873ebSEmmanuel Vadot phys = <&usbh2phy>; 174*7d0873ebSEmmanuel Vadot status = "okay"; 175*7d0873ebSEmmanuel Vadot}; 176