ARM: dts: pxa2xx: fix hwuart memory range
[muen/linux.git] / arch / arm / boot / dts / pxa2xx.dtsi
1 /*
2  * pxa2xx.dtsi - Device Tree Include file for Marvell PXA2xx family SoC
3  *
4  * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
5  *
6  * Licensed under GPLv2 or later.
7  */
8
9 #include "skeleton.dtsi"
10 #include "dt-bindings/clock/pxa-clock.h"
11
12 #define PMGROUP(pin) #pin
13 #define PMMUX(func, pin, af)                    \
14         mux- ## func {                          \
15                 groups = PMGROUP(P ## pin);     \
16                 function = #af;                 \
17         }
18 #define PMMUX_LPM_LOW(func, pin, af)            \
19         mux- ## func {                          \
20                 groups = PMGROUP(P ## pin);     \
21                 function = #af;                 \
22                 low-power-disable;              \
23         }
24 #define PMMUX_LPM_HIGH(func, pin, af)           \
25         mux- ## func {                          \
26                 groups = PMGROUP(P ## pin);     \
27                 function = #af;                 \
28                 low-power-enable;               \
29         }
30
31 / {
32         model = "Marvell PXA2xx family SoC";
33         compatible = "marvell,pxa2xx";
34         interrupt-parent = <&pxairq>;
35
36         aliases {
37                 serial0 = &ffuart;
38                 serial1 = &btuart;
39                 serial2 = &stuart;
40                 serial3 = &hwuart;
41                 i2c0 = &pwri2c;
42                 i2c1 = &pxai2c1;
43         };
44
45         cpus {
46                 cpu {
47                         compatible = "marvell,xscale";
48                         device_type = "cpu";
49                 };
50         };
51
52         pxabus {
53                 compatible = "simple-bus";
54                 #address-cells = <1>;
55                 #size-cells = <1>;
56                 ranges;
57
58                 pxairq: interrupt-controller@40d00000 {
59                         #interrupt-cells = <1>;
60                         compatible = "marvell,pxa-intc";
61                         interrupt-controller;
62                         interrupt-parent;
63                         marvell,intc-nr-irqs = <32>;
64                         reg = <0x40d00000 0xd0>;
65                 };
66
67                 gpio: gpio@40e00000 {
68                         compatible = "mrvl,pxa-gpio";
69                         #address-cells = <0x1>;
70                         #size-cells = <0x1>;
71                         reg = <0x40e00000 0x10000>;
72                         gpio-controller;
73                         #gpio-cells = <0x2>;
74                         interrupts = <8>, <9>, <10>;
75                         interrupt-names = "gpio0", "gpio1", "gpio_mux";
76                         interrupt-controller;
77                         #interrupt-cells = <0x2>;
78                         ranges;
79
80                         gcb0: gpio@40e00000 {
81                                 reg = <0x40e00000 0x4>;
82                         };
83
84                         gcb1: gpio@40e00004 {
85                                 reg = <0x40e00004 0x4>;
86                         };
87
88                         gcb2: gpio@40e00008 {
89                                 reg = <0x40e00008 0x4>;
90                         };
91                         gcb3: gpio@40e0000c {
92                                 reg = <0x40e0000c 0x4>;
93                         };
94                 };
95
96                 ffuart: serial@40100000 {
97                         compatible = "mrvl,pxa-uart";
98                         reg = <0x40100000 0x30>;
99                         interrupts = <22>;
100                         clocks = <&clks CLK_FFUART>;
101                         status = "disabled";
102                 };
103
104                 btuart: serial@40200000 {
105                         compatible = "mrvl,pxa-uart";
106                         reg = <0x40200000 0x30>;
107                         interrupts = <21>;
108                         clocks = <&clks CLK_BTUART>;
109                         status = "disabled";
110                 };
111
112                 stuart: serial@40700000 {
113                         compatible = "mrvl,pxa-uart";
114                         reg = <0x40700000 0x30>;
115                         interrupts = <20>;
116                         clocks = <&clks CLK_STUART>;
117                         status = "disabled";
118                 };
119
120                 hwuart: serial@41600000 {
121                         compatible = "mrvl,pxa-uart";
122                         reg = <0x41600000 0x30>;
123                         interrupts = <7>;
124                         status = "disabled";
125                 };
126
127                 pxai2c1: i2c@40301680 {
128                         compatible = "mrvl,pxa-i2c";
129                         reg = <0x40301680 0x30>;
130                         interrupts = <18>;
131                         clocks = <&clks CLK_I2C>;
132                         #address-cells = <0x1>;
133                         #size-cells = <0>;
134                         status = "disabled";
135                 };
136
137                 usb0: ohci@4c000000 {
138                         compatible = "marvell,pxa-ohci";
139                         reg = <0x4c000000 0x10000>;
140                         interrupts = <3>;
141                         status = "disabled";
142                 };
143
144                 mmc0: mmc@41100000 {
145                         compatible = "marvell,pxa-mmc";
146                         reg = <0x41100000 0x1000>;
147                         interrupts = <23>;
148                         clocks = <&clks CLK_MMC>;
149                         dmas = <&pdma 21 3
150                                 &pdma 22 3>;
151                         dma-names = "rx", "tx";
152                         status = "disabled";
153                 };
154
155                 rtc@40900000 {
156                         compatible = "marvell,pxa-rtc";
157                         reg = <0x40900000 0x3c>;
158                         interrupts = <30 31>;
159                 };
160
161                 lcdc: lcd-controller@40500000 {
162                         compatible = "marvell,pxa2xx-lcdc";
163                         reg = <0x44000000 0x10000>;
164                         interrupts = <17>;
165                         clocks = <&clks CLK_LCD>;
166                         status = "disabled";
167                 };
168         };
169 };