hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/imx53-tqma53.dtsi
....@@ -1,13 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
34 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix
4
- *
5
- * The code contained herein is licensed under the GNU General Public
6
- * License. You may obtain a copy of the GNU General Public License
7
- * Version 2 or later at the following locations:
8
- *
9
- * http://www.opensource.org/licenses/gpl-license.html
10
- * http://www.gnu.org/copyleft/gpl.html
115 */
126
137 #include "imx53.dtsi"
....@@ -56,8 +50,8 @@
5650 &ecspi1 {
5751 pinctrl-names = "default";
5852 pinctrl-0 = <&pinctrl_ecspi1>;
59
- cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>,
60
- <&gpio3 24 0>, <&gpio3 25 0>;
53
+ cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>,
54
+ <&gpio3 24 GPIO_ACTIVE_LOW>, <&gpio3 25 GPIO_ACTIVE_LOW>;
6155 status = "disabled";
6256 };
6357
....@@ -215,6 +209,14 @@
215209 };
216210 };
217211
212
+&pwm1 {
213
+ #pwm-cells = <2>;
214
+};
215
+
216
+&pwm2 {
217
+ #pwm-cells = <2>;
218
+};
219
+
218220 &uart1 {
219221 pinctrl-names = "default";
220222 pinctrl-0 = <&pinctrl_uart1>;
....@@ -249,8 +251,8 @@
249251 &cspi {
250252 pinctrl-names = "default";
251253 pinctrl-0 = <&pinctrl_cspi>;
252
- cs-gpios = <&gpio1 18 0>, <&gpio1 19 0>,
253
- <&gpio1 21 0>;
254
+ cs-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>, <&gpio1 19 GPIO_ACTIVE_LOW>,
255
+ <&gpio1 21 GPIO_ACTIVE_LOW>;
254256 status = "disabled";
255257 };
256258