blob: 2de06d952914643fbc512cd2af4a2df1a69582f8 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Jorge Ramirez-Ortizd7542542017-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-Ortizd7542542017-06-26 15:52:49 +02009 */
10
Shawn Guo7c798a12019-03-20 15:32:41 +080011#include <dt-bindings/reset/ti-syscon.h>
12
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +020013&soc {
Shawn Guo7c798a12019-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-Ortizd7542542017-06-26 15:52:49 +020020 usb2: ehci@9890000 {
21 compatible = "generic-ehci";
22 reg = <0x9890000 0x100>;
23 status = "okay";
24 };
25};
26
Shawn Guo7c798a12019-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-Ortizd7542542017-06-26 15:52:49 +020033&uart0 {
Shawn Guo655c6d92018-12-12 15:24:44 +080034 clock = <75000000>;
35 status = "okay";
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +020036};