diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-07-10 08:06:20 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-07-12 11:36:13 -0400 |
commit | eae10c68d361a7c1f481e1bd009f49dd1c49c04a (patch) | |
tree | 1922435a8a8972b2ac72affa8b38323f9f2fcc7a | |
parent | 14d597b74aed3c44af0ee8f5ea24b970a50aec99 (diff) | |
parent | 3c68bb48214f87562b6956195178d991403d66d4 (diff) |
Merge tag 'at91-for-next-dt' of git://github.com/at91linux/linux-at91 into next/dt
From Nicolas Ferre <nicolas.ferre@atmel.com>:
Two new boards described with device tree
* tag 'at91-for-next-dt' of git://github.com/at91linux/linux-at91:
ARM: at91: Add support for board aks-cdu
ARM: at91: add support for Telit EVK-PRO3 with Telit GE863-PRO3
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/boot/dts/aks-cdu.dts | 113 | ||||
-rw-r--r-- | arch/arm/boot/dts/evk-pro3.dts | 41 | ||||
-rw-r--r-- | arch/arm/boot/dts/ge863-pro3.dtsi | 52 | ||||
-rw-r--r-- | arch/arm/mach-at91/Makefile.boot | 2 |
4 files changed, 208 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aks-cdu.dts b/arch/arm/boot/dts/aks-cdu.dts new file mode 100644 index 000000000000..29b9f15e7599 --- /dev/null +++ b/arch/arm/boot/dts/aks-cdu.dts | |||
@@ -0,0 +1,113 @@ | |||
1 | /* | ||
2 | * aks-cdu.dts - Device Tree file for AK signal CDU | ||
3 | * | ||
4 | * Copyright (C) 2012 AK signal Brno a.s. | ||
5 | * 2012 Jiri Prchal <jiri.prchal@aksignal.cz> | ||
6 | * | ||
7 | * Licensed under GPLv2 or later. | ||
8 | */ | ||
9 | |||
10 | /dts-v1/; | ||
11 | |||
12 | /include/ "ge863-pro3.dtsi" | ||
13 | |||
14 | / { | ||
15 | chosen { | ||
16 | bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs"; | ||
17 | }; | ||
18 | |||
19 | ahb { | ||
20 | apb { | ||
21 | usart0: serial@fffb0000 { | ||
22 | status = "okay"; | ||
23 | }; | ||
24 | |||
25 | usart1: serial@fffb4000 { | ||
26 | status = "okay"; | ||
27 | linux,rs485-enabled-at-boot-time; | ||
28 | rs485-rts-delay = <0 0>; | ||
29 | }; | ||
30 | |||
31 | usart2: serial@fffb8000 { | ||
32 | status = "okay"; | ||
33 | linux,rs485-enabled-at-boot-time; | ||
34 | rs485-rts-delay = <0 0>; | ||
35 | }; | ||
36 | |||
37 | usart3: serial@fffd0000 { | ||
38 | status = "okay"; | ||
39 | linux,rs485-enabled-at-boot-time; | ||
40 | rs485-rts-delay = <0 0>; | ||
41 | }; | ||
42 | |||
43 | macb0: ethernet@fffc4000 { | ||
44 | phy-mode = "rmii"; | ||
45 | status = "okay"; | ||
46 | }; | ||
47 | |||
48 | usb1: gadget@fffa4000 { | ||
49 | atmel,vbus-gpio = <&pioC 15 0>; | ||
50 | status = "okay"; | ||
51 | }; | ||
52 | }; | ||
53 | |||
54 | usb0: ohci@00500000 { | ||
55 | num-ports = <2>; | ||
56 | status = "okay"; | ||
57 | }; | ||
58 | |||
59 | nand0: nand@40000000 { | ||
60 | nand-bus-width = <8>; | ||
61 | nand-ecc-mode = "soft"; | ||
62 | nand-on-flash-bbt; | ||
63 | status = "okay"; | ||
64 | |||
65 | bootstrap@0 { | ||
66 | label = "bootstrap"; | ||
67 | reg = <0x0 0x40000>; | ||
68 | }; | ||
69 | |||
70 | uboot@40000 { | ||
71 | label = "uboot"; | ||
72 | reg = <0x40000 0x80000>; | ||
73 | }; | ||
74 | ubootenv@c0000 { | ||
75 | label = "ubootenv"; | ||
76 | reg = <0xc0000 0x40000>; | ||
77 | }; | ||
78 | kernel@100000 { | ||
79 | label = "kernel"; | ||
80 | reg = <0x100000 0x400000>; | ||
81 | }; | ||
82 | rootfs@500000 { | ||
83 | label = "rootfs"; | ||
84 | reg = <0x500000 0x7b00000>; | ||
85 | }; | ||
86 | }; | ||
87 | }; | ||
88 | |||
89 | leds { | ||
90 | compatible = "gpio-leds"; | ||
91 | |||
92 | red { | ||
93 | gpios = <&pioC 10 0>; | ||
94 | linux,default-trigger = "none"; | ||
95 | }; | ||
96 | |||
97 | green { | ||
98 | gpios = <&pioA 5 1>; | ||
99 | linux,default-trigger = "none"; | ||
100 | default-state = "on"; | ||
101 | }; | ||
102 | |||
103 | yellow { | ||
104 | gpios = <&pioB 20 1>; | ||
105 | linux,default-trigger = "none"; | ||
106 | }; | ||
107 | |||
108 | blue { | ||
109 | gpios = <&pioB 21 1>; | ||
110 | linux,default-trigger = "none"; | ||
111 | }; | ||
112 | }; | ||
113 | }; | ||
diff --git a/arch/arm/boot/dts/evk-pro3.dts b/arch/arm/boot/dts/evk-pro3.dts new file mode 100644 index 000000000000..b7354e6506de --- /dev/null +++ b/arch/arm/boot/dts/evk-pro3.dts | |||
@@ -0,0 +1,41 @@ | |||
1 | /* | ||
2 | * evk-pro3.dts - Device Tree file for Telit EVK-PRO3 with Telit GE863-PRO3 | ||
3 | * | ||
4 | * Copyright (C) 2012 Telit, | ||
5 | * 2012 Fabio Porcedda <fabio.porcedda@gmail.com> | ||
6 | * | ||
7 | * Licensed under GPLv2 or later. | ||
8 | */ | ||
9 | |||
10 | /dts-v1/; | ||
11 | |||
12 | /include/ "ge863-pro3.dtsi" | ||
13 | |||
14 | / { | ||
15 | model = "Telit EVK-PRO3 for Telit GE863-PRO3"; | ||
16 | compatible = "telit,evk-pro3", "atmel,at91sam9260", "atmel,at91sam9"; | ||
17 | |||
18 | ahb { | ||
19 | apb { | ||
20 | macb0: ethernet@fffc4000 { | ||
21 | phy-mode = "rmii"; | ||
22 | status = "okay"; | ||
23 | }; | ||
24 | |||
25 | usb1: gadget@fffa4000 { | ||
26 | atmel,vbus-gpio = <&pioC 5 0>; | ||
27 | status = "okay"; | ||
28 | }; | ||
29 | }; | ||
30 | |||
31 | usb0: ohci@00500000 { | ||
32 | num-ports = <2>; | ||
33 | status = "okay"; | ||
34 | }; | ||
35 | }; | ||
36 | |||
37 | i2c@0 { | ||
38 | status = "okay"; | ||
39 | }; | ||
40 | |||
41 | }; \ No newline at end of file | ||
diff --git a/arch/arm/boot/dts/ge863-pro3.dtsi b/arch/arm/boot/dts/ge863-pro3.dtsi new file mode 100644 index 000000000000..17136fc7a516 --- /dev/null +++ b/arch/arm/boot/dts/ge863-pro3.dtsi | |||
@@ -0,0 +1,52 @@ | |||
1 | /* | ||
2 | * ge863_pro3.dtsi - Device Tree file for Telit GE863-PRO3 | ||
3 | * | ||
4 | * Copyright (C) 2012 Telit, | ||
5 | * 2012 Fabio Porcedda <fabio.porcedda@gmail.com> | ||
6 | * | ||
7 | * Licensed under GPLv2 or later. | ||
8 | */ | ||
9 | |||
10 | /include/ "at91sam9260.dtsi" | ||
11 | |||
12 | / { | ||
13 | clocks { | ||
14 | #address-cells = <1>; | ||
15 | #size-cells = <1>; | ||
16 | ranges; | ||
17 | |||
18 | main_clock: clock@0 { | ||
19 | compatible = "atmel,osc", "fixed-clock"; | ||
20 | clock-frequency = <6000000>; | ||
21 | }; | ||
22 | }; | ||
23 | |||
24 | ahb { | ||
25 | apb { | ||
26 | dbgu: serial@fffff200 { | ||
27 | status = "okay"; | ||
28 | }; | ||
29 | }; | ||
30 | |||
31 | nand0: nand@40000000 { | ||
32 | nand-bus-width = <8>; | ||
33 | nand-ecc-mode = "soft"; | ||
34 | nand-on-flash-bbt; | ||
35 | status = "okay"; | ||
36 | |||
37 | boot@0 { | ||
38 | label = "boot"; | ||
39 | reg = <0x0 0x7c0000>; | ||
40 | }; | ||
41 | |||
42 | root@07c0000 { | ||
43 | label = "root"; | ||
44 | reg = <0x7c0000 0x7840000>; | ||
45 | }; | ||
46 | }; | ||
47 | }; | ||
48 | |||
49 | chosen { | ||
50 | bootargs = "console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=1 rootfstype=ubifs"; | ||
51 | }; | ||
52 | }; | ||
diff --git a/arch/arm/mach-at91/Makefile.boot b/arch/arm/mach-at91/Makefile.boot index 9e84fe4f2aaa..30bb7332e30b 100644 --- a/arch/arm/mach-at91/Makefile.boot +++ b/arch/arm/mach-at91/Makefile.boot | |||
@@ -15,7 +15,9 @@ endif | |||
15 | 15 | ||
16 | # Keep dtb files sorted alphabetically for each SoC | 16 | # Keep dtb files sorted alphabetically for each SoC |
17 | # sam9260 | 17 | # sam9260 |
18 | dtb-$(CONFIG_MACH_AT91SAM_DT) += aks-cdu.dtb | ||
18 | dtb-$(CONFIG_MACH_AT91SAM_DT) += ethernut5.dtb | 19 | dtb-$(CONFIG_MACH_AT91SAM_DT) += ethernut5.dtb |
20 | dtb-$(CONFIG_MACH_AT91SAM_DT) += evk-pro3.dtb | ||
19 | dtb-$(CONFIG_MACH_AT91SAM_DT) += tny_a9260.dtb | 21 | dtb-$(CONFIG_MACH_AT91SAM_DT) += tny_a9260.dtb |
20 | dtb-$(CONFIG_MACH_AT91SAM_DT) += usb_a9260.dtb | 22 | dtb-$(CONFIG_MACH_AT91SAM_DT) += usb_a9260.dtb |
21 | # sam9263 | 23 | # sam9263 |