Akash Gajjar | a01866a | 2023-02-14 20:48:40 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * (C) Copyright 2021 Rockchip Electronics Co., Ltd | ||||
4 | * (C) Copyright 2023 Akash Gajjar <gajjar04akash@gmail.com> | ||||
5 | */ | ||||
6 | |||||
7 | #include "rk356x-u-boot.dtsi" | ||||
8 | |||||
9 | / { | ||||
Jonas Karlman | a9d8d53 | 2023-05-17 18:26:35 +0000 | [diff] [blame] | 10 | aliases { |
11 | spi0 = &sfc; | ||||
12 | }; | ||||
13 | |||||
Akash Gajjar | a01866a | 2023-02-14 20:48:40 +0530 | [diff] [blame] | 14 | chosen { |
15 | stdout-path = &uart2; | ||||
Akash Gajjar | a01866a | 2023-02-14 20:48:40 +0530 | [diff] [blame] | 16 | }; |
17 | }; | ||||
18 | |||||
Jonas Karlman | ac46dc7 | 2023-05-17 18:26:34 +0000 | [diff] [blame] | 19 | &emmc_bus8 { |
20 | bootph-all; | ||||
21 | }; | ||||
22 | |||||
23 | &emmc_clk { | ||||
24 | bootph-all; | ||||
25 | }; | ||||
26 | |||||
27 | &emmc_cmd { | ||||
28 | bootph-all; | ||||
29 | }; | ||||
30 | |||||
31 | &emmc_datastrobe { | ||||
32 | bootph-all; | ||||
33 | }; | ||||
34 | |||||
Jonas Karlman | a9d8d53 | 2023-05-17 18:26:35 +0000 | [diff] [blame] | 35 | &fspi_pins { |
36 | bootph-all; | ||||
37 | }; | ||||
38 | |||||
Jonas Karlman | ac46dc7 | 2023-05-17 18:26:34 +0000 | [diff] [blame] | 39 | &pinctrl { |
40 | bootph-all; | ||||
41 | }; | ||||
42 | |||||
43 | &pcfg_pull_none { | ||||
44 | bootph-all; | ||||
45 | }; | ||||
46 | |||||
47 | &pcfg_pull_up_drv_level_2 { | ||||
48 | bootph-all; | ||||
49 | }; | ||||
50 | |||||
51 | &pcfg_pull_up { | ||||
52 | bootph-all; | ||||
53 | }; | ||||
54 | |||||
55 | &sdmmc0_bus4 { | ||||
56 | bootph-all; | ||||
57 | }; | ||||
58 | |||||
59 | &sdmmc0_clk { | ||||
60 | bootph-all; | ||||
61 | }; | ||||
62 | |||||
63 | &sdmmc0_cmd { | ||||
64 | bootph-all; | ||||
65 | }; | ||||
66 | |||||
67 | &sdmmc0_det { | ||||
68 | bootph-all; | ||||
69 | }; | ||||
70 | |||||
Jonas Karlman | 2cc0321 | 2023-04-18 16:46:38 +0000 | [diff] [blame] | 71 | &sdhci { |
72 | cap-mmc-highspeed; | ||||
73 | mmc-ddr-1_8v; | ||||
74 | mmc-hs200-1_8v; | ||||
75 | mmc-hs400-1_8v; | ||||
76 | mmc-hs400-enhanced-strobe; | ||||
77 | }; | ||||
78 | |||||
Jonas Karlman | a9d8d53 | 2023-05-17 18:26:35 +0000 | [diff] [blame] | 79 | &sfc { |
80 | bootph-pre-ram; | ||||
81 | u-boot,spl-sfc-no-dma; | ||||
82 | #address-cells = <1>; | ||||
83 | #size-cells = <0>; | ||||
84 | status = "okay"; | ||||
85 | |||||
86 | flash@0 { | ||||
87 | bootph-pre-ram; | ||||
88 | compatible = "jedec,spi-nor"; | ||||
89 | reg = <0>; | ||||
90 | spi-max-frequency = <24000000>; | ||||
91 | spi-rx-bus-width = <4>; | ||||
92 | spi-tx-bus-width = <1>; | ||||
93 | }; | ||||
94 | }; | ||||
95 | |||||
Jonas Karlman | 33cd913 | 2023-03-14 00:38:24 +0000 | [diff] [blame] | 96 | &sdmmc2 { |
97 | status = "disabled"; | ||||
98 | }; | ||||
99 | |||||
100 | &uart1 { | ||||
101 | status = "disabled"; | ||||
Akash Gajjar | a01866a | 2023-02-14 20:48:40 +0530 | [diff] [blame] | 102 | }; |
103 | |||||
Jonas Karlman | ac46dc7 | 2023-05-17 18:26:34 +0000 | [diff] [blame] | 104 | &uart2m0_xfer { |
105 | bootph-all; | ||||
106 | }; | ||||
107 | |||||
Akash Gajjar | a01866a | 2023-02-14 20:48:40 +0530 | [diff] [blame] | 108 | &uart2 { |
109 | clock-frequency = <24000000>; | ||||
Tom Rini | de70b47 | 2023-03-27 15:20:19 -0400 | [diff] [blame] | 110 | bootph-all; |
Akash Gajjar | a01866a | 2023-02-14 20:48:40 +0530 | [diff] [blame] | 111 | status = "okay"; |
112 | }; | ||||
FUKAUMI Naoki | a69794f | 2023-04-20 12:00:40 +0000 | [diff] [blame] | 113 | |
114 | &vcc5v0_usb_host { | ||||
115 | regulator-boot-on; | ||||
116 | }; | ||||
117 | |||||
118 | &vcc5v0_usb_hub { | ||||
119 | regulator-boot-on; | ||||
120 | }; |