2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2017-06-26 13:52:49 +00:00
|
|
|
/*
|
|
|
|
* U-Boot addition to:
|
|
|
|
* 1) use platform data for the console
|
|
|
|
* 2) provide support for the generic-ehci USB driver currently not available
|
|
|
|
* in the linux kernel (8/May/2017).
|
|
|
|
*
|
|
|
|
* (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
|
|
|
|
*/
|
|
|
|
|
2019-03-20 07:32:41 +00:00
|
|
|
#include <dt-bindings/reset/ti-syscon.h>
|
|
|
|
|
2017-06-26 13:52:49 +00:00
|
|
|
&soc {
|
2019-03-20 07:32:41 +00:00
|
|
|
rst: reset-controller@8a22000 {
|
|
|
|
compatible = "hisilicon,hi3798cv200-reset";
|
|
|
|
reg = <0x8a22000 0x1000>;
|
|
|
|
#reset-cells = <3>;
|
|
|
|
};
|
|
|
|
|
2017-06-26 13:52:49 +00:00
|
|
|
usb2: ehci@9890000 {
|
|
|
|
compatible = "generic-ehci";
|
|
|
|
reg = <0x9890000 0x100>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-03-20 07:32:41 +00:00
|
|
|
&gmac1 {
|
|
|
|
resets = <&rst 0xcc 9 ASSERT_SET>,
|
|
|
|
<&rst 0xcc 11 ASSERT_SET>,
|
|
|
|
<&rst 0xcc 13 DEASSERT_SET>;
|
|
|
|
};
|
|
|
|
|
2017-06-26 13:52:49 +00:00
|
|
|
&uart0 {
|
2018-12-12 07:24:44 +00:00
|
|
|
clock = <75000000>;
|
|
|
|
status = "okay";
|
2017-06-26 13:52:49 +00:00
|
|
|
};
|