Commit b8f70c3a authored by Vaibhav Hiremath's avatar Vaibhav Hiremath Committed by Benoit Cousson

ARM: dts: AM33XX: Add pinctrl binding to gpio-leds node

Now gpio-leds driver is using devm_pinctrl_get_select_default()
api to set default pinmux configuration required for the
functionality of the driver, so this patch moves respective
pinctrl binding inside leds node.
Signed-off-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: default avatarBenoit Cousson <benoit.cousson@linaro.org>
parent 3f866445
...@@ -26,7 +26,7 @@ memory { ...@@ -26,7 +26,7 @@ memory {
am33xx_pinmux: pinmux@44e10800 { am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0>; pinctrl-0 = <>;
user_leds_s0: user_leds_s0 { user_leds_s0: user_leds_s0 {
pinctrl-single,pins = < pinctrl-single,pins = <
...@@ -65,6 +65,9 @@ tps: tps@24 { ...@@ -65,6 +65,9 @@ tps: tps@24 {
}; };
leds { leds {
pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0>;
compatible = "gpio-leds"; compatible = "gpio-leds";
led@2 { led@2 {
......
...@@ -32,7 +32,7 @@ memory { ...@@ -32,7 +32,7 @@ memory {
am33xx_pinmux: pinmux@44e10800 { am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0 &gpio_keys_s0>; pinctrl-0 = <&gpio_keys_s0>;
user_leds_s0: user_leds_s0 { user_leds_s0: user_leds_s0 {
pinctrl-single,pins = < pinctrl-single,pins = <
...@@ -121,6 +121,9 @@ lis3_reg: fixedregulator@1 { ...@@ -121,6 +121,9 @@ lis3_reg: fixedregulator@1 {
}; };
leds { leds {
pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0>;
compatible = "gpio-leds"; compatible = "gpio-leds";
led@1 { led@1 {
......
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