2013-06-28 22:50:37 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Markus Pargmann, Pengutronix
|
|
|
|
*
|
|
|
|
* 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-phycard-s-som.dts"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Phytec pca100 rapid development kit";
|
|
|
|
compatible = "phytec,imx27-pca100-rdk", "phytec,imx27-pca100", "fsl,imx27";
|
|
|
|
|
|
|
|
display: display {
|
|
|
|
model = "Primeview-PD050VL1";
|
|
|
|
native-mode = <&timing0>;
|
|
|
|
bits-per-pixel = <16>; /* non-standard but required */
|
|
|
|
fsl,pcr = <0xf0c88080>; /* non-standard but required */
|
|
|
|
display-timings {
|
|
|
|
timing0: 640x480 {
|
|
|
|
hactive = <640>;
|
|
|
|
vactive = <480>;
|
|
|
|
hback-porch = <112>;
|
|
|
|
hfront-porch = <36>;
|
|
|
|
hsync-len = <32>;
|
|
|
|
vback-porch = <33>;
|
|
|
|
vfront-porch = <33>;
|
|
|
|
vsync-len = <2>;
|
|
|
|
clock-frequency = <25000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2013-07-07 21:13:31 +08:00
|
|
|
|
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
2014-02-07 23:18:30 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-07-07 21:13:31 +08:00
|
|
|
|
2014-02-07 23:18:30 +08:00
|
|
|
reg_3v3: regulator@0 {
|
2013-07-07 21:13:31 +08:00
|
|
|
compatible = "regulator-fixed";
|
2014-02-07 23:18:30 +08:00
|
|
|
reg = <0>;
|
2013-07-07 21:13:31 +08:00
|
|
|
regulator-name = "3V3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
};
|
2013-06-28 22:50:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&fb {
|
|
|
|
display = <&display>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-07-07 21:13:30 +08:00
|
|
|
&i2c1 {
|
2014-02-08 13:54:43 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_i2c1>;
|
2013-07-07 21:13:30 +08:00
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
rtc@51 {
|
|
|
|
compatible = "nxp,pcf8563";
|
|
|
|
reg = <0x51>;
|
|
|
|
};
|
2013-07-07 21:13:31 +08:00
|
|
|
|
|
|
|
adc@64 {
|
|
|
|
compatible = "maxim,max1037";
|
|
|
|
vcc-supply = <®_3v3>;
|
|
|
|
reg = <0x64>;
|
|
|
|
};
|
2013-07-07 21:13:30 +08:00
|
|
|
};
|
|
|
|
|
2014-02-08 13:54:43 +08:00
|
|
|
&iomuxc {
|
|
|
|
imx27-phycard-s-rdk {
|
|
|
|
pinctrl_i2c1: i2c1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX27_PAD_I2C2_SDA__I2C2_SDA 0x0
|
|
|
|
MX27_PAD_I2C2_SCL__I2C2_SCL 0x0
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_owire1: owire1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX27_PAD_RTCK__OWIRE 0x0
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_uart3: uart3grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX27_PAD_UART3_TXD__UART3_TXD 0x0
|
|
|
|
MX27_PAD_UART3_RXD__UART3_RXD 0x0
|
|
|
|
MX27_PAD_UART3_CTS__UART3_CTS 0x0
|
|
|
|
MX27_PAD_UART3_RTS__UART3_RTS 0x0
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-07-07 21:13:30 +08:00
|
|
|
&owire {
|
2014-02-08 13:54:43 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_owire1>;
|
2013-07-07 21:13:30 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-06-28 22:50:37 +08:00
|
|
|
&sdhci2 {
|
|
|
|
cd-gpios = <&gpio3 29 0>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
fsl,uart-has-rtscts;
|
2014-02-08 13:54:43 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart1>;
|
2013-06-28 22:50:37 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
fsl,uart-has-rtscts;
|
2014-02-08 13:54:43 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart2>;
|
2013-06-28 22:50:37 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart3 {
|
|
|
|
fsl,uart-has-rtscts;
|
2014-02-08 13:54:43 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart3>;
|
2013-06-28 22:50:37 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|