blob: 2575a58355679f202cc225463eedbaf1df2dcf4b [file] [log] [blame]
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +02001/*
2 * Copyright 2014 Carlo Caione <carlo@caione.org>
3 *
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
7 * whole.
8 *
9 * a) This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 *
22 * Or, alternatively,
23 *
24 * b) Permission is hereby granted, free of charge, to any person
25 * obtaining a copy of this software and associated documentation
26 * files (the "Software"), to deal in the Software without
27 * restriction, including without limitation the rights to use,
28 * copy, modify, merge, publish, distribute, sublicense, and/or
29 * sell copies of the Software, and to permit persons to whom the
30 * Software is furnished to do so, subject to the following
31 * conditions:
32 *
33 * The above copyright notice and this permission notice shall be
34 * included in all copies or substantial portions of the Software.
35 *
36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
38 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
43 * OTHER DEALINGS IN THE SOFTWARE.
44 */
45
Martin Blumenstingl2c323c42017-06-04 20:33:41 +020046#include <dt-bindings/clock/meson8b-clkc.h>
Beniamino Galvanid9fea882015-01-17 19:15:16 +010047#include <dt-bindings/gpio/meson8-gpio.h>
Martin Blumenstingl4a5a2712017-09-17 18:45:22 +020048#include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
Martin Blumenstingle30871872018-01-21 23:14:13 +010049#include <dt-bindings/reset/amlogic,meson8b-reset.h>
Martin Blumenstingl7a16f062017-06-15 23:33:43 +020050#include "meson.dtsi"
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020051
52/ {
53 model = "Amlogic Meson8 SoC";
54 compatible = "amlogic,meson8";
55
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020056 cpus {
57 #address-cells = <1>;
58 #size-cells = <0>;
59
Martin Blumenstingl17b66022018-04-22 12:45:01 +020060 cpu0: cpu@200 {
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020061 device_type = "cpu";
62 compatible = "arm,cortex-a9";
Beniamino Galvani550ab392014-11-18 15:30:35 +010063 next-level-cache = <&L2>;
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020064 reg = <0x200>;
Martin Blumenstingl4a5a2712017-09-17 18:45:22 +020065 enable-method = "amlogic,meson8-smp";
66 resets = <&clkc CLKC_RESET_CPU0_SOFT_RESET>;
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020067 };
68
Martin Blumenstingl17b66022018-04-22 12:45:01 +020069 cpu1: cpu@201 {
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020070 device_type = "cpu";
71 compatible = "arm,cortex-a9";
Beniamino Galvani550ab392014-11-18 15:30:35 +010072 next-level-cache = <&L2>;
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020073 reg = <0x201>;
Martin Blumenstingl4a5a2712017-09-17 18:45:22 +020074 enable-method = "amlogic,meson8-smp";
75 resets = <&clkc CLKC_RESET_CPU1_SOFT_RESET>;
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020076 };
77
Martin Blumenstingl17b66022018-04-22 12:45:01 +020078 cpu2: cpu@202 {
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020079 device_type = "cpu";
80 compatible = "arm,cortex-a9";
Beniamino Galvani550ab392014-11-18 15:30:35 +010081 next-level-cache = <&L2>;
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020082 reg = <0x202>;
Martin Blumenstingl4a5a2712017-09-17 18:45:22 +020083 enable-method = "amlogic,meson8-smp";
84 resets = <&clkc CLKC_RESET_CPU2_SOFT_RESET>;
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020085 };
86
Martin Blumenstingl17b66022018-04-22 12:45:01 +020087 cpu3: cpu@203 {
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020088 device_type = "cpu";
89 compatible = "arm,cortex-a9";
Beniamino Galvani550ab392014-11-18 15:30:35 +010090 next-level-cache = <&L2>;
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020091 reg = <0x203>;
Martin Blumenstingl4a5a2712017-09-17 18:45:22 +020092 enable-method = "amlogic,meson8-smp";
93 resets = <&clkc CLKC_RESET_CPU3_SOFT_RESET>;
Beniamino Galvaniaeff05a2014-10-05 23:59:14 +020094 };
95 };
Martin Blumenstingl8a7f0c52017-06-15 23:33:48 +020096
Martin Blumenstingl17b66022018-04-22 12:45:01 +020097 pmu {
98 compatible = "arm,cortex-a9-pmu";
99 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
100 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
101 <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
102 <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
103 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
104 };
105
Martin Blumenstingl8a7f0c52017-06-15 23:33:48 +0200106 reserved-memory {
107 #address-cells = <1>;
108 #size-cells = <1>;
109 ranges;
110
111 /* 2 MiB reserved for Hardware ROM Firmware? */
112 hwrom@0 {
113 reg = <0x0 0x200000>;
114 no-map;
115 };
116
117 /*
118 * 1 MiB reserved for the "ARM Power Firmware": this is ARM
119 * code which is responsible for system suspend. It loads a
120 * piece of ARC code ("arc_power" in the vendor u-boot tree)
121 * into SRAM, executes that and shuts down the (last) ARM core.
122 * The arc_power firmware then checks various wakeup sources
123 * (IR remote receiver, HDMI CEC, WIFI and Bluetooth wakeup or
124 * simply the power key) and re-starts the ARM core once it
125 * detects a wakeup request.
126 */
127 power-firmware@4f00000 {
128 reg = <0x4f00000 0x100000>;
129 no-map;
130 };
131 };
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200132}; /* end of / */
133
134&aobus {
Martin Blumenstingl4a5a2712017-09-17 18:45:22 +0200135 pmu: pmu@e0 {
136 compatible = "amlogic,meson8-pmu", "syscon";
137 reg = <0xe0 0x8>;
138 };
139
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200140 pinctrl_aobus: pinctrl@84 {
141 compatible = "amlogic,meson8-aobus-pinctrl";
142 reg = <0x84 0xc>;
Beniamino Galvanid9fea882015-01-17 19:15:16 +0100143 #address-cells = <1>;
144 #size-cells = <1>;
145 ranges;
146
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200147 gpio_ao: ao-bank@14 {
148 reg = <0x14 0x4>,
149 <0x2c 0x4>,
150 <0x24 0x8>;
151 reg-names = "mux", "pull", "gpio";
152 gpio-controller;
153 #gpio-cells = <2>;
Jerome Brunet677c4322017-09-21 19:14:44 +0200154 gpio-ranges = <&pinctrl_aobus 0 0 16>;
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200155 };
156
157 uart_ao_a_pins: uart_ao_a {
158 mux {
159 groups = "uart_tx_ao_a", "uart_rx_ao_a";
160 function = "uart_ao";
Jerome Brunet7e263352018-11-09 15:04:45 +0100161 bias-disable;
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200162 };
163 };
164
165 i2c_ao_pins: i2c_mst_ao {
166 mux {
167 groups = "i2c_mst_sck_ao", "i2c_mst_sda_ao";
168 function = "i2c_mst_ao";
Jerome Brunet7e263352018-11-09 15:04:45 +0100169 bias-disable;
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200170 };
171 };
Martin Blumenstingl79eb80b2017-06-10 00:20:39 +0200172
173 ir_recv_pins: remote {
174 mux {
175 groups = "remote_input";
176 function = "remote";
Jerome Brunet7e263352018-11-09 15:04:45 +0100177 bias-disable;
Martin Blumenstingl79eb80b2017-06-10 00:20:39 +0200178 };
179 };
Martin Blumenstingl192ec772017-06-15 23:33:45 +0200180
181 pwm_f_ao_pins: pwm-f-ao {
182 mux {
183 groups = "pwm_f_ao";
184 function = "pwm_f_ao";
Jerome Brunet7e263352018-11-09 15:04:45 +0100185 bias-disable;
Martin Blumenstingl192ec772017-06-15 23:33:45 +0200186 };
187 };
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200188 };
189};
190
191&cbus {
Martin Blumenstingl2c323c42017-06-04 20:33:41 +0200192 clkc: clock-controller@4000 {
193 #clock-cells = <1>;
Martin Blumenstingl45631ea2017-07-28 23:13:13 +0200194 #reset-cells = <1>;
Martin Blumenstingl2c323c42017-06-04 20:33:41 +0200195 compatible = "amlogic,meson8-clkc";
Martin Blumenstinglf7f9da82018-07-21 21:05:52 +0200196 reg = <0x8000 0x4>, <0x4000 0x400>;
Martin Blumenstingl2c323c42017-06-04 20:33:41 +0200197 };
198
Martin Blumenstingle30871872018-01-21 23:14:13 +0100199 reset: reset-controller@4404 {
200 compatible = "amlogic,meson8b-reset";
201 reg = <0x4404 0x9c>;
202 #reset-cells = <1>;
203 };
204
Martin Blumenstinglbd835d52017-09-23 16:14:03 +0200205 analog_top: analog-top@81a8 {
206 compatible = "amlogic,meson8-analog-top", "syscon";
207 reg = <0x81a8 0x14>;
208 };
209
Martin Blumenstingl43d91c52017-07-12 00:20:15 +0200210 pwm_ef: pwm@86c0 {
211 compatible = "amlogic,meson8-pwm", "amlogic,meson8b-pwm";
212 reg = <0x86c0 0x10>;
213 #pwm-cells = <3>;
214 status = "disabled";
215 };
216
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200217 pinctrl_cbus: pinctrl@9880 {
218 compatible = "amlogic,meson8-cbus-pinctrl";
219 reg = <0x9880 0x10>;
220 #address-cells = <1>;
221 #size-cells = <1>;
222 ranges;
223
224 gpio: banks@80b0 {
225 reg = <0x80b0 0x28>,
226 <0x80e8 0x18>,
227 <0x8120 0x18>,
228 <0x8030 0x30>;
Beniamino Galvanid9fea882015-01-17 19:15:16 +0100229 reg-names = "mux", "pull", "pull-enable", "gpio";
230 gpio-controller;
231 #gpio-cells = <2>;
Neil Armstrong90f349a2017-03-23 17:27:26 +0100232 gpio-ranges = <&pinctrl_cbus 0 0 120>;
Beniamino Galvanid9fea882015-01-17 19:15:16 +0100233 };
234
Martin Blumenstingld42ce5a2017-06-15 23:33:46 +0200235 sd_a_pins: sd-a {
236 mux {
237 groups = "sd_d0_a", "sd_d1_a", "sd_d2_a",
238 "sd_d3_a", "sd_clk_a", "sd_cmd_a";
239 function = "sd_a";
Jerome Brunet7e263352018-11-09 15:04:45 +0100240 bias-disable;
Martin Blumenstingld42ce5a2017-06-15 23:33:46 +0200241 };
242 };
243
244 sd_b_pins: sd-b {
245 mux {
246 groups = "sd_d0_b", "sd_d1_b", "sd_d2_b",
247 "sd_d3_b", "sd_clk_b", "sd_cmd_b";
248 function = "sd_b";
Jerome Brunet7e263352018-11-09 15:04:45 +0100249 bias-disable;
Martin Blumenstingld42ce5a2017-06-15 23:33:46 +0200250 };
251 };
252
253 sd_c_pins: sd-c {
254 mux {
255 groups = "sd_d0_c", "sd_d1_c", "sd_d2_c",
256 "sd_d3_c", "sd_clk_c", "sd_cmd_c";
257 function = "sd_c";
Jerome Brunet7e263352018-11-09 15:04:45 +0100258 bias-disable;
Martin Blumenstingld42ce5a2017-06-15 23:33:46 +0200259 };
260 };
261
Beniamino Galvanid9fea882015-01-17 19:15:16 +0100262 spi_nor_pins: nor {
263 mux {
264 groups = "nor_d", "nor_q", "nor_c", "nor_cs";
265 function = "nor";
Jerome Brunet7e263352018-11-09 15:04:45 +0100266 bias-disable;
Beniamino Galvanid9fea882015-01-17 19:15:16 +0100267 };
268 };
269
Beniamino Galvanid9fea882015-01-17 19:15:16 +0100270 eth_pins: ethernet {
271 mux {
272 groups = "eth_tx_clk_50m", "eth_tx_en",
273 "eth_txd1", "eth_txd0",
274 "eth_rx_clk_in", "eth_rx_dv",
275 "eth_rxd1", "eth_rxd0", "eth_mdio",
276 "eth_mdc";
277 function = "ethernet";
Jerome Brunet7e263352018-11-09 15:04:45 +0100278 bias-disable;
Beniamino Galvanid9fea882015-01-17 19:15:16 +0100279 };
280 };
Martin Blumenstingl192ec772017-06-15 23:33:45 +0200281
282 pwm_e_pins: pwm-e {
283 mux {
284 groups = "pwm_e";
285 function = "pwm_e";
Jerome Brunet7e263352018-11-09 15:04:45 +0100286 bias-disable;
Martin Blumenstingl192ec772017-06-15 23:33:45 +0200287 };
288 };
Martin Blumenstingle981e452018-05-10 01:50:36 +0200289
290 uart_a1_pins: uart-a1 {
291 mux {
292 groups = "uart_tx_a1",
293 "uart_rx_a1";
294 function = "uart_a";
Jerome Brunet7e263352018-11-09 15:04:45 +0100295 bias-disable;
Martin Blumenstingle981e452018-05-10 01:50:36 +0200296 };
297 };
298
299 uart_a1_cts_rts_pins: uart-a1-cts-rts {
300 mux {
301 groups = "uart_cts_a1",
302 "uart_rts_a1";
303 function = "uart_a";
Jerome Brunet7e263352018-11-09 15:04:45 +0100304 bias-disable;
Martin Blumenstingle981e452018-05-10 01:50:36 +0200305 };
306 };
Beniamino Galvanid9fea882015-01-17 19:15:16 +0100307 };
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200308};
Beniamino Galvanid9fea882015-01-17 19:15:16 +0100309
Martin Blumenstingl4a5a2712017-09-17 18:45:22 +0200310&ahb_sram {
311 smp-sram@1ff80 {
312 compatible = "amlogic,meson8-smp-sram";
313 reg = <0x1ff80 0x8>;
314 };
315};
316
Martin Blumenstingl2cb51a82017-10-03 01:28:04 +0200317&efuse {
318 compatible = "amlogic,meson8-efuse";
319 clocks = <&clkc CLKID_EFUSE>;
320 clock-names = "core";
321};
322
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200323&ethmac {
Martin Blumenstinglf28d4bd2017-06-15 23:33:52 +0200324 clocks = <&clkc CLKID_ETH>;
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200325 clock-names = "stmmaceth";
326};
Carlo Caioneb60e1152016-03-23 10:13:59 +0100327
Martin Blumenstingl59e45c62017-10-30 00:05:22 +0100328&gpio_intc {
329 compatible = "amlogic,meson8-gpio-intc", "amlogic,meson-gpio-intc";
330 status = "okay";
331};
332
Martin Blumenstingla35910d2017-06-15 23:33:49 +0200333&hwrng {
334 compatible = "amlogic,meson8-rng", "amlogic,meson-rng";
335 clocks = <&clkc CLKID_RNG0>;
336 clock-names = "core";
337};
338
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200339&i2c_AO {
Martin Blumenstingl2c323c42017-06-04 20:33:41 +0200340 clocks = <&clkc CLKID_CLK81>;
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200341};
Carlo Caioneb60e1152016-03-23 10:13:59 +0100342
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200343&i2c_A {
Martin Blumenstingl2c323c42017-06-04 20:33:41 +0200344 clocks = <&clkc CLKID_CLK81>;
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200345};
Carlo Caioneb60e1152016-03-23 10:13:59 +0100346
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200347&i2c_B {
Martin Blumenstingl2c323c42017-06-04 20:33:41 +0200348 clocks = <&clkc CLKID_CLK81>;
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200349};
350
Carlo Caionebbe5b232017-04-17 23:42:44 +0200351&L2 {
352 arm,data-latency = <3 3 3>;
353 arm,tag-latency = <2 2 2>;
354 arm,filter-ranges = <0x100000 0xc0000000>;
Martin Blumenstingl6844e962017-10-31 23:23:16 +0100355 prefetch-data = <1>;
356 prefetch-instr = <1>;
357 arm,shared-override;
Carlo Caionebbe5b232017-04-17 23:42:44 +0200358};
359
Martin Blumenstingle8c276d2018-11-23 20:53:07 +0100360&periph {
361 scu@0 {
362 compatible = "arm,cortex-a9-scu";
363 reg = <0x0 0x100>;
364 };
Martin Blumenstingl1124d792018-11-23 20:53:08 +0100365
Martin Blumenstingl2710e8d2018-11-23 20:53:09 +0100366 timer@200 {
367 compatible = "arm,cortex-a9-global-timer";
368 reg = <0x200 0x20>;
369 interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>;
370 clocks = <&clkc CLKID_PERIPH>;
371
372 /*
373 * the arm_global_timer driver currently does not handle clock
374 * rate changes. Keep it disabled for now.
375 */
376 status = "disabled";
377 };
378
Martin Blumenstingl1124d792018-11-23 20:53:08 +0100379 timer@600 {
380 compatible = "arm,cortex-a9-twd-timer";
381 reg = <0x600 0x20>;
382 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>;
383 clocks = <&clkc CLKID_PERIPH>;
384 };
Martin Blumenstingle8c276d2018-11-23 20:53:07 +0100385};
386
Martin Blumenstingl43d91c52017-07-12 00:20:15 +0200387&pwm_ab {
388 compatible = "amlogic,meson8-pwm", "amlogic,meson8b-pwm";
389};
390
391&pwm_cd {
392 compatible = "amlogic,meson8-pwm", "amlogic,meson8b-pwm";
393};
394
Martin Blumenstingla39a3b92017-06-15 23:33:47 +0200395&saradc {
396 compatible = "amlogic,meson8-saradc", "amlogic,meson-saradc";
397 clocks = <&clkc CLKID_XTAL>,
Xingyu Chenb9b9db02017-11-16 17:01:15 +0800398 <&clkc CLKID_SAR_ADC>;
399 clock-names = "clkin", "core";
Martin Blumenstingla39a3b92017-06-15 23:33:47 +0200400};
401
Martin Blumenstingl88b1b182017-10-07 18:29:39 +0200402&sdio {
403 compatible = "amlogic,meson8-sdio", "amlogic,meson-mx-sdio";
404 clocks = <&clkc CLKID_SDIO>, <&clkc CLKID_CLK81>;
405 clock-names = "core", "clkin";
406};
407
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200408&spifc {
Martin Blumenstingl2c323c42017-06-04 20:33:41 +0200409 clocks = <&clkc CLKID_CLK81>;
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200410};
411
Martin Blumenstingl7b141ab2018-11-16 21:42:35 +0100412&timer_abcde {
413 clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
414 clock-names = "xtal", "pclk";
415};
416
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200417&uart_AO {
Martin Blumenstingl6ca77502017-11-17 23:58:56 +0100418 compatible = "amlogic,meson8-uart", "amlogic,meson-uart";
419 clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
420 clock-names = "baud", "xtal", "pclk";
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200421};
422
423&uart_A {
Martin Blumenstingl6ca77502017-11-17 23:58:56 +0100424 compatible = "amlogic,meson8-uart", "amlogic,meson-uart";
425 clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_UART0>;
426 clock-names = "baud", "xtal", "pclk";
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200427};
428
429&uart_B {
Martin Blumenstingl6ca77502017-11-17 23:58:56 +0100430 compatible = "amlogic,meson8-uart", "amlogic,meson-uart";
431 clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_UART1>;
432 clock-names = "baud", "xtal", "pclk";
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200433};
434
435&uart_C {
Martin Blumenstingl6ca77502017-11-17 23:58:56 +0100436 compatible = "amlogic,meson8-uart", "amlogic,meson-uart";
437 clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_UART2>;
438 clock-names = "baud", "xtal", "pclk";
Martin Blumenstingl200a5752017-04-17 23:39:37 +0200439};
Martin Blumenstingle29b1cf2017-06-15 23:33:50 +0200440
441&usb0 {
442 compatible = "amlogic,meson8-usb", "snps,dwc2";
443 clocks = <&clkc CLKID_USB0_DDR_BRIDGE>;
444 clock-names = "otg";
445};
446
447&usb1 {
448 compatible = "amlogic,meson8-usb", "snps,dwc2";
449 clocks = <&clkc CLKID_USB1_DDR_BRIDGE>;
450 clock-names = "otg";
451};
452
453&usb0_phy {
454 compatible = "amlogic,meson8-usb2-phy", "amlogic,meson-mx-usb2-phy";
455 clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB0>;
456 clock-names = "usb_general", "usb";
Martin Blumenstingle1fa57d2018-01-21 23:14:14 +0100457 resets = <&reset RESET_USB_OTG>;
Martin Blumenstingle29b1cf2017-06-15 23:33:50 +0200458};
459
460&usb1_phy {
461 compatible = "amlogic,meson8-usb2-phy", "amlogic,meson-mx-usb2-phy";
462 clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB1>;
463 clock-names = "usb_general", "usb";
Martin Blumenstingle1fa57d2018-01-21 23:14:14 +0100464 resets = <&reset RESET_USB_OTG>;
Martin Blumenstingle29b1cf2017-06-15 23:33:50 +0200465};