blob: c91776bc106eb355f81f060de203f81bcde7eecf [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Andy Yan2d1951f2017-06-01 18:01:31 +08002/*
3 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
Andy Yan2d1951f2017-06-01 18:01:31 +08004 */
5
6/dts-v1/;
7
8#include "rv1108.dtsi"
9
10/ {
11 model = "Rockchip RV1108 Evaluation board";
12 compatible = "rockchip,rv1108-evb", "rockchip,rv1108";
13
14 memory@60000000 {
15 device_type = "memory";
16 reg = <0x60000000 0x08000000>;
17 };
18
19 chosen {
20 stdout-path = "serial2:1500000n8";
21 };
William Wu809ec942017-08-09 11:36:28 +080022
23 vcc5v0_otg: vcc5v0-otg-drv {
24 compatible = "regulator-fixed";
25 enable-active-high;
26 regulator-name = "vcc5v0_otg";
27 gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
28 regulator-min-microvolt = <5000000>;
29 regulator-max-microvolt = <5000000>;
30 };
Andy Yan2d1951f2017-06-01 18:01:31 +080031};
32
33&gmac {
34 status = "okay";
35 clock_in_out = <0>;
36 snps,reset-active-low;
37 snps,reset-delays-us = <0 10000 1000000>;
38 snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>;
39};
40
David Wu679276b2017-09-20 14:41:38 +080041&saradc {
42 status = "okay";
43};
44
Andy Yan2d1951f2017-06-01 18:01:31 +080045&sfc {
46 status = "okay";
47 flash@0 {
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000048 compatible = "gd25q256","jedec,spi-nor";
Andy Yan2d1951f2017-06-01 18:01:31 +080049 reg = <0>;
50 spi-tx-bus-width = <1>;
51 spi-rx-bus-width = <1>;
52 spi-max-frequency = <96000000>;
53 };
54};
55
56&uart0 {
57 status = "okay";
58};
59
60&uart1 {
61 status = "okay";
62};
63
64&uart2 {
65 status = "okay";
66};
William Wu809ec942017-08-09 11:36:28 +080067
68&usb20_otg {
69 vbus-supply = <&vcc5v0_otg>;
70 status = "okay";
71};
72
73&usb_host_ehci {
74 status = "okay";
75};
76
77&usb_host_ohci {
78 status = "okay";
79};