[OpenWrt-Devel,3/5] ath79: add pinmux node to ar724x.dtsi
diff mbox series

Message ID 20180529180833.16668-3-monkeh@monkeh.net
State Changes Requested
Delegated to: John Crispin
Headers show
Series
  • [OpenWrt-Devel,1/5] ath79: add tiny subtarget
Related show

Commit Message

Alex Maclean May 29, 2018, 6:08 p.m. UTC
Signed-off-by: Alex Maclean <monkeh@monkeh.net>
---
 target/linux/ath79/dts/ar724x.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Patch
diff mbox series

diff --git a/target/linux/ath79/dts/ar724x.dtsi b/target/linux/ath79/dts/ar724x.dtsi
index fe1b4eb681..b2844bf179 100644
--- a/target/linux/ath79/dts/ar724x.dtsi
+++ b/target/linux/ath79/dts/ar724x.dtsi
@@ -64,6 +64,21 @@ 
 				#interrupt-cells = <2>;
 			};
 
+			pinmux: pinmux@18040028 {
+				compatible = "pinctrl-single";
+
+				reg = <0x18040028 0x8>;
+
+				pinctrl-single,bit-per-mux;
+				pinctrl-single,register-width = <32>;
+				pinctrl-single,function-mask = <0x1>;
+				#pinctrl-cells = <2>;
+
+				jtag_disable_pins: pinmux_jtag_disable_pins {
+				pinctrl-single,bits = <0x0 0x1 0x1>;
+				};
+			};
+
 			pll: pll-controller@18050000 {
 				compatible = "qca,ar7240-pll", "syscon";
 				reg = <0x18050000 0x3c>;