Commit 40eb4417 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Jason Cooper

arm: kirkwood: iconnect: give meaningful names to pinmux configs

The Kirkwood iConnect Device Tree is currently using totally
meaningless names for the pinmux configuration: pmx_gpio_XY.

This patch fixes that by using some more meaningful names such as
pmx_button_power.
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent df483efa
...@@ -21,50 +21,50 @@ chosen { ...@@ -21,50 +21,50 @@ chosen {
ocp@f1000000 { ocp@f1000000 {
pinctrl: pinctrl@10000 { pinctrl: pinctrl@10000 {
pinctrl-0 = < &pmx_gpio_12 &pmx_gpio_35 pinctrl-0 = < &pmx_button_reset &pmx_button_otb
&pmx_gpio_41 &pmx_gpio_42 &pmx_led_level &pmx_led_power_blue
&pmx_gpio_43 &pmx_gpio_44 &pmx_led_power_red &pmx_led_usb1
&pmx_gpio_45 &pmx_gpio_46 &pmx_led_usb2 &pmx_led_usb3
&pmx_gpio_47 &pmx_gpio_48 >; &pmx_led_usb4 &pmx_led_otb >;
pinctrl-names = "default"; pinctrl-names = "default";
pmx_gpio_12: pmx-gpio-12 { pmx_button_reset: pmx-button-reset {
marvell,pins = "mpp12"; marvell,pins = "mpp12";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_gpio_35: pmx-gpio-35 { pmx_button_otb: pmx-button-otb {
marvell,pins = "mpp35"; marvell,pins = "mpp35";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_gpio_41: pmx-gpio-41 { pmx_led_level: pmx-led-level {
marvell,pins = "mpp41"; marvell,pins = "mpp41";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_gpio_42: pmx-gpio-42 { pmx_led_power_blue: pmx-led-power-blue {
marvell,pins = "mpp42"; marvell,pins = "mpp42";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_gpio_43: pmx-gpio-43 { pmx_led_power_red: pmx-power-red {
marvell,pins = "mpp43"; marvell,pins = "mpp43";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_gpio_44: pmx-gpio-44 { pmx_led_usb1: pmx-led-usb1 {
marvell,pins = "mpp44"; marvell,pins = "mpp44";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_gpio_45: pmx-gpio-45 { pmx_led_usb2: pmx-led-usb2 {
marvell,pins = "mpp45"; marvell,pins = "mpp45";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_gpio_46: pmx-gpio-46 { pmx_led_usb3: pmx-led-usb3 {
marvell,pins = "mpp46"; marvell,pins = "mpp46";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_gpio_47: pmx-gpio-47 { pmx_led_usb4: pmx-led-usb4 {
marvell,pins = "mpp47"; marvell,pins = "mpp47";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_gpio_48: pmx-gpio-48 { pmx_led_otb: pmx-led-otb {
marvell,pins = "mpp48"; marvell,pins = "mpp48";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
......
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