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>
This commit is contained in:
Rocco Folino 2018-06-27 20:38:27 +02:00 committed by John Crispin
parent 3d6f57f3c6
commit 9b575288eb

View File

@ -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>;