]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: pfla02: PHY reset is active-low
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 14 Apr 2014 15:37:26 +0000 (17:37 +0200)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:01:54 +0000 (23:01 +0800)
Note that the fec driver code currently hard-codes an active-low
reset, regardless of the flags in the device tree.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi

index 713893702122f58a967f628eaa10ba74605f6f82..69361771274c3090bee841eba18481641eec8218 100644 (file)
@@ -9,6 +9,8 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        model = "Phytec phyFLEX-i.MX6 Ouad";
        compatible = "phytec,imx6q-pfla02", "fsl,imx6q";
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
        phy-mode = "rgmii";
-       phy-reset-gpios = <&gpio3 23 0>;
+       phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
        status = "disabled";
 };