blob: a6cee5609dfd503a63d46439fa75b8eb138df077 [file] [log] [blame]
Akash Gajjarb44c54f2023-02-14 20:48:40 +05301// 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 Karlman64f79f82023-05-17 18:26:35 +000010 aliases {
11 spi0 = &sfc;
12 };
13
Akash Gajjarb44c54f2023-02-14 20:48:40 +053014 chosen {
15 stdout-path = &uart2;
Akash Gajjarb44c54f2023-02-14 20:48:40 +053016 };
17};
18
Jonas Karlman674803f2023-05-17 18:26:34 +000019&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 Karlman64f79f82023-05-17 18:26:35 +000035&fspi_pins {
36 bootph-all;
37};
38
Jonas Karlmana76aa6f2023-07-22 13:30:23 +000039&pcie2x1 {
40 pinctrl-0 = <&pcie20m1_pins &pcie_reset_h>;
41};
42
43&pcie3x2 {
44 pinctrl-0 = <&pcie30x2m1_pins &pcie3x2_reset_h>;
45};
46
Jonas Karlman674803f2023-05-17 18:26:34 +000047&pinctrl {
48 bootph-all;
Jonas Karlmana76aa6f2023-07-22 13:30:23 +000049
50 pcie {
51 pcie3x2_reset_h: pcie3x2-reset-h {
52 rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
53 };
54 };
Jonas Karlman674803f2023-05-17 18:26:34 +000055};
56
57&pcfg_pull_none {
58 bootph-all;
59};
60
61&pcfg_pull_up_drv_level_2 {
62 bootph-all;
63};
64
65&pcfg_pull_up {
66 bootph-all;
67};
68
69&sdmmc0_bus4 {
70 bootph-all;
71};
72
73&sdmmc0_clk {
74 bootph-all;
75};
76
77&sdmmc0_cmd {
78 bootph-all;
79};
80
81&sdmmc0_det {
82 bootph-all;
83};
84
Jonas Karlman72b05762023-04-18 16:46:38 +000085&sdhci {
86 cap-mmc-highspeed;
87 mmc-ddr-1_8v;
88 mmc-hs200-1_8v;
89 mmc-hs400-1_8v;
90 mmc-hs400-enhanced-strobe;
91};
92
Jonas Karlman64f79f82023-05-17 18:26:35 +000093&sfc {
94 bootph-pre-ram;
95 u-boot,spl-sfc-no-dma;
96 #address-cells = <1>;
97 #size-cells = <0>;
98 status = "okay";
99
100 flash@0 {
101 bootph-pre-ram;
102 compatible = "jedec,spi-nor";
103 reg = <0>;
104 spi-max-frequency = <24000000>;
105 spi-rx-bus-width = <4>;
106 spi-tx-bus-width = <1>;
107 };
108};
109
Jonas Karlman073d9112023-03-14 00:38:24 +0000110&sdmmc2 {
111 status = "disabled";
112};
113
114&uart1 {
115 status = "disabled";
Akash Gajjarb44c54f2023-02-14 20:48:40 +0530116};
117
Jonas Karlman674803f2023-05-17 18:26:34 +0000118&uart2m0_xfer {
119 bootph-all;
120};
121
Akash Gajjarb44c54f2023-02-14 20:48:40 +0530122&uart2 {
123 clock-frequency = <24000000>;
Tom Rini82b896c2023-03-27 15:20:19 -0400124 bootph-all;
Akash Gajjarb44c54f2023-02-14 20:48:40 +0530125 status = "okay";
126};