1 // SPDX-License-Identifier: GPL-2.0
5 * Versatile Express (VE) system model
6 * Motherboard component
13 arm,v2m-memory-map = "rs1";
14 compatible = "arm,vexpress,v2m-p1", "simple-bus";
15 #address-cells = <2>; /* SMB chipselect number and offset */
17 #interrupt-cells = <1>;
21 compatible = "arm,vexpress-flash", "cfi-flash";
22 reg = <0 0x00000000 0x04000000>,
23 <4 0x00000000 0x04000000>;
28 compatible = "smsc,lan91c111";
29 reg = <2 0x02000000 0x10000>;
33 v2m_clk24mhz: clk24mhz {
34 compatible = "fixed-clock";
36 clock-frequency = <24000000>;
37 clock-output-names = "v2m:clk24mhz";
40 v2m_refclk1mhz: refclk1mhz {
41 compatible = "fixed-clock";
43 clock-frequency = <1000000>;
44 clock-output-names = "v2m:refclk1mhz";
47 v2m_refclk32khz: refclk32khz {
48 compatible = "fixed-clock";
50 clock-frequency = <32768>;
51 clock-output-names = "v2m:refclk32khz";
55 compatible = "simple-bus";
58 ranges = <0 3 0 0x200000>;
60 v2m_sysreg: sysreg@10000 {
61 compatible = "arm,vexpress-sysreg";
62 reg = <0x010000 0x1000>;
67 v2m_sysctl: sysctl@20000 {
68 compatible = "arm,sp810", "arm,primecell";
69 reg = <0x020000 0x1000>;
70 clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&v2m_clk24mhz>;
71 clock-names = "refclk", "timclk", "apb_pclk";
73 clock-output-names = "timerclken0", "timerclken1", "timerclken2", "timerclken3";
74 assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_sysctl 3>, <&v2m_sysctl 3>;
75 assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>;
79 compatible = "arm,pl041", "arm,primecell";
80 reg = <0x040000 0x1000>;
82 clocks = <&v2m_clk24mhz>;
83 clock-names = "apb_pclk";
87 compatible = "arm,pl180", "arm,primecell";
88 reg = <0x050000 0x1000>;
89 interrupts = <9>, <10>;
90 cd-gpios = <&v2m_sysreg 0 0>;
91 wp-gpios = <&v2m_sysreg 1 0>;
92 max-frequency = <12000000>;
93 vmmc-supply = <&v2m_fixed_3v3>;
94 clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
95 clock-names = "mclk", "apb_pclk";
99 compatible = "arm,pl050", "arm,primecell";
100 reg = <0x060000 0x1000>;
102 clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
103 clock-names = "KMIREFCLK", "apb_pclk";
107 compatible = "arm,pl050", "arm,primecell";
108 reg = <0x070000 0x1000>;
110 clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
111 clock-names = "KMIREFCLK", "apb_pclk";
114 v2m_serial0: uart@90000 {
115 compatible = "arm,pl011", "arm,primecell";
116 reg = <0x090000 0x1000>;
118 clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
119 clock-names = "uartclk", "apb_pclk";
122 v2m_serial1: uart@a0000 {
123 compatible = "arm,pl011", "arm,primecell";
124 reg = <0x0a0000 0x1000>;
126 clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
127 clock-names = "uartclk", "apb_pclk";
130 v2m_serial2: uart@b0000 {
131 compatible = "arm,pl011", "arm,primecell";
132 reg = <0x0b0000 0x1000>;
134 clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
135 clock-names = "uartclk", "apb_pclk";
138 v2m_serial3: uart@c0000 {
139 compatible = "arm,pl011", "arm,primecell";
140 reg = <0x0c0000 0x1000>;
142 clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
143 clock-names = "uartclk", "apb_pclk";
147 compatible = "arm,sp805", "arm,primecell";
148 reg = <0x0f0000 0x1000>;
150 clocks = <&v2m_refclk32khz>, <&v2m_clk24mhz>;
151 clock-names = "wdogclk", "apb_pclk";
154 v2m_timer01: timer@110000 {
155 compatible = "arm,sp804", "arm,primecell";
156 reg = <0x110000 0x1000>;
158 clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_clk24mhz>;
159 clock-names = "timclken1", "timclken2", "apb_pclk";
162 v2m_timer23: timer@120000 {
163 compatible = "arm,sp804", "arm,primecell";
164 reg = <0x120000 0x1000>;
166 clocks = <&v2m_sysctl 2>, <&v2m_sysctl 3>, <&v2m_clk24mhz>;
167 clock-names = "timclken1", "timclken2", "apb_pclk";
170 virtio-block@130000 {
171 compatible = "virtio,mmio";
172 reg = <0x130000 0x200>;
177 compatible = "arm,pl031", "arm,primecell";
178 reg = <0x170000 0x1000>;
180 clocks = <&v2m_clk24mhz>;
181 clock-names = "apb_pclk";
185 compatible = "arm,pl111", "arm,primecell";
186 reg = <0x1f0000 0x1000>;
187 interrupt-names = "combined";
189 clocks = <&v2m_oscclk1>, <&v2m_clk24mhz>;
190 clock-names = "clcdclk", "apb_pclk";
191 /* 800x600 16bpp @36MHz works fine */
192 max-memory-bandwidth = <54000000>;
193 memory-region = <&vram>;
196 clcd_pads: endpoint {
197 remote-endpoint = <&panel_in>;
198 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
204 v2m_fixed_3v3: v2m-3v3 {
205 compatible = "regulator-fixed";
206 regulator-name = "3V3";
207 regulator-min-microvolt = <3300000>;
208 regulator-max-microvolt = <3300000>;
213 compatible = "arm,vexpress,config-bus";
214 arm,vexpress,config-bridge = <&v2m_sysreg>;
216 v2m_oscclk1: oscclk1 {
218 compatible = "arm,vexpress-osc";
219 arm,vexpress-sysreg,func = <1 1>;
220 freq-range = <23750000 63500000>;
222 clock-output-names = "v2m:oscclk1";
226 compatible = "arm,vexpress-reset";
227 arm,vexpress-sysreg,func = <5 0>;
231 compatible = "arm,vexpress-muxfpga";
232 arm,vexpress-sysreg,func = <7 0>;
236 compatible = "arm,vexpress-shutdown";
237 arm,vexpress-sysreg,func = <8 0>;
241 compatible = "arm,vexpress-reboot";
242 arm,vexpress-sysreg,func = <9 0>;
246 compatible = "arm,vexpress-dvimode";
247 arm,vexpress-sysreg,func = <11 0>;