Re: [PATCH v2 7/7] ARM: at91/dt: sama5d2 Xplained: add device pin muxing
On Wed, Sep 16, 2015 at 8:37 AM, Ludovic Desroches wrote: > Add device pin muxing for the sama5d2 Xplained board. > > Signed-off-by: Ludovic Desroches Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH v2 7/7] ARM: at91/dt: sama5d2 Xplained: add device pin muxing
On Wed, Sep 16, 2015 at 8:37 AM, Ludovic Desrocheswrote: > Add device pin muxing for the sama5d2 Xplained board. > > Signed-off-by: Ludovic Desroches Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH v2 7/7] ARM: at91/dt: sama5d2 Xplained: add device pin muxing
Add device pin muxing for the sama5d2 Xplained board. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 61 + 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts index e8d63afd..dc23979 100644 --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts @@ -44,6 +44,7 @@ */ /dts-v1/; #include "sama5d2.dtsi" +#include "sama5d2-pinfunc.h" / { model = "Atmel SAMA5D2 Xplained"; @@ -92,6 +93,8 @@ apb { spi0: spi@f800 { + pinctrl-names = "default"; + pinctrl-0 = <_spi0_default>; status = "okay"; m25p80@0 { @@ -102,25 +105,35 @@ }; macb0: ethernet@f8008000 { + pinctrl-names = "default"; + pinctrl-0 = <_macb0_default>; phy-mode = "rmii"; status = "okay"; }; uart1: serial@f802 { + pinctrl-names = "default"; + pinctrl-0 = <_uart1_default>; status = "okay"; }; i2c0: i2c@f8028000 { dmas = <0>, <0>; + pinctrl-names = "default"; + pinctrl-0 = <_i2c0_default>; status = "okay"; }; uart3: serial@fc008000 { + pinctrl-names = "default"; + pinctrl-0 = <_uart3_default>; status = "okay"; }; i2c1: i2c@fc028000 { dmas = <0>, <0>; + pinctrl-names = "default"; + pinctrl-0 = <_i2c1_default>; status = "okay"; at24@54 { @@ -129,6 +142,54 @@ pagesize = <16>; }; }; + + pinctrl@fc038000 { + pinctrl_i2c0_default: i2c0_default { + pinmux = , +; + bias-disable; + }; + + pinctrl_i2c1_default: i2c1_default { + pinmux = , +; + bias-disable; + }; + + pinctrl_macb0_default: macb0_default { + pinmux = , +, +, +, +, +, +, +, +, +; + bias-disable; + }; + + pinctrl_spi0_default: spi0_default { + pinmux = , +, +, +; + bias-disable; + }; + + pinctrl_uart1_default: uart1_default { + pinmux = , +; + bias-disable; + }; + + pinctrl_uart3_default: uart3_default { + pinmux = , +; + bias-disable; + }; + }; }; }; }; -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH v2 7/7] ARM: at91/dt: sama5d2 Xplained: add device pin muxing
Add device pin muxing for the sama5d2 Xplained board. Signed-off-by: Ludovic Desroches--- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 61 + 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts index e8d63afd..dc23979 100644 --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts @@ -44,6 +44,7 @@ */ /dts-v1/; #include "sama5d2.dtsi" +#include "sama5d2-pinfunc.h" / { model = "Atmel SAMA5D2 Xplained"; @@ -92,6 +93,8 @@ apb { spi0: spi@f800 { + pinctrl-names = "default"; + pinctrl-0 = <_spi0_default>; status = "okay"; m25p80@0 { @@ -102,25 +105,35 @@ }; macb0: ethernet@f8008000 { + pinctrl-names = "default"; + pinctrl-0 = <_macb0_default>; phy-mode = "rmii"; status = "okay"; }; uart1: serial@f802 { + pinctrl-names = "default"; + pinctrl-0 = <_uart1_default>; status = "okay"; }; i2c0: i2c@f8028000 { dmas = <0>, <0>; + pinctrl-names = "default"; + pinctrl-0 = <_i2c0_default>; status = "okay"; }; uart3: serial@fc008000 { + pinctrl-names = "default"; + pinctrl-0 = <_uart3_default>; status = "okay"; }; i2c1: i2c@fc028000 { dmas = <0>, <0>; + pinctrl-names = "default"; + pinctrl-0 = <_i2c1_default>; status = "okay"; at24@54 { @@ -129,6 +142,54 @@ pagesize = <16>; }; }; + + pinctrl@fc038000 { + pinctrl_i2c0_default: i2c0_default { + pinmux = , +; + bias-disable; + }; + + pinctrl_i2c1_default: i2c1_default { + pinmux = , +; + bias-disable; + }; + + pinctrl_macb0_default: macb0_default { + pinmux = , +, +, +, +, +, +, +, +, +; + bias-disable; + }; + + pinctrl_spi0_default: spi0_default { + pinmux = , +, +, +; + bias-disable; + }; + + pinctrl_uart1_default: uart1_default { + pinmux = , +; + bias-disable; + }; + + pinctrl_uart3_default: uart3_default { + pinmux = , +; + bias-disable; + }; + }; }; }; }; -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/