Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Andy Yan | d6e658c | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2016 Rockchip Electronics Co., Ltd |
Andy Yan | d6e658c | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 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 | }; |
William Wu | 6993e2c | 2017-08-09 11:36:28 +0800 | [diff] [blame] | 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 | }; |
Andy Yan | d6e658c | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 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 | |
David Wu | cb96e77 | 2017-09-20 14:41:38 +0800 | [diff] [blame] | 41 | &saradc { |
| 42 | status = "okay"; |
| 43 | }; |
| 44 | |
Andy Yan | d6e658c | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 45 | &sfc { |
| 46 | status = "okay"; |
| 47 | flash@0 { |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 48 | compatible = "gd25q256","jedec,spi-nor"; |
Andy Yan | d6e658c | 2017-06-01 18:01:31 +0800 | [diff] [blame] | 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 | }; |
William Wu | 6993e2c | 2017-08-09 11:36:28 +0800 | [diff] [blame] | 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 | }; |