2013-06-01 13:54:13 +08:00
|
|
|
/*
|
|
|
|
* The code contained herein is licensed under the GNU General Public
|
|
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
|
|
* Version 2 or later at the following locations:
|
|
|
|
*
|
|
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "imx27-phytec-phycore-som.dts"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Phytec pcm970";
|
|
|
|
compatible = "phytec,imx27-pcm970", "phytec,imx27-pcm038", "fsl,imx27";
|
|
|
|
};
|
|
|
|
|
|
|
|
&cspi1 {
|
|
|
|
fsl,spi-num-chipselects = <2>;
|
2013-11-30 14:18:04 +08:00
|
|
|
cs-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>,
|
|
|
|
<&gpio4 27 GPIO_ACTIVE_LOW>;
|
2013-06-01 13:54:13 +08:00
|
|
|
};
|
|
|
|
|
2013-11-30 14:18:02 +08:00
|
|
|
&i2c1 {
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_i2c1>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
camgpio: pca9536@41 {
|
|
|
|
compatible = "nxp,pca9536";
|
|
|
|
reg = <0x41>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-02-08 14:15:37 +08:00
|
|
|
&iomuxc {
|
|
|
|
imx27_phycore_rdk {
|
2013-11-30 14:18:02 +08:00
|
|
|
pinctrl_i2c1: i2c1grp {
|
|
|
|
/* Add pullup to DATA line */
|
|
|
|
fsl,pins = <
|
|
|
|
MX27_PAD_I2C_DATA__I2C_DATA 0x1
|
|
|
|
MX27_PAD_I2C_CLK__I2C_CLK 0x0
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2014-02-08 14:15:37 +08:00
|
|
|
pinctrl_uart1: uart1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX27_PAD_UART1_TXD__UART1_TXD 0x0
|
|
|
|
MX27_PAD_UART1_RXD__UART1_RXD 0x0
|
|
|
|
MX27_PAD_UART1_CTS__UART1_CTS 0x0
|
|
|
|
MX27_PAD_UART1_RTS__UART1_RTS 0x0
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_uart2: uart2grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX27_PAD_UART2_TXD__UART2_TXD 0x0
|
|
|
|
MX27_PAD_UART2_RXD__UART2_RXD 0x0
|
|
|
|
MX27_PAD_UART2_CTS__UART2_CTS 0x0
|
|
|
|
MX27_PAD_UART2_RTS__UART2_RTS 0x0
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-06-08 22:39:38 +08:00
|
|
|
&sdhci2 {
|
|
|
|
bus-width = <4>;
|
2013-11-30 14:18:04 +08:00
|
|
|
cd-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>;
|
|
|
|
wp-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
|
2013-06-08 22:39:38 +08:00
|
|
|
vmmc-supply = <&vmmc1_reg>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-06-01 13:54:13 +08:00
|
|
|
&uart1 {
|
|
|
|
fsl,uart-has-rtscts;
|
2014-02-08 14:15:37 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart1>;
|
2013-11-20 16:45:50 +08:00
|
|
|
status = "okay";
|
2013-06-01 13:54:13 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
fsl,uart-has-rtscts;
|
2014-02-08 14:15:37 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart2>;
|
2013-06-01 13:54:13 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2013-07-03 00:02:28 +08:00
|
|
|
|
|
|
|
&weim {
|
|
|
|
can@d4000000 {
|
|
|
|
compatible = "nxp,sja1000";
|
|
|
|
reg = <4 0x00000000 0x00000100>;
|
|
|
|
interrupt-parent = <&gpio5>;
|
2013-11-30 14:18:04 +08:00
|
|
|
interrupts = <19 IRQ_TYPE_EDGE_FALLING>;
|
2013-07-03 00:02:28 +08:00
|
|
|
nxp,external-clock-frequency = <16000000>;
|
|
|
|
nxp,tx-output-config = <0x16>;
|
|
|
|
nxp,no-comparator-bypass;
|
|
|
|
fsl,weim-cs-timing = <0x0000dcf6 0x444a0301 0x44443302>;
|
|
|
|
};
|
|
|
|
};
|