aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/animeo_ip.dts166
2 files changed, 167 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 4a4337b19476..52c6b46098b9 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -4,6 +4,7 @@ ifeq ($(CONFIG_OF),y)
4# rm9200 4# rm9200
5dtb-$(CONFIG_ARCH_AT91) += at91rm9200ek.dtb 5dtb-$(CONFIG_ARCH_AT91) += at91rm9200ek.dtb
6# sam9260 6# sam9260
7dtb-$(CONFIG_ARCH_AT91) += animeo_ip.dtb
7dtb-$(CONFIG_ARCH_AT91) += aks-cdu.dtb 8dtb-$(CONFIG_ARCH_AT91) += aks-cdu.dtb
8dtb-$(CONFIG_ARCH_AT91) += ethernut5.dtb 9dtb-$(CONFIG_ARCH_AT91) += ethernut5.dtb
9dtb-$(CONFIG_ARCH_AT91) += evk-pro3.dtb 10dtb-$(CONFIG_ARCH_AT91) += evk-pro3.dtb
diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts
new file mode 100644
index 000000000000..518baedaae05
--- /dev/null
+++ b/arch/arm/boot/dts/animeo_ip.dts
@@ -0,0 +1,166 @@
1/*
2 * animeo_ip.dts - Device Tree file for Somfy Animeo IP Boards
3 *
4 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5 *
6 * Licensed under GPLv2 only.
7 */
8
9/dts-v1/;
10/include/ "at91sam9260.dtsi"
11
12/ {
13 model = "Somfy Animeo IP";
14 compatible = "somfy,animeo-ip", "atmel,at91sam9260", "atmel,at91sam9";
15
16 aliases {
17 serial0 = &usart1;
18 serial1 = &usart2;
19 serial2 = &usart0;
20 serial3 = &dbgu;
21 serial4 = &usart3;
22 serial5 = &uart0;
23 serial6 = &uart1;
24 };
25
26 chosen {
27 linux,stdout-path = &usart2;
28 };
29
30 memory {
31 reg = <0x20000000 0x4000000>;
32 };
33
34 clocks {
35 #address-cells = <1>;
36 #size-cells = <1>;
37 ranges;
38
39 main_clock: clock@0 {
40 compatible = "atmel,osc", "fixed-clock";
41 clock-frequency = <18432000>;
42 };
43 };
44
45 ahb {
46 apb {
47 usart0: serial@fffb0000 {
48 pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts>;
49 linux,rs485-enabled-at-boot-time;
50 status = "okay";
51 };
52
53 usart1: serial@fffb4000 {
54 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts>;
55 linux,rs485-enabled-at-boot-time;
56 status = "okay";
57 };
58
59 usart2: serial@fffb8000 {
60 pinctrl-0 = <&pinctrl_usart2>;
61 status = "okay";
62 };
63
64 macb0: ethernet@fffc4000 {
65 pinctrl-0 = <&pinctrl_macb_rmii &pinctrl_macb_rmii_mii>;
66 phy-mode = "mii";
67 status = "okay";
68 };
69 };
70
71 nand0: nand@40000000 {
72 nand-bus-width = <8>;
73 nand-ecc-mode = "soft";
74 nand-on-flash-bbt;
75 status = "okay";
76
77 at91bootstrap@0 {
78 label = "at91bootstrap";
79 reg = <0x0 0x8000>;
80 };
81
82 barebox@8000 {
83 label = "barebox";
84 reg = <0x8000 0x40000>;
85 };
86
87 bareboxenv@48000 {
88 label = "bareboxenv";
89 reg = <0x48000 0x8000>;
90 };
91
92 user_block@0x50000 {
93 label = "user_block";
94 reg = <0x50000 0xb0000>;
95 };
96
97 kernel@100000 {
98 label = "kernel";
99 reg = <0x100000 0x1b0000>;
100 };
101
102 root@2b0000 {
103 label = "root";
104 reg = <0x2b0000 0x1D50000>;
105 };
106 };
107
108 usb0: ohci@00500000 {
109 num-ports = <2>;
110 atmel,vbus-gpio = <&pioB 15 1>;
111 status = "okay";
112 };
113 };
114
115 leds {
116 compatible = "gpio-leds";
117
118 power_green {
119 label = "power_green";
120 gpios = <&pioC 17 0>;
121 linux,default-trigger = "heartbeat";
122 };
123
124 power_red {
125 label = "power_red";
126 gpios = <&pioA 2 0>;
127 };
128
129 tx_green {
130 label = "tx_green";
131 gpios = <&pioC 19 0>;
132 };
133
134 tx_red {
135 label = "tx_red";
136 gpios = <&pioC 18 0>;
137 };
138 };
139
140 gpio_keys {
141 compatible = "gpio-keys";
142 #address-cells = <1>;
143 #size-cells = <0>;
144
145 keyswitch_in {
146 label = "keyswitch_in";
147 gpios = <&pioB 1 0>;
148 linux,code = <28>;
149 gpio-key,wakeup;
150 };
151
152 error_in {
153 label = "error_in";
154 gpios = <&pioB 2 0>;
155 linux,code = <29>;
156 gpio-key,wakeup;
157 };
158
159 btn {
160 label = "btn";
161 gpios = <&pioC 23 0>;
162 linux,code = <31>;
163 gpio-key,wakeup;
164 };
165 };
166};