blob: 8e87aa926f19b9f90150c5fd8bea02d911e259cd [file] [log] [blame]
Tony Priskcb935e72012-08-03 20:54:16 +12001/*
2 * vt8500.dtsi - Device tree file for VIA VT8500 SoC
3 *
4 * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
5 *
6 * Licensed under GPLv2 or later
7 */
8
9/include/ "skeleton.dtsi"
10
11/ {
12 compatible = "via,vt8500";
13
14 soc {
15 #address-cells = <1>;
16 #size-cells = <1>;
17 compatible = "simple-bus";
18 ranges;
19 interrupt-parent = <&intc>;
20
21 intc: interrupt-controller@d8140000 {
22 compatible = "via,vt8500-intc";
23 interrupt-controller;
24 reg = <0xd8140000 0x10000>;
25 #interrupt-cells = <1>;
26 };
27
28 gpio: gpio-controller@d8110000 {
29 compatible = "via,vt8500-gpio";
30 gpio-controller;
31 reg = <0xd8110000 0x10000>;
32 #gpio-cells = <3>;
33 };
34
Tony Prisk649a59c2013-02-20 09:52:23 +130035 pinctrl: pinctrl@d8110000 {
36 compatible = "via,vt8500-pinctrl";
37 reg = <0xd8110000 0x10000>;
38 interrupt-controller;
39 #interrupt-cells = <2>;
40 gpio-controller;
41 #gpio-cells = <2>;
42 };
43
Tony Priskcb935e72012-08-03 20:54:16 +120044 pmc@d8130000 {
45 compatible = "via,vt8500-pmc";
46 reg = <0xd8130000 0x1000>;
47
48 clocks {
49 #address-cells = <1>;
50 #size-cells = <0>;
51
52 ref24: ref24M {
53 #clock-cells = <0>;
54 compatible = "fixed-clock";
55 clock-frequency = <24000000>;
56 };
Tony Prisk12faa352013-01-18 15:05:31 +130057
58 clkuart0: uart0 {
59 #clock-cells = <0>;
60 compatible = "via,vt8500-device-clock";
61 clocks = <&ref24>;
62 enable-reg = <0x250>;
63 enable-bit = <1>;
64 };
65
66 clkuart1: uart1 {
67 #clock-cells = <0>;
68 compatible = "via,vt8500-device-clock";
69 clocks = <&ref24>;
70 enable-reg = <0x250>;
71 enable-bit = <2>;
72 };
73
74 clkuart2: uart2 {
75 #clock-cells = <0>;
76 compatible = "via,vt8500-device-clock";
77 clocks = <&ref24>;
78 enable-reg = <0x250>;
79 enable-bit = <3>;
80 };
81
82 clkuart3: uart3 {
83 #clock-cells = <0>;
84 compatible = "via,vt8500-device-clock";
85 clocks = <&ref24>;
86 enable-reg = <0x250>;
87 enable-bit = <4>;
88 };
Tony Priskcb935e72012-08-03 20:54:16 +120089 };
90 };
91
92 timer@d8130100 {
93 compatible = "via,vt8500-timer";
94 reg = <0xd8130100 0x28>;
95 interrupts = <36>;
96 };
97
98 ehci@d8007900 {
99 compatible = "via,vt8500-ehci";
100 reg = <0xd8007900 0x200>;
101 interrupts = <43>;
102 };
103
104 uhci@d8007b00 {
105 compatible = "platform-uhci";
106 reg = <0xd8007b00 0x200>;
107 interrupts = <43>;
108 };
109
110 fb@d800e400 {
111 compatible = "via,vt8500-fb";
112 reg = <0xd800e400 0x400>;
113 interrupts = <12>;
114 display = <&display>;
115 default-mode = <&mode0>;
116 };
117
118 ge_rops@d8050400 {
119 compatible = "wm,prizm-ge-rops";
120 reg = <0xd8050400 0x100>;
121 };
122
123 uart@d8200000 {
124 compatible = "via,vt8500-uart";
125 reg = <0xd8200000 0x1040>;
126 interrupts = <32>;
Tony Prisk12faa352013-01-18 15:05:31 +1300127 clocks = <&clkuart0>;
Tony Priskcb935e72012-08-03 20:54:16 +1200128 };
129
130 uart@d82b0000 {
131 compatible = "via,vt8500-uart";
132 reg = <0xd82b0000 0x1040>;
133 interrupts = <33>;
Tony Prisk12faa352013-01-18 15:05:31 +1300134 clocks = <&clkuart1>;
Tony Priskcb935e72012-08-03 20:54:16 +1200135 };
136
137 uart@d8210000 {
138 compatible = "via,vt8500-uart";
139 reg = <0xd8210000 0x1040>;
140 interrupts = <47>;
Tony Prisk12faa352013-01-18 15:05:31 +1300141 clocks = <&clkuart2>;
Tony Priskcb935e72012-08-03 20:54:16 +1200142 };
143
144 uart@d82c0000 {
145 compatible = "via,vt8500-uart";
146 reg = <0xd82c0000 0x1040>;
147 interrupts = <50>;
Tony Prisk12faa352013-01-18 15:05:31 +1300148 clocks = <&clkuart3>;
Tony Priskcb935e72012-08-03 20:54:16 +1200149 };
150
151 rtc@d8100000 {
152 compatible = "via,vt8500-rtc";
153 reg = <0xd8100000 0x10000>;
154 interrupts = <48>;
155 };
156 };
157};