blob: 2de06d952914643fbc512cd2af4a2df1a69582f8 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02002/*
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>
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02009 */
10
Shawn Guoe70b3ec2019-03-20 15:32:41 +080011#include <dt-bindings/reset/ti-syscon.h>
12
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +020013&soc {
Shawn Guoe70b3ec2019-03-20 15:32:41 +080014 rst: reset-controller@8a22000 {
15 compatible = "hisilicon,hi3798cv200-reset";
16 reg = <0x8a22000 0x1000>;
17 #reset-cells = <3>;
18 };
19
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +020020 usb2: ehci@9890000 {
21 compatible = "generic-ehci";
22 reg = <0x9890000 0x100>;
23 status = "okay";
24 };
25};
26
Shawn Guoe70b3ec2019-03-20 15:32:41 +080027&gmac1 {
28 resets = <&rst 0xcc 9 ASSERT_SET>,
29 <&rst 0xcc 11 ASSERT_SET>,
30 <&rst 0xcc 13 DEASSERT_SET>;
31};
32
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +020033&uart0 {
Shawn Guo9bbb50d2018-12-12 15:24:44 +080034 clock = <75000000>;
35 status = "okay";
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +020036};