aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-07-29 08:29:04 -0400
committerJason Cooper <jason@lakedaemon.net>2013-08-12 17:03:47 -0400
commit535fb3445c48e5123dd7742ee9371314db1648aa (patch)
tree6de61793c5d3d30532c17538bd9a6b504185dd79 /arch/arm/boot
parent2d29983413a556ee74c013f80a17c69459303394 (diff)
ARM: dove: add common pinmux functions to DT
This adds common dedicated and gpio pinmux functions to SoC pinctrl node. It also relocates pinctrl references to corresponding DT nodes. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/dove-cubox.dts23
1 files changed, 3 insertions, 20 deletions
diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts
index 955188f6d2c1..525fb4503e8d 100644
--- a/arch/arm/boot/dts/dove-cubox.dts
+++ b/arch/arm/boot/dts/dove-cubox.dts
@@ -42,6 +42,8 @@
42 regulator-always-on; 42 regulator-always-on;
43 regulator-boot-on; 43 regulator-boot-on;
44 gpio = <&gpio0 1 0>; 44 gpio = <&gpio0 1 0>;
45 pinctrl-0 = <&pmx_gpio_1>;
46 pinctrl-names = "default";
45 }; 47 };
46 }; 48 };
47 49
@@ -110,6 +112,7 @@
110 status = "okay"; 112 status = "okay";
111 /* sdio0 card detect is connected to wrong pin on CuBox */ 113 /* sdio0 card detect is connected to wrong pin on CuBox */
112 cd-gpios = <&gpio0 12 1>; 114 cd-gpios = <&gpio0 12 1>;
115 pinctrl-0 = <&pmx_sdio0 &pmx_gpio_12>;
113}; 116};
114 117
115&spi0 { 118&spi0 {
@@ -122,23 +125,3 @@
122 reg = <0>; 125 reg = <0>;
123 }; 126 };
124}; 127};
125
126&pinctrl {
127 pinctrl-0 = <&pmx_gpio_1 &pmx_gpio_12>;
128 pinctrl-names = "default";
129
130 pmx_gpio_1: pmx-gpio-1 {
131 marvell,pins = "mpp1";
132 marvell,function = "gpio";
133 };
134
135 pmx_gpio_12: pmx-gpio-12 {
136 marvell,pins = "mpp12";
137 marvell,function = "gpio";
138 };
139
140 pmx_gpio_18: pmx-gpio-18 {
141 marvell,pins = "mpp18";
142 marvell,function = "gpio";
143 };
144};