diff options
author | Rocco Folino <rocco@folino.io> | 2018-06-27 20:38:27 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-02 07:00:20 +0200 |
commit | 9b575288ebdda335502219528c40d26b8e339376 (patch) | |
tree | 053a9e8ddc57b7d1cd3fccec4599926074ba1155 /target | |
parent | 3d6f57f3c6dabfe3911ffb1f1a2afbe3ff41c3fd (diff) | |
download | upstream-9b575288ebdda335502219528c40d26b8e339376.tar.gz upstream-9b575288ebdda335502219528c40d26b8e339376.tar.bz2 upstream-9b575288ebdda335502219528c40d26b8e339376.zip |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ath79/dts/ar9330.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi index 3d3dd87f9b..65445de1f1 100644 --- a/target/linux/ath79/dts/ar9330.dtsi +++ b/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>; |