aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9260.dtsi
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-10-22 22:19:11 -0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-11-18 17:54:25 -0500
commitd9b4fe837d671af5329f32570362c3c0b571c40b (patch)
tree380eaab4ced5d17db565bbeee17cee47cf161b15 /arch/arm/boot/dts/at91sam9260.dtsi
parent7ebd7a3ae0dd6e826767df504f7850d935fc3ee9 (diff)
ARM: at91sam9: add macb pinctrl support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9260.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9260.dtsi42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi
index 9a24ffbb7231..36f55e34a430 100644
--- a/arch/arm/boot/dts/at91sam9260.dtsi
+++ b/arch/arm/boot/dts/at91sam9260.dtsi
@@ -216,6 +216,46 @@
216 }; 216 };
217 }; 217 };
218 218
219 macb {
220 pinctrl_macb_rmii: macb_rmii-0 {
221 atmel,pins =
222 <0 12 0x1 0x0 /* PA12 periph A */
223 0 13 0x1 0x0 /* PA13 periph A */
224 0 14 0x1 0x0 /* PA14 periph A */
225 0 15 0x1 0x0 /* PA15 periph A */
226 0 16 0x1 0x0 /* PA16 periph A */
227 0 17 0x1 0x0 /* PA17 periph A */
228 0 18 0x1 0x0 /* PA18 periph A */
229 0 19 0x1 0x0 /* PA19 periph A */
230 0 20 0x1 0x0 /* PA20 periph A */
231 0 21 0x1 0x0>; /* PA21 periph A */
232 };
233
234 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
235 atmel,pins =
236 <0 22 0x2 0x0 /* PA22 periph B */
237 0 23 0x2 0x0 /* PA23 periph B */
238 0 24 0x2 0x0 /* PA24 periph B */
239 0 25 0x2 0x0 /* PA25 periph B */
240 0 26 0x2 0x0 /* PA26 periph B */
241 0 27 0x2 0x0 /* PA27 periph B */
242 0 28 0x2 0x0 /* PA28 periph B */
243 0 29 0x2 0x0>; /* PA29 periph B */
244 };
245
246 pinctrl_macb_rmii_mii_alt: macb_rmii_mii-1 {
247 atmel,pins =
248 <0 10 0x2 0x0 /* PA10 periph B */
249 0 11 0x2 0x0 /* PA11 periph B */
250 0 24 0x2 0x0 /* PA24 periph B */
251 0 25 0x2 0x0 /* PA25 periph B */
252 0 26 0x2 0x0 /* PA26 periph B */
253 0 27 0x2 0x0 /* PA27 periph B */
254 0 28 0x2 0x0 /* PA28 periph B */
255 0 29 0x2 0x0>; /* PA29 periph B */
256 };
257 };
258
219 pioA: gpio@fffff400 { 259 pioA: gpio@fffff400 {
220 compatible = "atmel,at91rm9200-gpio"; 260 compatible = "atmel,at91rm9200-gpio";
221 reg = <0xfffff400 0x200>; 261 reg = <0xfffff400 0x200>;
@@ -326,6 +366,8 @@
326 compatible = "cdns,at32ap7000-macb", "cdns,macb"; 366 compatible = "cdns,at32ap7000-macb", "cdns,macb";
327 reg = <0xfffc4000 0x100>; 367 reg = <0xfffc4000 0x100>;
328 interrupts = <21 4 3>; 368 interrupts = <21 4 3>;
369 pinctrl-names = "default";
370 pinctrl-0 = <&pinctrl_macb_rmii>;
329 status = "disabled"; 371 status = "disabled";
330 }; 372 };
331 373