Andy Yan | d6e658c | 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 | 6993e2c | 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 | d6e658c | 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 | |
David Wu | cb96e77 | 2017-09-20 14:41:38 +0800 | [diff] [blame] | 42 | &saradc { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
Andy Yan | d6e658c | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 46 | &sfc { |
| 47 | status = "okay"; |
| 48 | flash@0 { |
| 49 | compatible = "gd25q256","spi-flash"; |
| 50 | reg = <0>; |
| 51 | spi-tx-bus-width = <1>; |
| 52 | spi-rx-bus-width = <1>; |
| 53 | spi-max-frequency = <96000000>; |
| 54 | }; |
| 55 | }; |
| 56 | |
| 57 | &uart0 { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | &uart1 { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | &uart2 { |
| 66 | status = "okay"; |
| 67 | }; |
William Wu | 6993e2c | 2017-08-09 11:36:28 +0800 | [diff] [blame] | 68 | |
| 69 | &usb20_otg { |
| 70 | vbus-supply = <&vcc5v0_otg>; |
| 71 | status = "okay"; |
| 72 | }; |
| 73 | |
| 74 | &usb_host_ehci { |
| 75 | status = "okay"; |
| 76 | }; |
| 77 | |
| 78 | &usb_host_ohci { |
| 79 | status = "okay"; |
| 80 | }; |