]> git.ipfire.org Git - people/arne_f/kernel.git/blob - arch/arm/boot/dts/at91sam9x5cm.dtsi
sun7i: dts: add bananapro.
[people/arne_f/kernel.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 ahb {
27 apb {
28 pinctrl@fffff400 {
29 1wire_cm {
30 pinctrl_1wire_cm: 1wire_cm-0 {
31 atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */
32 };
33 };
34 };
35 };
36
37 nand0: nand@40000000 {
38 nand-bus-width = <8>;
39 nand-ecc-mode = "hw";
40 atmel,has-pmecc; /* Enable PMECC */
41 atmel,pmecc-cap = <2>;
42 atmel,pmecc-sector-size = <512>;
43 nand-on-flash-bbt;
44 status = "okay";
45
46 at91bootstrap@0 {
47 label = "at91bootstrap";
48 reg = <0x0 0x40000>;
49 };
50
51 uboot@40000 {
52 label = "u-boot";
53 reg = <0x40000 0x80000>;
54 };
55
56 ubootenv@c0000 {
57 label = "U-Boot Env";
58 reg = <0xc0000 0x140000>;
59 };
60
61 kernel@200000 {
62 label = "kernel";
63 reg = <0x200000 0x600000>;
64 };
65
66 rootfs@800000 {
67 label = "rootfs";
68 reg = <0x800000 0x1f800000>;
69 };
70 };
71 };
72
73 leds {
74 compatible = "gpio-leds";
75
76 pb18 {
77 label = "pb18";
78 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
79 linux,default-trigger = "heartbeat";
80 };
81
82 pd21 {
83 label = "pd21";
84 gpios = <&pioD 21 GPIO_ACTIVE_HIGH>;
85 };
86 };
87
88 1wire_cm {
89 compatible = "w1-gpio";
90 gpios = <&pioB 18 GPIO_ACTIVE_HIGH>;
91 linux,open-drain;
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_1wire_cm>;
94 status = "okay";
95 };
96
97 };