[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <fe77e6c006355e12724b1950dd2be710beee762c.1533021093.git.hns@goldelico.com>
Date: Tue, 31 Jul 2018 09:11:23 +0200
From: "H. Nikolaus Schaller" <hns@...delico.com>
To: ladis@...ux-mips.org,
Sebastian Reichel <sebastian.reichel@...labora.co.uk>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Marek Belisko <marek@...delico.com>,
BenoƮt Cousson <bcousson@...libre.com>,
Tony Lindgren <tony@...mide.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>
Cc: linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, letux-kernel@...nphoenux.org,
"H. Nikolaus Schaller" <hns@...delico.com>
Subject: [PATCH v2 20/32] ARM: dts: omap3-gta04: add devconf0 setup for mcbsp1 clock pins
McBSP1 needs special "pinctrl" for the clocks.
Signed-off-by: H. Nikolaus Schaller <hns@...delico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index cbb55b9c3242..39f0eb8f65b0 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -187,6 +187,24 @@
reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>; /* W2CBW003 reset through tca6507 */
};
+ /* devconf0 setup for mcbsp1 clock pins */
+ pinmux_mcbsp1@...02274 {
+ compatible = "pinctrl-single";
+ reg = <0x48002274 4>; /* CONTROL_DEVCONF0 */
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-single,bit-per-mux;
+ pinctrl-single,register-width = <32>;
+ pinctrl-single,function-mask = <0x7>; /* MCBSP1 CLK pinmux */
+ #pinctrl-cells = <2>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&mcbsp1_devconf0_pins>;
+ mcbsp1_devconf0_pins: pinmux_mcbsp1_devconf0_pins {
+ /* offset bits mask */
+ pinctrl-single,bits = <0x00 0x08 0x1c>; /* set MCBSP1_CLKR */
+ };
+ };
+
/* devconf1 setup for tvout pins */
pinmux_tv_out@...022d8 {
compatible = "pinctrl-single";
--
2.12.2
Powered by blists - more mailing lists