[PATCH 1/2] ARM: dts: support pinctrl single in aspenite

Stephen Warren swarren at wwwdotorg.org
Mon Nov 19 16:41:07 EST 2012


On 11/16/2012 12:02 AM, Haojian Zhuang wrote:
> Support pinctrl-single driver in aspenite DTS file.

> diff --git a/arch/arm/boot/dts/pxa168.dtsi b/arch/arm/boot/dts/pxa168.dtsi

> +			pmx: pinmux at d401e000 {

> +				range0: range at d401e04c {
> +					/* GPIO0 ~ GPIO15 */
> +					reg = <0xd401e04c 0x40>;
> +					/* gpio base & gpio func */
> +					pinctrl-single,gpio = <0 5>;

So I see that the "0" here is the first GPIO number, but what is the
"5"? The comment says GPIO 0..15, but I don't see anywhere that the "16"
count of GPIOs/pins is defined.




More information about the linux-arm-kernel mailing list