blob: bbf54f888fa0862b8c16b1906a5dd35f1c53993c [file] [log] [blame]
Akash Gajjara01866a2023-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 Karlmana9d8d532023-05-17 18:26:35 +000010 aliases {
11 spi0 = &sfc;
12 };
13
Akash Gajjara01866a2023-02-14 20:48:40 +053014 chosen {
15 stdout-path = &uart2;
Akash Gajjara01866a2023-02-14 20:48:40 +053016 };
17};
18
Jonas Karlmanac46dc72023-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 Karlmana9d8d532023-05-17 18:26:35 +000035&fspi_pins {
36 bootph-all;
37};
38
Jonas Karlmanac46dc72023-05-17 18:26:34 +000039&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 Karlman2cc03212023-04-18 16:46:38 +000071&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 Karlmana9d8d532023-05-17 18:26:35 +000079&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 Karlman33cd9132023-03-14 00:38:24 +000096&sdmmc2 {
97 status = "disabled";
98};
99
100&uart1 {
101 status = "disabled";
Akash Gajjara01866a2023-02-14 20:48:40 +0530102};
103
Jonas Karlmanac46dc72023-05-17 18:26:34 +0000104&uart2m0_xfer {
105 bootph-all;
106};
107
Akash Gajjara01866a2023-02-14 20:48:40 +0530108&uart2 {
109 clock-frequency = <24000000>;
Tom Rinide70b472023-03-27 15:20:19 -0400110 bootph-all;
Akash Gajjara01866a2023-02-14 20:48:40 +0530111 status = "okay";
112};
FUKAUMI Naokia69794f2023-04-20 12:00:40 +0000113
114&vcc5v0_usb_host {
115 regulator-boot-on;
116};
117
118&vcc5v0_usb_hub {
119 regulator-boot-on;
120};