Merge tag 'backlight-for-linus-3.16' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git] / arch / arm / boot / dts / at91sam9x5cm.dtsi
1 /*
2  * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module
3  *
4  *  Copyright (C) 2012 Atmel,
5  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
6  *
7  * Licensed under GPLv2 or later.
8  */
9
10 / {
11         memory {
12                 reg = <0x20000000 0x8000000>;
13         };
14
15         clocks {
16                 #address-cells = <1>;
17                 #size-cells = <1>;
18                 ranges;
19
20                 main_clock: clock@0 {
21                         compatible = "atmel,osc", "fixed-clock";
22                         clock-frequency = <12000000>;
23                 };
24         };
25
26         slow_xtal {
27                 clock-frequency = <32768>;
28         };
29
30         main_xtal {
31                 clock-frequency = <12000000>;
32         };
33
34         ahb {
35                 apb {
36                         pinctrl@fffff400 {
37                                 1wire_cm {
38                                         pinctrl_1wire_cm: 1wire_cm-0 {
39                                                 atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */
40                                         };
41                                 };
42                         };
43                 };
44
45                 nand0: nand@40000000 {
46                         nand-bus-width = <8>;
47                         nand-ecc-mode = "hw";
48                         atmel,has-pmecc;        /* Enable PMECC */
49                         atmel,pmecc-cap = <2>;
50                         atmel,pmecc-sector-size = <512>;
51                         nand-on-flash-bbt;
52                         status = "okay";
53
54                         at91bootstrap@0 {
55                                 label = "at91bootstrap";
56                                 reg = <0x0 0x40000>;
57                         };
58
59                         uboot@40000 {
60                                 label = "u-boot";
61                                 reg = <0x40000 0x80000>;
62                         };
63
64                         ubootenv@c0000 {
65                                 label = "U-Boot Env";
66                                 reg = <0xc0000 0x140000>;
67                         };
68
69                         kernel@200000 {
70                                 label = "kernel";
71                                 reg = <0x200000 0x600000>;
72                         };
73
74                         rootfs@800000 {
75                                 label = "rootfs";
76                                 reg = <0x800000 0x1f800000>;
77                         };
78                 };
79         };
80
81         leds {
82                 compatible = "gpio-leds";
83
84                 pb18 {
85                         label = "pb18";
86                         gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
87                         linux,default-trigger = "heartbeat";
88                 };
89
90                 pd21 {
91                         label = "pd21";
92                         gpios = <&pioD 21 GPIO_ACTIVE_HIGH>;
93                 };
94         };
95
96         1wire_cm {
97                 compatible = "w1-gpio";
98                 gpios = <&pioB 18 GPIO_ACTIVE_HIGH>;
99                 linux,open-drain;
100                 pinctrl-names = "default";
101                 pinctrl-0 = <&pinctrl_1wire_cm>;
102                 status = "okay";
103         };
104
105 };