1/*
2 * Copyright (c) 2019-2021 Linaro Limited
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7sysclk: system-clock {
8	compatible = "fixed-clock";
9	clock-frequency = <25000000>;
10	#clock-cells = <0>;
11};
12
13gpio0: gpio@1100000 {
14	compatible = "arm,cmsdk-gpio";
15	reg = <0x1100000 0x1000>;
16	interrupts = <69 3>;
17	gpio-controller;
18	#gpio-cells = <2>;
19};
20
21gpio1: gpio@1101000 {
22	compatible = "arm,cmsdk-gpio";
23	reg = <0x1101000 0x1000>;
24	interrupts = <70 3>;
25	gpio-controller;
26	#gpio-cells = <2>;
27};
28
29gpio2: gpio@1102000 {
30	compatible = "arm,cmsdk-gpio";
31	reg = <0x1102000 0x1000>;
32	interrupts = <71 3>;
33	gpio-controller;
34	#gpio-cells = <2>;
35};
36
37gpio3: gpio@1103000 {
38	compatible = "arm,cmsdk-gpio";
39	reg = <0x1103000 0x1000>;
40	interrupts = <72 3>;
41	gpio-controller;
42	#gpio-cells = <2>;
43};
44
45eth0: eth@1400000 {
46	/* Linux has "smsc,lan9115" */
47	compatible = "smsc,lan9220";
48	/* Actual reg range is ~0x200 */
49	reg = <0x1400000 0x100000>;
50	interrupts = <49 3>;
51};
52
53i2c_touch: i2c@9200000 {
54	compatible = "arm,versatile-i2c";
55	clock-frequency = <I2C_BITRATE_STANDARD>;
56	#address-cells = <1>;
57	#size-cells = <0>;
58	reg = <0x9200000 0x1000>;
59};
60
61i2c_audio_conf: i2c@9201000 {
62	compatible = "arm,versatile-i2c";
63	clock-frequency = <I2C_BITRATE_STANDARD>;
64	#address-cells = <1>;
65	#size-cells = <0>;
66	reg = <0x9201000 0x1000>;
67};
68
69i2c_shield0: i2c@9203000 {
70	compatible = "arm,versatile-i2c";
71	clock-frequency = <I2C_BITRATE_STANDARD>;
72	#address-cells = <1>;
73	#size-cells = <0>;
74	reg = <0x9203000 0x1000>;
75};
76
77i2c_shield1: i2c@9204000 {
78	compatible = "arm,versatile-i2c";
79	clock-frequency = <I2C_BITRATE_STANDARD>;
80	#address-cells = <1>;
81	#size-cells = <0>;
82	reg = <0x9204000 0x1000>;
83};
84
85i2c_ddr4_eeprom: i2c@9208000 {
86	compatible = "arm,versatile-i2c";
87	clock-frequency = <I2C_BITRATE_STANDARD>;
88	#address-cells = <1>;
89	#size-cells = <0>;
90	reg = <0x9208000 0x1000>;
91};
92
93gpio_led0: mps3_fpgaio@9302000 {
94	compatible = "arm,mps3-fpgaio-gpio";
95
96	reg = <0x9302000 0x4>;
97	gpio-controller;
98	#gpio-cells = <1>;
99	ngpios = <8>;
100};
101
102gpio_button: mps3_fpgaio@9302008 {
103	compatible = "arm,mps3-fpgaio-gpio";
104
105	reg = <0x9302008 0x4>;
106	gpio-controller;
107	#gpio-cells = <1>;
108	ngpios = <2>;
109};
110
111gpio_misc: mps3_fpgaio@930204c {
112	compatible = "arm,mps3-fpgaio-gpio";
113
114	reg = <0x930204c 0x4>;
115	gpio-controller;
116	#gpio-cells = <1>;
117	ngpios = <3>;
118};
119
120uart0: uart@9303000 {
121	compatible = "arm,cmsdk-uart";
122	reg = <0x9303000 0x1000>;
123	interrupts = <34 3 33 3>;
124	interrupt-names = "tx", "rx";
125	clocks = <&sysclk>;
126	current-speed = <115200>;
127};
128
129uart1: uart@9304000 {
130	compatible = "arm,cmsdk-uart";
131	reg = <0x9304000 0x1000>;
132	interrupts = <36 3 35 3>;
133	interrupt-names = "tx", "rx";
134	clocks = <&sysclk>;
135	current-speed = <115200>;
136};
137
138uart2: uart@9305000 {
139	compatible = "arm,cmsdk-uart";
140	reg = <0x9305000 0x1000>;
141	interrupts = <38 3 37 3>;
142	interrupt-names = "tx", "rx";
143	clocks = <&sysclk>;
144	current-speed = <115200>;
145};
146
147uart3: uart@9306000 {
148	compatible = "arm,cmsdk-uart";
149	reg = <0x9306000 0x1000>;
150	interrupts = <40 3 39 3>;
151	interrupt-names = "tx", "rx";
152	clocks = <&sysclk>;
153	current-speed = <115200>;
154};
155
156uart4: uart@9307000 {
157	compatible = "arm,cmsdk-uart";
158	reg = <0x9307000 0x1000>;
159	interrupts = <42 3 41 3>;
160	interrupt-names = "tx", "rx";
161	clocks = <&sysclk>;
162	current-speed = <115200>;
163};
164
165uart5: uart@9308000 {
166	compatible = "arm,cmsdk-uart";
167	status = "disabled";
168	reg = <0x9308000 0x1000>;
169	interrupt-names = "tx", "rx";
170	interrupts = <126 3 125 3>;
171	clocks = <&sysclk>;
172	current-speed = <115200>;
173};
174