ath79: add pinmux to ar9330

This patch adds the pinmux support to the ar9330 used to disable the
JTAG or to enable switch LEDs

Signed-off-by: Rocco Folino <rocco@folino.io>
master
Rocco Folino 6 years ago committed by John Crispin
parent 3d6f57f3c6
commit 9b575288eb
  1. 18
      target/linux/ath79/dts/ar9330.dtsi

@ -61,6 +61,24 @@
status = "disabled";
};
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>;
};
switch_led_pins: pinmux_switch_led_pins {
pinctrl-single,bits = <0x0 0x1f 0xf8>;
};
};
pll: pll-controller@18050000 {
compatible = "qca,ar9330-pll";
reg = <0x18050000 0x100>;

Loading…
Cancel
Save