diff mbox

[v2,10/11] arm64: dts: mt8173-evb: Add pinctrl/GPIO node for mt6397.

Message ID 1432015882-8646-11-git-send-email-hongzhou.yang@mediatek.com
State New
Headers show

Commit Message

Hongzhou Yang May 19, 2015, 6:11 a.m. UTC
Add pinctrl and GPIO node to mt8173-evb.dts.

Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt8173-evb.dts |    8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Matthias Brugger May 21, 2015, 8:03 a.m. UTC | #1
2015-05-19 8:11 GMT+02:00 Hongzhou Yang <hongzhou.yang@mediatek.com>:
> Add pinctrl and GPIO node to mt8173-evb.dts.
>
> Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
> ---
>  arch/arm64/boot/dts/mediatek/mt8173-evb.dts |    8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> index c9bc71b..bd473c8 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> @@ -14,6 +14,7 @@
>
>  /dts-v1/;
>  #include "mt8173.dtsi"
> +#include <dt-bindings/pinctrl/mt6397-pinfunc.h>
>
>  / {
>         model = "mediatek,mt8173-evb";
> @@ -43,6 +44,13 @@
>                 interrupt-controller;
>                 #interrupt-cells = <2>;
>
> +               pio6397: pinctrl@c000 {
> +                       compatible = "mediatek,mt6397-pinctrl";
> +                       pins-are-numbered;
> +                       gpio-controller;
> +                       #gpio-cells = <2>;
> +               };
> +
>                 rtc: rtc@e000 {
>                         compatible = "mediatek,mt6397-rtc";
>                 };
> --
> 1.7.9.5
>

Acked-by: Matthias Brugger <matthias.bgg@gmail.com>

Linus, please take it through your tree.
Thanks.
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
index c9bc71b..bd473c8 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
@@ -14,6 +14,7 @@ 
 
 /dts-v1/;
 #include "mt8173.dtsi"
+#include <dt-bindings/pinctrl/mt6397-pinfunc.h>
 
 / {
 	model = "mediatek,mt8173-evb";
@@ -43,6 +44,13 @@ 
 		interrupt-controller;
 		#interrupt-cells = <2>;
 
+		pio6397: pinctrl@c000 {
+			compatible = "mediatek,mt6397-pinctrl";
+			pins-are-numbered;
+			gpio-controller;
+			#gpio-cells = <2>;
+		};
+
 		rtc: rtc@e000 {
 			compatible = "mediatek,mt6397-rtc";
 		};