Commit 05ed0bc0 authored by Robin van der Gracht's avatar Robin van der Gracht Committed by Shawn Guo

ARM: dts: imx6dl-victgo: Add interrupt-counter nodes

Interrupt counter is mainlined, now we can add missing counter nodes.
Signed-off-by: default avatarRobin van der Gracht <robin@protonic.nl>
Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent cb15ebbc
...@@ -54,6 +54,27 @@ comp0_out: endpoint { ...@@ -54,6 +54,27 @@ comp0_out: endpoint {
}; };
}; };
counter-0 {
compatible = "interrupt-counter";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_counter0>;
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
counter-1 {
compatible = "interrupt-counter";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_counter1>;
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
};
counter-2 {
compatible = "interrupt-counter";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_counter2>;
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -400,7 +421,7 @@ &gpio1 { ...@@ -400,7 +421,7 @@ &gpio1 {
&gpio2 { &gpio2 {
gpio-line-names = gpio-line-names =
"", "", "", "", "", "", "", "", "YACO_WHEEL", "YACO_RADAR", "YACO_PTO", "", "", "", "", "",
"", "LED_PWM", "", "", "", "", "LED_PWM", "", "", "",
"", "", "", "", "", "",
"", "", "", "", "", "", "ISB_IN1", "ON_SWITCH", "", "", "", "", "", "", "ISB_IN1", "ON_SWITCH",
...@@ -708,6 +729,24 @@ MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x13008 ...@@ -708,6 +729,24 @@ MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x13008
>; >;
}; };
pinctrl_counter0: counter0grp {
fsl,pins = <
MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x1b000
>;
};
pinctrl_counter1: counter1grp {
fsl,pins = <
MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b000
>;
};
pinctrl_counter2: counter2grp {
fsl,pins = <
MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b000
>;
};
pinctrl_ecspi1: ecspi1grp { pinctrl_ecspi1: ecspi1grp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
......
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