Commit 1041f98f authored by Russell King's avatar Russell King Committed by Shawn Guo

ARM: dts: imx6*-hummingboard: use proper gpio flags definitions

Use proper gpio flag definitions for GPIOs rather than using opaque
uninformative numbers.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 4adf3d6e
...@@ -48,7 +48,7 @@ chosen { ...@@ -48,7 +48,7 @@ chosen {
ir_recv: ir-receiver { ir_recv: ir-receiver {
compatible = "gpio-ir-receiver"; compatible = "gpio-ir-receiver";
gpios = <&gpio3 5 1>; gpios = <&gpio3 5 GPIO_ACTIVE_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>; pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>;
}; };
...@@ -67,7 +67,7 @@ reg_3p3v: 3p3v { ...@@ -67,7 +67,7 @@ reg_3p3v: 3p3v {
reg_usbh1_vbus: usb-h1-vbus { reg_usbh1_vbus: usb-h1-vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
enable-active-high; enable-active-high;
gpio = <&gpio1 0 0>; gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard_usbh1_vbus>; pinctrl-0 = <&pinctrl_hummingboard_usbh1_vbus>;
regulator-name = "usb_h1_vbus"; regulator-name = "usb_h1_vbus";
...@@ -78,7 +78,7 @@ reg_usbh1_vbus: usb-h1-vbus { ...@@ -78,7 +78,7 @@ reg_usbh1_vbus: usb-h1-vbus {
reg_usbotg_vbus: usb-otg-vbus { reg_usbotg_vbus: usb-otg-vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
enable-active-high; enable-active-high;
gpio = <&gpio3 22 0>; gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard_usbotg_vbus>; pinctrl-0 = <&pinctrl_hummingboard_usbotg_vbus>;
regulator-name = "usb_otg_vbus"; regulator-name = "usb_otg_vbus";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment