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-07-22 13:30:23 +00:00
|
|
|
&pcie2x1 {
|
|
|
|
pinctrl-0 = <&pcie20m1_pins &pcie_reset_h>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcie3x2 {
|
|
|
|
pinctrl-0 = <&pcie30x2m1_pins &pcie3x2_reset_h>;
|
|
|
|
};
|
|
|
|
|
2023-05-17 18:26:34 +00:00
|
|
|
&pinctrl {
|
2023-07-22 13:30:23 +00:00
|
|
|
pcie {
|
|
|
|
pcie3x2_reset_h: pcie3x2-reset-h {
|
|
|
|
rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
};
|
2023-05-17 18:26:34 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
clock-frequency = <24000000>;
|
2023-03-27 19:20:19 +00:00
|
|
|
bootph-all;
|
2023-02-14 15:18:40 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|