Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Kever Yang | 61ef061 | 2017-06-23 17:17:51 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2017 Rockchip Electronics Co., Ltd. |
Kever Yang | 61ef061 | 2017-06-23 17:17:51 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "rk322x.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "Rockchip RK3229 Evaluation board"; |
| 12 | compatible = "rockchip,rk3229-evb", "rockchip,rk3229"; |
| 13 | |
Kever Yang | 61ef061 | 2017-06-23 17:17:51 +0800 | [diff] [blame] | 14 | memory@60000000 { |
| 15 | device_type = "memory"; |
| 16 | reg = <0x60000000 0x40000000>; |
| 17 | }; |
| 18 | |
| 19 | ext_gmac: ext_gmac { |
| 20 | compatible = "fixed-clock"; |
| 21 | clock-frequency = <125000000>; |
| 22 | clock-output-names = "ext_gmac"; |
| 23 | #clock-cells = <0>; |
| 24 | }; |
| 25 | |
| 26 | vcc_phy: vcc-phy-regulator { |
| 27 | compatible = "regulator-fixed"; |
| 28 | enable-active-high; |
| 29 | regulator-name = "vcc_phy"; |
| 30 | regulator-min-microvolt = <1800000>; |
| 31 | regulator-max-microvolt = <1800000>; |
| 32 | regulator-always-on; |
| 33 | regulator-boot-on; |
| 34 | }; |
| 35 | }; |
| 36 | |
Kever Yang | 61ef061 | 2017-06-23 17:17:51 +0800 | [diff] [blame] | 37 | &gmac { |
| 38 | assigned-clocks = <&cru SCLK_MAC_EXTCLK>, <&cru SCLK_MAC>; |
| 39 | assigned-clock-parents = <&ext_gmac>, <&cru SCLK_MAC_EXTCLK>; |
| 40 | clock_in_out = "input"; |
| 41 | phy-supply = <&vcc_phy>; |
| 42 | phy-mode = "rgmii"; |
| 43 | pinctrl-names = "default"; |
| 44 | pinctrl-0 = <&rgmii_pins>; |
| 45 | snps,reset-gpio = <&gpio2 RK_PD0 GPIO_ACTIVE_LOW>; |
| 46 | snps,reset-active-low; |
| 47 | snps,reset-delays-us = <0 10000 1000000>; |
| 48 | tx_delay = <0x30>; |
| 49 | rx_delay = <0x10>; |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | &emmc { |
Kever Yang | 61ef061 | 2017-06-23 17:17:51 +0800 | [diff] [blame] | 54 | status = "okay"; |
| 55 | }; |
| 56 | |
Kever Yang | b0aafcc | 2017-07-21 18:21:09 +0800 | [diff] [blame] | 57 | &sdmmc { |
| 58 | status = "okay"; |
| 59 | bus-width = <4>; |
| 60 | cap-mmc-highspeed; |
| 61 | cap-sd-highspeed; |
| 62 | card-detect-delay = <200>; |
| 63 | disable-wp; |
Kever Yang | b0aafcc | 2017-07-21 18:21:09 +0800 | [diff] [blame] | 64 | num-slots = <1>; |
| 65 | supports-sd; |
| 66 | }; |
| 67 | |
Kever Yang | 61ef061 | 2017-06-23 17:17:51 +0800 | [diff] [blame] | 68 | &uart2 { |
| 69 | status = "okay"; |
| 70 | }; |
Meng Dongyang | 7441a76 | 2017-07-13 10:59:54 +0800 | [diff] [blame] | 71 | |
Johan Jonker | 3651722 | 2022-04-15 23:21:35 +0200 | [diff] [blame^] | 72 | &usb_otg { |
Meng Dongyang | 7441a76 | 2017-07-13 10:59:54 +0800 | [diff] [blame] | 73 | status = "okay"; |
| 74 | }; |