Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 1 | /* |
| 2 | * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board |
| 3 | * |
| 4 | * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
| 5 | * |
| 6 | * Licensed under GPLv2 or later. |
| 7 | */ |
| 8 | /dts-v1/; |
| 9 | /include/ "at91sam9g20.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "Calao USB A9G20"; |
| 13 | compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:128k(at91bootstrap),256k(barebox)ro,128k(bareboxenv),128k(bareboxenv2),4M(kernel),120M(rootfs),-(data) root=/dev/mtdblock5 rw rootfstype=ubifs"; |
| 17 | }; |
| 18 | |
| 19 | memory@20000000 { |
| 20 | reg = <0x20000000 0x4000000>; |
| 21 | }; |
| 22 | |
| 23 | ahb { |
| 24 | apb { |
| 25 | dbgu: serial@fffff200 { |
| 26 | status = "okay"; |
| 27 | }; |
Nicolas Ferre | 0d4f99d | 2011-12-05 18:03:05 +0100 | [diff] [blame] | 28 | |
| 29 | macb0: ethernet@fffc4000 { |
| 30 | phy-mode = "rmii"; |
| 31 | status = "okay"; |
| 32 | }; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 33 | }; |
| 34 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 4ea2565 | 2012-02-04 01:24:22 +0800 | [diff] [blame] | 35 | |
| 36 | leds { |
| 37 | compatible = "gpio-leds"; |
| 38 | |
| 39 | user_led { |
| 40 | label = "user_led"; |
| 41 | gpios = <&pioB 21 1>; |
| 42 | linux,default-trigger = "heartbeat"; |
| 43 | }; |
| 44 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 2ea332d | 2012-02-04 12:43:10 +0800 | [diff] [blame] | 45 | |
| 46 | gpio_keys { |
| 47 | compatible = "gpio-keys"; |
| 48 | #address-cells = <1>; |
| 49 | #size-cells = <0>; |
| 50 | |
| 51 | user_pb { |
| 52 | label = "user_pb"; |
| 53 | gpios = <&pioB 10 1>; |
| 54 | linux,code = <28>; |
| 55 | gpio-key,wakeup; |
| 56 | }; |
| 57 | }; |
Jean-Christophe PLAGNIOL-VILLARD | fea3158 | 2011-10-14 09:40:52 +0800 | [diff] [blame] | 58 | }; |