1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ 2f126890aSEmmanuel Vadot// 3f126890aSEmmanuel Vadot// Copyright 2012 Sascha Hauer, Pengutronix 4f126890aSEmmanuel Vadot 5f126890aSEmmanuel Vadot/dts-v1/; 6f126890aSEmmanuel Vadot#include "imx27.dtsi" 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot/ { 9f126890aSEmmanuel Vadot model = "Freescale i.MX27 Product Development Kit"; 10f126890aSEmmanuel Vadot compatible = "fsl,imx27-pdk", "fsl,imx27"; 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot memory@a0000000 { 13f126890aSEmmanuel Vadot device_type = "memory"; 14f126890aSEmmanuel Vadot reg = <0xa0000000 0x08000000>; 15f126890aSEmmanuel Vadot }; 16f126890aSEmmanuel Vadot 17f126890aSEmmanuel Vadot 18*8d13bc63SEmmanuel Vadot usbphy0: usbphy { 19f126890aSEmmanuel Vadot compatible = "usb-nop-xceiv"; 20f126890aSEmmanuel Vadot clocks = <&clks IMX27_CLK_DUMMY>; 21f126890aSEmmanuel Vadot clock-names = "main_clk"; 22f126890aSEmmanuel Vadot #phy-cells = <0>; 23f126890aSEmmanuel Vadot }; 24f126890aSEmmanuel Vadot}; 25f126890aSEmmanuel Vadot 26f126890aSEmmanuel Vadot&cspi2 { 27f126890aSEmmanuel Vadot pinctrl-names = "default"; 28f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_cspi2>; 29f126890aSEmmanuel Vadot cs-gpios = <&gpio4 21 GPIO_ACTIVE_HIGH>; 30f126890aSEmmanuel Vadot status = "okay"; 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot pmic: mc13783@0 { 33f126890aSEmmanuel Vadot compatible = "fsl,mc13783"; 34f126890aSEmmanuel Vadot reg = <0>; 35f126890aSEmmanuel Vadot spi-cs-high; 36f126890aSEmmanuel Vadot spi-max-frequency = <1000000>; 37f126890aSEmmanuel Vadot interrupt-parent = <&gpio3>; 38f126890aSEmmanuel Vadot interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; 39f126890aSEmmanuel Vadot 40f126890aSEmmanuel Vadot regulators { 41f126890aSEmmanuel Vadot vgen_reg: vgen { 42f126890aSEmmanuel Vadot regulator-min-microvolt = <1500000>; 43f126890aSEmmanuel Vadot regulator-max-microvolt = <1500000>; 44f126890aSEmmanuel Vadot regulator-always-on; 45f126890aSEmmanuel Vadot regulator-boot-on; 46f126890aSEmmanuel Vadot }; 47f126890aSEmmanuel Vadot 48f126890aSEmmanuel Vadot vmmc1_reg: vmmc1 { 49f126890aSEmmanuel Vadot regulator-min-microvolt = <1600000>; 50f126890aSEmmanuel Vadot regulator-max-microvolt = <3000000>; 51f126890aSEmmanuel Vadot }; 52f126890aSEmmanuel Vadot 53f126890aSEmmanuel Vadot gpo1_reg: gpo1 { 54f126890aSEmmanuel Vadot regulator-always-on; 55f126890aSEmmanuel Vadot regulator-boot-on; 56f126890aSEmmanuel Vadot }; 57f126890aSEmmanuel Vadot 58f126890aSEmmanuel Vadot gpo3_reg: gpo3 { 59f126890aSEmmanuel Vadot regulator-always-on; 60f126890aSEmmanuel Vadot regulator-boot-on; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot }; 63f126890aSEmmanuel Vadot }; 64f126890aSEmmanuel Vadot}; 65f126890aSEmmanuel Vadot 66f126890aSEmmanuel Vadot&fec { 67f126890aSEmmanuel Vadot phy-mode = "mii"; 68f126890aSEmmanuel Vadot pinctrl-names = "default"; 69f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_fec>; 70f126890aSEmmanuel Vadot status = "okay"; 71f126890aSEmmanuel Vadot}; 72f126890aSEmmanuel Vadot 73f126890aSEmmanuel Vadot&kpp { 74f126890aSEmmanuel Vadot linux,keymap = < 75f126890aSEmmanuel Vadot MATRIX_KEY(0, 0, KEY_UP) 76f126890aSEmmanuel Vadot MATRIX_KEY(0, 1, KEY_DOWN) 77f126890aSEmmanuel Vadot MATRIX_KEY(1, 0, KEY_RIGHT) 78f126890aSEmmanuel Vadot MATRIX_KEY(1, 1, KEY_LEFT) 79f126890aSEmmanuel Vadot MATRIX_KEY(1, 2, KEY_ENTER) 80f126890aSEmmanuel Vadot MATRIX_KEY(2, 0, KEY_F6) 81f126890aSEmmanuel Vadot MATRIX_KEY(2, 1, KEY_F8) 82f126890aSEmmanuel Vadot MATRIX_KEY(2, 2, KEY_F9) 83f126890aSEmmanuel Vadot MATRIX_KEY(2, 3, KEY_F10) 84f126890aSEmmanuel Vadot >; 85f126890aSEmmanuel Vadot status = "okay"; 86f126890aSEmmanuel Vadot}; 87f126890aSEmmanuel Vadot 88f126890aSEmmanuel Vadot&nfc { 89f126890aSEmmanuel Vadot pinctrl-names = "default"; 90f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_nand>; 91f126890aSEmmanuel Vadot nand-ecc-mode = "hw"; 92f126890aSEmmanuel Vadot nand-on-flash-bbt; 93f126890aSEmmanuel Vadot status = "okay"; 94f126890aSEmmanuel Vadot}; 95f126890aSEmmanuel Vadot 96f126890aSEmmanuel Vadot&uart1 { 97f126890aSEmmanuel Vadot uart-has-rtscts; 98f126890aSEmmanuel Vadot pinctrl-names = "default"; 99f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 100f126890aSEmmanuel Vadot status = "okay"; 101f126890aSEmmanuel Vadot}; 102f126890aSEmmanuel Vadot 103f126890aSEmmanuel Vadot&usbotg { 104f126890aSEmmanuel Vadot pinctrl-names = "default"; 105f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotg>; 106f126890aSEmmanuel Vadot dr_mode = "otg"; 107f126890aSEmmanuel Vadot fsl,usbphy = <&usbphy0>; 108f126890aSEmmanuel Vadot phy_type = "ulpi"; 109f126890aSEmmanuel Vadot status = "okay"; 110f126890aSEmmanuel Vadot}; 111f126890aSEmmanuel Vadot 112f126890aSEmmanuel Vadot&iomuxc { 113f126890aSEmmanuel Vadot imx27-pdk { 114f126890aSEmmanuel Vadot pinctrl_cspi2: cspi2grp { 115f126890aSEmmanuel Vadot fsl,pins = < 116f126890aSEmmanuel Vadot MX27_PAD_CSPI2_MISO__CSPI2_MISO 0x0 117f126890aSEmmanuel Vadot MX27_PAD_CSPI2_MOSI__CSPI2_MOSI 0x0 118f126890aSEmmanuel Vadot MX27_PAD_CSPI2_SCLK__CSPI2_SCLK 0x0 119f126890aSEmmanuel Vadot MX27_PAD_CSPI2_SS0__GPIO4_21 0x0 /* SPI2 CS0 */ 120f126890aSEmmanuel Vadot MX27_PAD_TOUT__GPIO3_14 0x0 /* PMIC IRQ */ 121f126890aSEmmanuel Vadot >; 122f126890aSEmmanuel Vadot }; 123f126890aSEmmanuel Vadot 124f126890aSEmmanuel Vadot pinctrl_fec: fecgrp { 125f126890aSEmmanuel Vadot fsl,pins = < 126f126890aSEmmanuel Vadot MX27_PAD_SD3_CMD__FEC_TXD0 0x0 127f126890aSEmmanuel Vadot MX27_PAD_SD3_CLK__FEC_TXD1 0x0 128f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA0__FEC_TXD2 0x0 129f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA1__FEC_TXD3 0x0 130f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0 131f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA3__FEC_RXD1 0x0 132f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA4__FEC_RXD2 0x0 133f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA5__FEC_RXD3 0x0 134f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA6__FEC_MDIO 0x0 135f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA7__FEC_MDC 0x0 136f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA8__FEC_CRS 0x0 137f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0 138f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA10__FEC_RXD0 0x0 139f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0 140f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0 141f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA13__FEC_COL 0x0 142f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0 143f126890aSEmmanuel Vadot MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0 144f126890aSEmmanuel Vadot >; 145f126890aSEmmanuel Vadot }; 146f126890aSEmmanuel Vadot 147f126890aSEmmanuel Vadot pinctrl_nand: nandgrp { 148f126890aSEmmanuel Vadot fsl,pins = < 149f126890aSEmmanuel Vadot MX27_PAD_NFRB__NFRB 0x0 150f126890aSEmmanuel Vadot MX27_PAD_NFCLE__NFCLE 0x0 151f126890aSEmmanuel Vadot MX27_PAD_NFWP_B__NFWP_B 0x0 152f126890aSEmmanuel Vadot MX27_PAD_NFCE_B__NFCE_B 0x0 153f126890aSEmmanuel Vadot MX27_PAD_NFALE__NFALE 0x0 154f126890aSEmmanuel Vadot MX27_PAD_NFRE_B__NFRE_B 0x0 155f126890aSEmmanuel Vadot MX27_PAD_NFWE_B__NFWE_B 0x0 156f126890aSEmmanuel Vadot >; 157f126890aSEmmanuel Vadot }; 158f126890aSEmmanuel Vadot 159f126890aSEmmanuel Vadot pinctrl_uart1: uart1grp { 160f126890aSEmmanuel Vadot fsl,pins = < 161f126890aSEmmanuel Vadot MX27_PAD_UART1_TXD__UART1_TXD 0x0 162f126890aSEmmanuel Vadot MX27_PAD_UART1_RXD__UART1_RXD 0x0 163f126890aSEmmanuel Vadot MX27_PAD_UART1_CTS__UART1_CTS 0x0 164f126890aSEmmanuel Vadot MX27_PAD_UART1_RTS__UART1_RTS 0x0 165f126890aSEmmanuel Vadot >; 166f126890aSEmmanuel Vadot }; 167f126890aSEmmanuel Vadot 168f126890aSEmmanuel Vadot pinctrl_usbotg: usbotggrp { 169f126890aSEmmanuel Vadot fsl,pins = < 170f126890aSEmmanuel Vadot MX27_PAD_USBOTG_NXT__USBOTG_NXT 0x0 171f126890aSEmmanuel Vadot MX27_PAD_USBOTG_STP__USBOTG_STP 0x0 172f126890aSEmmanuel Vadot MX27_PAD_USBOTG_DIR__USBOTG_DIR 0x0 173f126890aSEmmanuel Vadot MX27_PAD_USBOTG_CLK__USBOTG_CLK 0x0 174f126890aSEmmanuel Vadot MX27_PAD_USBOTG_DATA0__USBOTG_DATA0 0x0 175f126890aSEmmanuel Vadot MX27_PAD_USBOTG_DATA1__USBOTG_DATA1 0x0 176f126890aSEmmanuel Vadot MX27_PAD_USBOTG_DATA2__USBOTG_DATA2 0x0 177f126890aSEmmanuel Vadot MX27_PAD_USBOTG_DATA3__USBOTG_DATA3 0x0 178f126890aSEmmanuel Vadot MX27_PAD_USBOTG_DATA4__USBOTG_DATA4 0x0 179f126890aSEmmanuel Vadot MX27_PAD_USBOTG_DATA5__USBOTG_DATA5 0x0 180f126890aSEmmanuel Vadot MX27_PAD_USBOTG_DATA6__USBOTG_DATA6 0x0 181f126890aSEmmanuel Vadot MX27_PAD_USBOTG_DATA7__USBOTG_DATA7 0x0 182f126890aSEmmanuel Vadot >; 183f126890aSEmmanuel Vadot }; 184f126890aSEmmanuel Vadot }; 185f126890aSEmmanuel Vadot}; 186