Commit f2cc84de authored by Alexey Mednyy's avatar Alexey Mednyy 🆖

move pwm from common to imx53-shm-minipos dts, t2m-ls ssd1325 support

parent a6017eb8
......@@ -321,11 +321,7 @@
>;
};
pinctrl_pwm2: pwm2grp {
fsl,pins = <
MX53_PAD_GPIO_1__PWM2_PWMO 0x80000000
>;
};
pinctrl_pmic: pmicgrp {
fsl,pins = <
MX53_PAD_CSI0_DAT10__GPIO5_28 0x100 /* IRQ */
......@@ -418,13 +414,7 @@
// status = "okay";
// };
&pwm2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm2>;
status = "okay";
};
&uart1 {
pinctrl-names = "default";
......
......@@ -22,6 +22,21 @@ memgpu: /memreserve/ 0x80000000 0x4000000;
compatible = "fsl,imx53-qsrb", "fsl,imx53";
};
&iomuxc {
imx53-shm-minipos {
pinctrl_pwm2: pwm2grp {
fsl,pins = <
MX53_PAD_GPIO_1__PWM2_PWMO 0x80000000
>;
};
};
};
&pwm2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm2>;
status = "okay";
};
&owire{
status = "okay";
......
/*
* Copyright 2011 Freescale Semiconductor, Inc.
* Copyright 2011 Linaro Ltd.
*
* 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
*/
/dts-v1/;
/* memgpu: /memreserve/ 0xb0000000 0x04000000; */
// memgpu: /memreserve/ 0x80000000 0x4000000;
#include "imx53-shm-common.dtsi"
/ {
model = "Freescale i.MX53 SHM-DV7LS";
compatible = "fsl,imx53-qsrb", "fsl,imx53";
};
// &gpu {
// mem = <0x80000000 0x4000000>;
// };
&iomuxc {
imx53-shm-t2m-ls {
pinctrl_uart5: uart5grp {
fsl,pins = <
MX53_PAD_CSI0_DAT15__UART5_RXD_MUX 0x1e4
MX53_PAD_CSI0_DAT14__UART5_TXD_MUX 0x1e4
>;
};
pinctrl_ssd1325: ssd1325grp {
fsl,pins = <
MX53_PAD_EIM_D19__GPIO3_19 0x80000000
MX53_PAD_EIM_D20__GPIO3_20 0x80000000
MX53_PAD_EIM_D24__GPIO3_24 0x80000000
MX53_PAD_EIM_D25__GPIO3_25 0x80000000
MX53_PAD_EIM_D30__GPIO3_30 0x80000000
MX53_PAD_EIM_D31__GPIO3_31 0x80000000
MX53_PAD_CSI0_DAT17__GPIO6_3 0x80000000
MX53_PAD_CSI0_DAT16__GPIO6_2 0x80000000
MX53_PAD_PATA_INTRQ__GPIO7_2 0x80000000
MX53_PAD_EIM_EB3__GPIO2_31 0x80000000
MX53_PAD_EIM_D23__GPIO3_23 0x80000000
MX53_PAD_CSI0_DAT19__GPIO6_5 0x80000000
MX53_PAD_GPIO_1__GPIO1_1 0x80000000
>;
};
};
};
&uart5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart5>;
status = "okay";
};
/ {
ssd1325 {
compatible = "solomon,ssd1325";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssd1325>;
// rotate = <0>;
buswidth = <8>;
reset-gpios = <&gpio1 1 0>;
cs-gpios = <&gpio6 5 0>;
rd-gpios = <&gpio7 2 0>;
dc-gpios = <&gpio3 23 0>;
wr-gpios = <&gpio2 31 0>;
db-gpios = <&gpio3 19 0>,
<&gpio3 20 0>,
<&gpio3 24 0>,
<&gpio3 25 0>,
<&gpio3 30 0>,
<&gpio3 31 0>,
<&gpio6 3 0>,
<&gpio6 2 0>;
// debug = <7>;
};
};
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment