[OpenWrt-Devel] ath79: seting GPIO registers to specific values via DTS?

Petr Štetiar ynezz at true.cz
Mon Dec 17 04:02:18 EST 2018


Sebastian Kemper <sebastian_ml at gmx.net> [2018-12-16 19:07:52]:

Hi Sebastian,

> pinctrl-0 = <&jtag_disable_pins>; // works
> pinctrl-1 = <&enable_gpio_11>; // nothing happens

hm, that's strange, it should work if you provide proper `pinctrl-names`
property:

 pinctrl-names = "disable_jtag", "enable_gpio11";
 pinctrl-0 = <&jtag_disable_pins>;
 pinctrl-1 = <&enable_gpio_11>;

If it doesn't work, then it's probably issue with the documentation[1] or
pinctrl.

1. https://elixir.bootlin.com/linux/v4.14.89/source/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list