1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * U-Boot addition to:
4 *  1) use platform data for the console
5 *  2) provide support for the generic-ehci USB driver currently not available
6 *     in the linux kernel (8/May/2017).
7 *
8 * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
9 */
10
11#include <dt-bindings/reset/ti-syscon.h>
12
13&soc {
14	rst: reset-controller@8a22000 {
15		compatible = "hisilicon,hi3798cv200-reset";
16		reg = <0x8a22000 0x1000>;
17		#reset-cells = <3>;
18	};
19
20	usb2: ehci@9890000 {
21		compatible = "generic-ehci";
22		reg = <0x9890000 0x100>;
23		status = "okay";
24	};
25};
26
27&gmac1 {
28	resets = <&rst 0xcc 9  ASSERT_SET>,
29		 <&rst 0xcc 11 ASSERT_SET>,
30		 <&rst 0xcc 13 DEASSERT_SET>;
31};
32
33&uart0 {
34	clock = <75000000>;
35	status = "okay";
36};
37