Andy Yan | 2d1951f | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2016 Rockchip Electronics Co., Ltd |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | #include "rv1108.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "Rockchip RV1108 Evaluation board"; |
| 13 | compatible = "rockchip,rv1108-evb", "rockchip,rv1108"; |
| 14 | |
| 15 | memory@60000000 { |
| 16 | device_type = "memory"; |
| 17 | reg = <0x60000000 0x08000000>; |
| 18 | }; |
| 19 | |
| 20 | chosen { |
| 21 | stdout-path = "serial2:1500000n8"; |
| 22 | }; |
William Wu | 809ec94 | 2017-08-09 11:36:28 +0800 | [diff] [blame^] | 23 | |
| 24 | vcc5v0_otg: vcc5v0-otg-drv { |
| 25 | compatible = "regulator-fixed"; |
| 26 | enable-active-high; |
| 27 | regulator-name = "vcc5v0_otg"; |
| 28 | gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>; |
| 29 | regulator-min-microvolt = <5000000>; |
| 30 | regulator-max-microvolt = <5000000>; |
| 31 | }; |
Andy Yan | 2d1951f | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | &gmac { |
| 35 | status = "okay"; |
| 36 | clock_in_out = <0>; |
| 37 | snps,reset-active-low; |
| 38 | snps,reset-delays-us = <0 10000 1000000>; |
| 39 | snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>; |
| 40 | }; |
| 41 | |
| 42 | &sfc { |
| 43 | status = "okay"; |
| 44 | flash@0 { |
| 45 | compatible = "gd25q256","spi-flash"; |
| 46 | reg = <0>; |
| 47 | spi-tx-bus-width = <1>; |
| 48 | spi-rx-bus-width = <1>; |
| 49 | spi-max-frequency = <96000000>; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | &uart0 { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | &uart1 { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | &uart2 { |
| 62 | status = "okay"; |
| 63 | }; |
William Wu | 809ec94 | 2017-08-09 11:36:28 +0800 | [diff] [blame^] | 64 | |
| 65 | &usb20_otg { |
| 66 | vbus-supply = <&vcc5v0_otg>; |
| 67 | status = "okay"; |
| 68 | }; |
| 69 | |
| 70 | &usb_host_ehci { |
| 71 | status = "okay"; |
| 72 | }; |
| 73 | |
| 74 | &usb_host_ohci { |
| 75 | status = "okay"; |
| 76 | }; |