2023-02-14 15:18:40 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* (C) Copyright 2021 Rockchip Electronics Co., Ltd
|
|
|
|
* (C) Copyright 2023 Akash Gajjar <gajjar04akash@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "rk356x-u-boot.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2023-05-17 18:26:35 +00:00
|
|
|
aliases {
|
|
|
|
spi0 = &sfc;
|
|
|
|
};
|
|
|
|
|
2023-02-14 15:18:40 +00:00
|
|
|
chosen {
|
|
|
|
stdout-path = &uart2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-05-17 18:26:34 +00:00
|
|
|
&emmc_bus8 {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc_clk {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc_cmd {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc_datastrobe {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
2023-05-17 18:26:35 +00:00
|
|
|
&fspi_pins {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
2023-05-17 18:26:34 +00:00
|
|
|
&pinctrl {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcfg_pull_none {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcfg_pull_up_drv_level_2 {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcfg_pull_up {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc0_bus4 {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc0_clk {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc0_cmd {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc0_det {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
2023-04-18 16:46:38 +00:00
|
|
|
&sdhci {
|
|
|
|
cap-mmc-highspeed;
|
|
|
|
mmc-ddr-1_8v;
|
|
|
|
mmc-hs200-1_8v;
|
|
|
|
mmc-hs400-1_8v;
|
|
|
|
mmc-hs400-enhanced-strobe;
|
|
|
|
};
|
|
|
|
|
2023-05-17 18:26:35 +00:00
|
|
|
&sfc {
|
|
|
|
bootph-pre-ram;
|
|
|
|
u-boot,spl-sfc-no-dma;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
flash@0 {
|
|
|
|
bootph-pre-ram;
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <24000000>;
|
|
|
|
spi-rx-bus-width = <4>;
|
|
|
|
spi-tx-bus-width = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-03-14 00:38:24 +00:00
|
|
|
&sdmmc2 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
status = "disabled";
|
2023-02-14 15:18:40 +00:00
|
|
|
};
|
|
|
|
|
2023-05-17 18:26:34 +00:00
|
|
|
&uart2m0_xfer {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
2023-02-14 15:18:40 +00:00
|
|
|
&uart2 {
|
|
|
|
clock-frequency = <24000000>;
|
2023-03-27 19:20:19 +00:00
|
|
|
bootph-all;
|
2023-02-14 15:18:40 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2023-04-20 12:00:40 +00:00
|
|
|
|
|
|
|
&vcc5v0_usb_host {
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
&vcc5v0_usb_hub {
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|