Merge branch 'master' of git://git.denx.de/u-boot-spi
[oweals/u-boot.git] / arch / arm / dts / rv1108-evb.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
4  */
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         };
22
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         };
31 };
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
41 &saradc {
42         status = "okay";
43 };
44
45 &sfc {
46         status = "okay";
47         flash@0 {
48                 compatible = "gd25q256","jedec,spi-nor";
49                 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 };
67
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 };