Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 1 | /* |
| 2 | * at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit |
| 3 | * |
| 4 | * Copyright (C) 2012 Joachim Eastwood <manabian@gmail.com> |
| 5 | * |
| 6 | * Licensed under GPLv2 only |
| 7 | */ |
| 8 | /dts-v1/; |
| 9 | /include/ "at91rm9200.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "Atmel AT91RM9200 evaluation kit"; |
| 13 | compatible = "atmel,at91rm9200ek", "atmel,at91rm9200"; |
| 14 | |
| 15 | memory { |
| 16 | reg = <0x20000000 0x4000000>; |
| 17 | }; |
| 18 | |
| 19 | clocks { |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
| 22 | ranges; |
| 23 | |
| 24 | main_clock: clock@0 { |
| 25 | compatible = "atmel,osc", "fixed-clock"; |
| 26 | clock-frequency = <18432000>; |
| 27 | }; |
| 28 | }; |
| 29 | |
| 30 | ahb { |
| 31 | apb { |
| 32 | dbgu: serial@fffff200 { |
| 33 | status = "okay"; |
| 34 | }; |
| 35 | |
| 36 | usart1: serial@fffc4000 { |
| 37 | pinctrl-0 = |
| 38 | <&pinctrl_uart1 |
| 39 | &pinctrl_uart1_rts |
| 40 | &pinctrl_uart1_cts |
| 41 | &pinctrl_uart1_dtr_dsr |
| 42 | &pinctrl_uart1_dcd |
| 43 | &pinctrl_uart1_ri>; |
| 44 | status = "okay"; |
| 45 | }; |
| 46 | |
| 47 | usb1: gadget@fffb0000 { |
| 48 | atmel,vbus-gpio = <&pioD 4 0>; |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | usb0: ohci@00300000 { |
| 54 | num-ports = <2>; |
| 55 | status = "okay"; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | leds { |
| 60 | compatible = "gpio-leds"; |
| 61 | |
| 62 | ds2 { |
| 63 | label = "green"; |
| 64 | gpios = <&pioB 0 0x1>; |
| 65 | linux,default-trigger = "mmc0"; |
| 66 | }; |
| 67 | |
| 68 | ds4 { |
| 69 | label = "yellow"; |
| 70 | gpios = <&pioB 1 0x1>; |
| 71 | linux,default-trigger = "heartbeat"; |
| 72 | }; |
| 73 | |
| 74 | ds6 { |
| 75 | label = "red"; |
| 76 | gpios = <&pioB 2 0x1>; |
| 77 | }; |
| 78 | }; |
| 79 | }; |