[PATCH 19/29] ARM: orion5x: add standard pinctrl configs for sata0 and sata1

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Mon Apr 14 03:48:25 PDT 2014


On 04/13/2014 04:39 PM, Thomas Petazzoni wrote:
> Several platforms will most likely use similar pinctrl configurations
> for SATA0 and SATA1, so we declare those common configurations in the
> Orion5x DT file.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

Besides that orion5x-mv885182.dtsi should already use the pinctrl node
label reference,

Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>

> ---
>   arch/arm/boot/dts/orion5x-mv88f5182.dtsi | 10 ++++++++++
>   1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/orion5x-mv88f5182.dtsi b/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
> index 11b487c..096ab02 100644
> --- a/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
> +++ b/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
> @@ -18,6 +18,16 @@
>   			pinctrl at 10000 {
>   				compatible = "marvell,88f5182-pinctrl";
>   				reg = <0x10000 0x8>, <0x10050 0x4>;
> +
> +				pmx_sata0: pmx-sata0 {
> +					marvell,pins = "mpp12", "mpp14";
> +					marvell,function = "sata0";
> +				};
> +
> +				pmx_sata1: pmx-sata1 {
> +					marvell,pins = "mpp13", "mpp15";
> +					marvell,function = "sata1";
> +				};
>   			};
>
>   			core_clk: core-clocks at 10030 {
>




More information about the linux-arm-kernel mailing list