Skip to content

Commit 273c227

Browse files
author
Kevin Hilman
committed
Merge tag 'at91-cleanup2' of git://github.com/at91linux/linux-at91 into next/cleanup
From Nicolas Ferre: Second cleanup pull-request for 3.14: - a tiny fix for the recent AT91 CCF implementation - the switch of one platform to DT with board file removal * tag 'at91-cleanup2' of git://github.com/at91linux/linux-at91: ARM: at91: switch Calao QIL-A9260 board to DT clk: at91: fix pmc_clk_ids data type attriubte Signed-off-by: Kevin Hilman <khilman@linaro.org>
2 parents 26d5f92 + e91a555 commit 273c227

7 files changed

Lines changed: 187 additions & 275 deletions

File tree

‎arch/arm/boot/dts/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_AT91) += at91rm9200ek.dtb
66
dtb-$(CONFIG_ARCH_AT91) += mpa1600.dtb
77
# sam9260
88
dtb-$(CONFIG_ARCH_AT91) += animeo_ip.dtb
9+
dtb-$(CONFIG_ARCH_AT91) += at91-qil_a9260.dtb
910
dtb-$(CONFIG_ARCH_AT91) += aks-cdu.dtb
1011
dtb-$(CONFIG_ARCH_AT91) += ethernut5.dtb
1112
dtb-$(CONFIG_ARCH_AT91) += evk-pro3.dtb
Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
/*
2+
* at91-qil_a9260.dts - Device Tree file for Calao QIL A9260 board
3+
*
4+
* Copyright (C) 2011-2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5+
*
6+
* Licensed under GPLv2.
7+
*/
8+
/dts-v1/;
9+
#include "at91sam9260.dtsi"
10+
/ {
11+
model = "Calao QIL A9260";
12+
compatible = "calao,qil-a9260", "atmel,at91sam9260", "atmel,at91sam9";
13+
14+
chosen {
15+
bootargs = "console=ttyS0,115200";
16+
};
17+
18+
memory {
19+
reg = <0x20000000 0x4000000>;
20+
};
21+
22+
clocks {
23+
#address-cells = <1>;
24+
#size-cells = <1>;
25+
ranges;
26+
27+
main_clock: clock@0 {
28+
compatible = "atmel,osc", "fixed-clock";
29+
clock-frequency = <12000000>;
30+
};
31+
};
32+
33+
ahb {
34+
apb {
35+
usb1: gadget@fffa4000 {
36+
atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
37+
status = "okay";
38+
};
39+
40+
mmc0: mmc@fffa8000 {
41+
pinctrl-0 = <
42+
&pinctrl_mmc0_clk
43+
&pinctrl_mmc0_slot0_cmd_dat0
44+
&pinctrl_mmc0_slot0_dat1_3>;
45+
status = "okay";
46+
slot@0 {
47+
reg = <0>;
48+
bus-width = <4>;
49+
};
50+
};
51+
52+
usart0: serial@fffb0000 {
53+
pinctrl-0 =
54+
<&pinctrl_usart0
55+
&pinctrl_usart0_rts
56+
&pinctrl_usart0_cts
57+
&pinctrl_usart0_dtr_dsr
58+
&pinctrl_usart0_dcd
59+
&pinctrl_usart0_ri>;
60+
status = "okay";
61+
};
62+
63+
usart1: serial@fffb4000 {
64+
pinctrl-0 =
65+
<&pinctrl_usart1
66+
&pinctrl_usart1_rts
67+
&pinctrl_usart1_cts>;
68+
status = "okay";
69+
};
70+
71+
usart2: serial@fffb8000 {
72+
pinctrl-0 =
73+
<&pinctrl_usart2
74+
&pinctrl_usart2_rts
75+
&pinctrl_usart2_cts>;
76+
status = "okay";
77+
};
78+
79+
macb0: ethernet@fffc4000 {
80+
phy-mode = "rmii";
81+
status = "okay";
82+
};
83+
84+
spi0: spi@fffc8000 {
85+
status = "okay";
86+
cs-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>;
87+
88+
m41t94@0 {
89+
compatible = "st,m41t94";
90+
reg = <0>;
91+
spi-max-frequency = <1000000>;
92+
};
93+
94+
};
95+
96+
dbgu: serial@fffff200 {
97+
status = "okay";
98+
};
99+
100+
shdwc@fffffd10 {
101+
atmel,wakeup-counter = <10>;
102+
atmel,wakeup-rtt-timer;
103+
};
104+
};
105+
106+
usb0: ohci@00500000 {
107+
num-ports = <2>;
108+
status = "okay";
109+
};
110+
111+
nand0: nand@40000000 {
112+
nand-bus-width = <8>;
113+
nand-ecc-mode = "soft";
114+
nand-on-flash-bbt;
115+
status = "okay";
116+
117+
at91bootstrap@0 {
118+
label = "at91bootstrap";
119+
reg = <0x0 0x20000>;
120+
};
121+
122+
barebox@20000 {
123+
label = "barebox";
124+
reg = <0x20000 0x40000>;
125+
};
126+
127+
bareboxenv@60000 {
128+
label = "bareboxenv";
129+
reg = <0x60000 0x20000>;
130+
};
131+
132+
bareboxenv2@80000 {
133+
label = "bareboxenv2";
134+
reg = <0x80000 0x20000>;
135+
};
136+
137+
oftree@a0000 {
138+
label = "oftree";
139+
reg = <0xa0000 0x20000>;
140+
};
141+
142+
kernel@c0000 {
143+
label = "kernel";
144+
reg = <0xc0000 0x400000>;
145+
};
146+
147+
rootfs@4c0000 {
148+
label = "rootfs";
149+
reg = <0x4c0000 0x7800000>;
150+
};
151+
152+
data@7cc0000 {
153+
label = "data";
154+
reg = <0x7cc0000 0x8340000>;
155+
};
156+
};
157+
};
158+
159+
leds {
160+
compatible = "gpio-leds";
161+
162+
user_led {
163+
label = "user_led";
164+
gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
165+
linux,default-trigger = "heartbeat";
166+
};
167+
};
168+
169+
gpio_keys {
170+
compatible = "gpio-keys";
171+
#address-cells = <1>;
172+
#size-cells = <0>;
173+
174+
user_pb {
175+
label = "user_pb";
176+
gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
177+
linux,code = <28>;
178+
gpio-key,wakeup;
179+
};
180+
};
181+
182+
i2c@0 {
183+
status = "okay";
184+
};
185+
};

‎arch/arm/configs/at91sam9260_9g20_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ CONFIG_MACH_AT91SAM9260EK=y
1515
CONFIG_MACH_CAM60=y
1616
CONFIG_MACH_SAM9_L9260=y
1717
CONFIG_MACH_AFEB9260=y
18-
CONFIG_MACH_QIL_A9260=y
1918
CONFIG_MACH_CPU9260=y
2019
CONFIG_MACH_FLEXIBITY=y
2120
CONFIG_MACH_AT91SAM9G20EK=y

‎arch/arm/mach-at91/Kconfig.non_dt‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,6 @@ config MACH_AFEB9260
182182
<svn://194.85.238.22/home/users/george/svn/arm9eb>
183183
<http://groups.google.com/group/arm9fpga-evolution-board>
184184

185-
config MACH_QIL_A9260
186-
bool "CALAO QIL-A9260 board"
187-
help
188-
Select this if you are using a Calao Systems QIL-A9260 Board.
189-
<http://www.calao-systems.com>
190-
191185
config MACH_CPU9260
192186
bool "Eukrea CPU9260 board"
193187
help

‎arch/arm/mach-at91/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ obj-$(CONFIG_MACH_RSI_EWS) += board-rsi-ews.o
5252
obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
5353
obj-$(CONFIG_MACH_CAM60) += board-cam60.o
5454
obj-$(CONFIG_MACH_SAM9_L9260) += board-sam9-l9260.o
55-
obj-$(CONFIG_MACH_QIL_A9260) += board-qil-a9260.o
5655
obj-$(CONFIG_MACH_AFEB9260) += board-afeb-9260v1.o
5756
obj-$(CONFIG_MACH_CPU9260) += board-cpu9krea.o
5857
obj-$(CONFIG_MACH_FLEXIBITY) += board-flexibity.o

0 commit comments

Comments
 (0)