ARM: dts: imx27-phytec-phycore-rdk: Enable 1-Wire module
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 21 Dec 2013 07:11:38 +0000 (11:11 +0400)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 9 Feb 2014 13:33:31 +0000 (21:33 +0800)
This patch enables 1-Wire module for Phytec PCM-970 RDK.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts

index fc2ed30..e9a9966 100644 (file)
                        >;
                };
 
+               pinctrl_owire1: owire1grp {
+                       fsl,pins = <
+                               MX27_PAD_RTCK__OWIRE 0x0
+                       >;
+               };
+
                pinctrl_uart1: uart1grp {
                        fsl,pins = <
                                MX27_PAD_UART1_TXD__UART1_TXD 0x0
        };
 };
 
+&owire {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_owire1>;
+       status = "okay";
+};
+
 &sdhci2 {
        bus-width = <4>;
        cd-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>;