diff options
author | Simon Baatz <gmbnomis@gmail.com> | 2013-06-04 17:32:32 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-06-05 11:01:54 -0400 |
commit | a649277e79a5c28a94d258b5579b62daaf5ffd6d (patch) | |
tree | d30c884055b81e7029e693ccb1127d2fa4ac0e81 /arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts | |
parent | be5a9389e82054ebd8c15b3d6354ec5c1568cb7c (diff) |
arm: kirkwood: sheevaplug: move pinmux configs to the right devices
When the pinmux mechanism was added in Kirkwood, the device driver
core was not yet providing the possibility of attaching pinmux
configurations to all devices, drivers had to do it explicitly, and
not all drivers were doing this.
Now that the driver core does that in a generic way, it makes sense to
attach the pinmux configuration to their corresponding devices.
Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts b/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts index 1c6946a62aa9..f620ce48de97 100644 --- a/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts +++ b/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts | |||
@@ -15,15 +15,6 @@ | |||
15 | compatible = "globalscale,sheevaplug-esata-rev13", "globalscale,sheevaplug-esata", "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | 15 | compatible = "globalscale,sheevaplug-esata-rev13", "globalscale,sheevaplug-esata", "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
16 | 16 | ||
17 | ocp@f1000000 { | 17 | ocp@f1000000 { |
18 | pinctrl: pinctrl@10000 { | ||
19 | |||
20 | pinctrl-0 = < &pmx_nand &pmx_uart0 | ||
21 | &pmx_usb_power_enable | ||
22 | &pmx_led_blue>; | ||
23 | pinctrl-names = "default"; | ||
24 | |||
25 | }; | ||
26 | |||
27 | sata@80000 { | 18 | sata@80000 { |
28 | status = "okay"; | 19 | status = "okay"; |
29 | nr-ports = <2>; | 20 | nr-ports = <2>; |
@@ -37,4 +28,16 @@ | |||
37 | wp-gpios = <&gpio1 15 0>; | 28 | wp-gpios = <&gpio1 15 0>; |
38 | }; | 29 | }; |
39 | }; | 30 | }; |
31 | |||
32 | gpio-leds { | ||
33 | compatible = "gpio-leds"; | ||
34 | pinctrl-0 = <&pmx_led_blue>; | ||
35 | pinctrl-names = "default"; | ||
36 | |||
37 | health { | ||
38 | label = "sheevaplug:blue:health"; | ||
39 | gpios = <&gpio1 17 1>; | ||
40 | linux,default-trigger = "default-on"; | ||
41 | }; | ||
42 | }; | ||
40 | }; | 43 | }; |