Skip to content

Commit a8f3740

Browse files
committed
Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC device tree conversions from Arnd Bergmann: "These are device tree conversions for a number of platforms, with the intention of turning code from board files into device tree descriptions. Notable changes are: - davinci bindings for pinctrl, MTD, RTC, watchdog and i2c - nomadik bindings for all devices, removing the board files - bcm2835 bindings for mmc and i2c - tegra bindings for hdmi, keyboard, audio, as well as some updates - at91 bindings for hardware ecc and for devices on RM9200 - mxs bindings for cfa100xx - sunxi support for Miniand Hackberry board" * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (72 commits) Revert "sunxi: a10-cubieboard: Add user LEDs to the device tree" Revert "sunxi: a13-olinuxino: Add user LED to the device tree" clk: tegra: initialise parent of uart clocks ARM: tegra: remove clock-frequency properties from serial nodes clk: tegra: fix driver to match DT binding clk: tegra: local arrays should be static clk: tegra: Add missing spinlock for hclk and pclk clk: tegra: Implement locking for super clock clk: tegra: fix wrong clock index between se to sata_cold sunxi: a13-olinuxino: Add user LED to the device tree ARM: davinci: da850 DT: add support for machine reboot ARM: davinci: da850: add wdt DT node ARM: davinci: da850: add DT node for I2C0 ARM: at91: at91sam9n12: add DT parameters to enable PMECC ARM: at91: at91sam9x5: add DT parameters to enable PMECC ARM: at91: add EMAC bindings to RM9200 DT ARM: at91: add SSC bindings to RM9200 DT ARM: at91: add MMC bindings to RM9200 DT ARM: at91: Animeo IP: enable watchdog support ARM: nomadik: fix OF compilation regression ...
2 parents 6c5096e + 89dfe56 commit a8f3740

57 files changed

Lines changed: 2746 additions & 780 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
ST-Ericsson Nomadik Device Tree Bindings
2+
3+
For various board the "board" node may contain specific properties
4+
that pertain to this particular board, such as board-specific GPIOs.
5+
6+
Boards with the Nomadik SoC include:
7+
8+
S8815 "MiniKit" manufactured by Calao Systems:
9+
10+
Required root node property:
11+
12+
compatible="calaosystems,usb-s8815";
13+
14+
Required node: usb-s8815
15+
16+
Example:
17+
18+
usb-s8815 {
19+
ethernet-gpio {
20+
gpios = <&gpio3 19 0x1>;
21+
interrupts = <19 0x1>;
22+
interrupt-parent = <&gpio3>;
23+
};
24+
mmcsd-gpio {
25+
gpios = <&gpio3 16 0x1>;
26+
};
27+
};
Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,34 @@
11
NVIDIA Tegra device tree bindings
22
-------------------------------------------
33

4-
Boards with the tegra20 SoC shall have the following properties:
4+
SoCs
5+
-------------------------------------------
56

6-
Required root node property:
7+
Each device tree must specify which Tegra SoC it uses, using one of the
8+
following compatible values:
79

8-
compatible = "nvidia,tegra20";
10+
nvidia,tegra20
11+
nvidia,tegra30
912

10-
Boards with the tegra30 SoC shall have the following properties:
13+
Boards
14+
-------------------------------------------
1115

12-
Required root node property:
16+
Each device tree must specify which one or more of the following
17+
board-specific compatible values:
1318

14-
compatible = "nvidia,tegra30";
19+
ad,medcom-wide
20+
ad,plutux
21+
ad,tamonten
22+
ad,tec
23+
compal,paz00
24+
compulab,trimslice
25+
nvidia,beaver
26+
nvidia,cardhu
27+
nvidia,cardhu-a02
28+
nvidia,cardhu-a04
29+
nvidia,harmony
30+
nvidia,seaboard
31+
nvidia,ventana
32+
nvidia,whistler
33+
toradex,colibri_t20-512
34+
toradex,iris

‎Documentation/devicetree/bindings/mtd/fsmc-nand.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
* FSMC NAND
22

33
Required properties:
4-
- compatible : "st,spear600-fsmc-nand"
4+
- compatible : "st,spear600-fsmc-nand", "stericsson,fsmc-nand"
55
- reg : Address range of the mtd chip
66
- reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd"
77

‎arch/arm/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,10 +896,12 @@ config ARCH_NOMADIK
896896
select ARCH_REQUIRE_GPIOLIB
897897
select ARM_AMBA
898898
select ARM_VIC
899+
select CLKSRC_NOMADIK_MTU
899900
select COMMON_CLK
900901
select CPU_ARM926T
901902
select GENERIC_CLOCKEVENTS
902903
select MIGHT_HAVE_CACHE_L2X0
904+
select USE_OF
903905
select PINCTRL
904906
select PINCTRL_STN8815
905907
select SPARSE_IRQ

‎arch/arm/boot/dts/Makefile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \
9696
imx28-apf28dev.dtb \
9797
imx28-apx4devkit.dtb \
9898
imx28-cfa10036.dtb \
99+
imx28-cfa10037.dtb \
99100
imx28-cfa10049.dtb \
100101
imx28-evk.dtb \
101102
imx28-m28evk.dtb \
102103
imx28-sps1.dtb \
103104
imx28-tx28.dtb
105+
dtb-$(CONFIG_ARCH_NOMADIK) += ste-nomadik-s8815.dtb
104106
dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
105107
omap3-beagle.dtb \
106108
omap3-beagle-xm.dtb \
@@ -135,8 +137,10 @@ dtb-$(CONFIG_ARCH_SPEAR3XX)+= spear300-evb.dtb \
135137
spear320-hmi.dtb
136138
dtb-$(CONFIG_ARCH_SPEAR6XX)+= spear600-evb.dtb
137139
dtb-$(CONFIG_ARCH_SUNXI) += sun4i-a10-cubieboard.dtb \
140+
sun4i-a10-hackberry.dtb \
138141
sun5i-a13-olinuxino.dtb
139142
dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
143+
tegra20-iris-512.dtb \
140144
tegra20-medcom-wide.dtb \
141145
tegra20-paz00.dtb \
142146
tegra20-plutux.dtb \
@@ -145,6 +149,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
145149
tegra20-trimslice.dtb \
146150
tegra20-ventana.dtb \
147151
tegra20-whistler.dtb \
152+
tegra30-beaver.dtb \
148153
tegra30-cardhu-a02.dtb \
149154
tegra30-cardhu-a04.dtb \
150155
tegra114-dalmore.dtb \

‎arch/arm/boot/dts/animeo_ip.dts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@
7878
bus-width = <4>;
7979
};
8080
};
81+
82+
watchdog@fffffd40 {
83+
status = "okay";
84+
};
8185
};
8286

8387
nand0: nand@40000000 {

‎arch/arm/boot/dts/at91rm9200.dtsi‎

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
gpio3 = &pioD;
3030
tcb0 = &tcb0;
3131
tcb1 = &tcb1;
32+
ssc0 = &ssc0;
33+
ssc1 = &ssc1;
34+
ssc2 = &ssc2;
3235
};
3336
cpus {
3437
cpu@0 {
@@ -88,6 +91,52 @@
8891
interrupts = <20 4 0 21 4 0 22 4 0>;
8992
};
9093

94+
mmc0: mmc@fffb4000 {
95+
compatible = "atmel,hsmci";
96+
reg = <0xfffb4000 0x4000>;
97+
interrupts = <10 4 0>;
98+
#address-cells = <1>;
99+
#size-cells = <0>;
100+
status = "disabled";
101+
};
102+
103+
ssc0: ssc@fffd0000 {
104+
compatible = "atmel,at91rm9200-ssc";
105+
reg = <0xfffd0000 0x4000>;
106+
interrupts = <14 4 5>;
107+
pinctrl-names = "default";
108+
pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
109+
status = "disable";
110+
};
111+
112+
ssc1: ssc@fffd4000 {
113+
compatible = "atmel,at91rm9200-ssc";
114+
reg = <0xfffd4000 0x4000>;
115+
interrupts = <15 4 5>;
116+
pinctrl-names = "default";
117+
pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
118+
status = "disable";
119+
};
120+
121+
ssc2: ssc@fffd8000 {
122+
compatible = "atmel,at91rm9200-ssc";
123+
reg = <0xfffd8000 0x4000>;
124+
interrupts = <16 4 5>;
125+
pinctrl-names = "default";
126+
pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>;
127+
status = "disable";
128+
};
129+
130+
macb0: ethernet@fffbc000 {
131+
compatible = "cdns,at91rm9200-emac", "cdns,emac";
132+
reg = <0xfffbc000 0x4000>;
133+
interrupts = <24 4 3>;
134+
phy-mode = "rmii";
135+
pinctrl-names = "default";
136+
pinctrl-0 = <&pinctrl_macb_rmii>;
137+
status = "disabled";
138+
};
139+
91140
pinctrl@fffff400 {
92141
#address-cells = <1>;
93142
#size-cells = <1>;
@@ -207,6 +256,115 @@
207256
};
208257
};
209258

259+
macb {
260+
pinctrl_macb_rmii: macb_rmii-0 {
261+
atmel,pins =
262+
<0 7 0x1 0x0 /* PA7 periph A */
263+
0 8 0x1 0x0 /* PA8 periph A */
264+
0 9 0x1 0x0 /* PA9 periph A */
265+
0 10 0x1 0x0 /* PA10 periph A */
266+
0 11 0x1 0x0 /* PA11 periph A */
267+
0 12 0x1 0x0 /* PA12 periph A */
268+
0 13 0x1 0x0 /* PA13 periph A */
269+
0 14 0x1 0x0 /* PA14 periph A */
270+
0 15 0x1 0x0 /* PA15 periph A */
271+
0 16 0x1 0x0>; /* PA16 periph A */
272+
};
273+
274+
pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
275+
atmel,pins =
276+
<1 12 0x2 0x0 /* PB12 periph B */
277+
1 13 0x2 0x0 /* PB13 periph B */
278+
1 14 0x2 0x0 /* PB14 periph B */
279+
1 15 0x2 0x0 /* PB15 periph B */
280+
1 16 0x2 0x0 /* PB16 periph B */
281+
1 17 0x2 0x0 /* PB17 periph B */
282+
1 18 0x2 0x0 /* PB18 periph B */
283+
1 19 0x2 0x0>; /* PB19 periph B */
284+
};
285+
};
286+
287+
mmc0 {
288+
pinctrl_mmc0_clk: mmc0_clk-0 {
289+
atmel,pins =
290+
<0 27 0x1 0x0>; /* PA27 periph A */
291+
};
292+
293+
pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
294+
atmel,pins =
295+
<0 28 0x1 0x1 /* PA28 periph A with pullup */
296+
0 29 0x1 0x1>; /* PA29 periph A with pullup */
297+
};
298+
299+
pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
300+
atmel,pins =
301+
<1 3 0x2 0x1 /* PB3 periph B with pullup */
302+
1 4 0x2 0x1 /* PB4 periph B with pullup */
303+
1 5 0x2 0x1>; /* PB5 periph B with pullup */
304+
};
305+
306+
pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
307+
atmel,pins =
308+
<0 8 0x2 0x1 /* PA8 periph B with pullup */
309+
0 9 0x2 0x1>; /* PA9 periph B with pullup */
310+
};
311+
312+
pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
313+
atmel,pins =
314+
<0 10 0x2 0x1 /* PA10 periph B with pullup */
315+
0 11 0x2 0x1 /* PA11 periph B with pullup */
316+
0 12 0x2 0x1>; /* PA12 periph B with pullup */
317+
};
318+
};
319+
320+
ssc0 {
321+
pinctrl_ssc0_tx: ssc0_tx-0 {
322+
atmel,pins =
323+
<1 0 0x1 0x0 /* PB0 periph A */
324+
1 1 0x1 0x0 /* PB1 periph A */
325+
1 2 0x1 0x0>; /* PB2 periph A */
326+
};
327+
328+
pinctrl_ssc0_rx: ssc0_rx-0 {
329+
atmel,pins =
330+
<1 3 0x1 0x0 /* PB3 periph A */
331+
1 4 0x1 0x0 /* PB4 periph A */
332+
1 5 0x1 0x0>; /* PB5 periph A */
333+
};
334+
};
335+
336+
ssc1 {
337+
pinctrl_ssc1_tx: ssc1_tx-0 {
338+
atmel,pins =
339+
<1 6 0x1 0x0 /* PB6 periph A */
340+
1 7 0x1 0x0 /* PB7 periph A */
341+
1 8 0x1 0x0>; /* PB8 periph A */
342+
};
343+
344+
pinctrl_ssc1_rx: ssc1_rx-0 {
345+
atmel,pins =
346+
<1 9 0x1 0x0 /* PB9 periph A */
347+
1 10 0x1 0x0 /* PB10 periph A */
348+
1 11 0x1 0x0>; /* PB11 periph A */
349+
};
350+
};
351+
352+
ssc2 {
353+
pinctrl_ssc2_tx: ssc2_tx-0 {
354+
atmel,pins =
355+
<1 12 0x1 0x0 /* PB12 periph A */
356+
1 13 0x1 0x0 /* PB13 periph A */
357+
1 14 0x1 0x0>; /* PB14 periph A */
358+
};
359+
360+
pinctrl_ssc2_rx: ssc2_rx-0 {
361+
atmel,pins =
362+
<1 15 0x1 0x0 /* PB15 periph A */
363+
1 16 0x1 0x0 /* PB16 periph A */
364+
1 17 0x1 0x0>; /* PB17 periph A */
365+
};
366+
};
367+
210368
pioA: gpio@fffff400 {
211369
compatible = "atmel,at91rm9200-gpio";
212370
reg = <0xfffff400 0x200>;

‎arch/arm/boot/dts/at91rm9200ek.dts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
status = "okay";
4545
};
4646

47+
macb0: ethernet@fffbc000 {
48+
phy-mode = "rmii";
49+
status = "okay";
50+
};
51+
4752
usb1: gadget@fffb0000 {
4853
atmel,vbus-gpio = <&pioD 4 0>;
4954
status = "okay";

‎arch/arm/boot/dts/at91sam9n12.dtsi‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,9 @@
382382
reg = < 0x40000000 0x10000000
383383
0xffffe000 0x00000600
384384
0xffffe600 0x00000200
385-
0x00100000 0x00100000
385+
0x00108000 0x00018000
386386
>;
387+
atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
387388
atmel,nand-addr-offset = <21>;
388389
atmel,nand-cmd-offset = <22>;
389390
pinctrl-names = "default";

‎arch/arm/boot/dts/at91sam9n12ek.dts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@
7171

7272
nand0: nand@40000000 {
7373
nand-bus-width = <8>;
74-
nand-ecc-mode = "soft";
74+
nand-ecc-mode = "hw";
75+
atmel,has-pmecc;
76+
atmel,pmecc-cap = <2>;
77+
atmel,pmecc-sector-size = <512>;
7578
nand-on-flash-bbt;
7679
status = "okay";
7780
};

0 commit comments

Comments
 (0)