Andy Yan | 7c2b2bb | 2019-11-14 11:22:47 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd |
| 4 | */ |
| 5 | #include "rk3308-u-boot.dtsi" |
| 6 | |
Jonas Karlman | c8c2009 | 2024-04-08 18:14:07 +0000 | [diff] [blame] | 7 | / { |
| 8 | aliases { |
| 9 | ethernet0 = &gmac; |
| 10 | }; |
| 11 | }; |
| 12 | |
| 13 | &gmac { |
| 14 | assigned-clocks = <&cru SCLK_MAC>; |
| 15 | assigned-clock-parents = <&mac_clkin>; |
| 16 | clock_in_out = "input"; |
| 17 | pinctrl-names = "default"; |
| 18 | pinctrl-0 = <&rmiim1_pins &macm1_refclk>; |
| 19 | status = "okay"; |
| 20 | }; |
| 21 | |
Jonas Karlman | a499c98 | 2024-04-08 18:14:03 +0000 | [diff] [blame] | 22 | &gpio4 { |
| 23 | bootph-pre-ram; |
Andy Yan | 7c2b2bb | 2019-11-14 11:22:47 +0800 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | &uart2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 27 | bootph-all; |
Andy Yan | 7c2b2bb | 2019-11-14 11:22:47 +0800 | [diff] [blame] | 28 | clock-frequency = <24000000>; |
Jonas Karlman | a499c98 | 2024-04-08 18:14:03 +0000 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | &uart2m0_xfer { |
| 32 | bootph-all; |
| 33 | }; |
| 34 | |
| 35 | &vcc_sd { |
| 36 | bootph-pre-ram; |
Andy Yan | 7c2b2bb | 2019-11-14 11:22:47 +0800 | [diff] [blame] | 37 | }; |
Jonas Karlman | c8c2009 | 2024-04-08 18:14:07 +0000 | [diff] [blame] | 38 | |
| 39 | &vdd_core { |
| 40 | regulator-init-microvolt = <1015000>; |
| 41 | }; |