blob: 791f16b206f299fa1731010f0980b06e5566d3ce [file] [log] [blame]
Chris Morgan8c4e3042023-04-21 10:59:19 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3#include "rk356x-u-boot.dtsi"
4
5/ {
6 chosen {
Chris Morgan8c4e3042023-04-21 10:59:19 -05007 u-boot,spl-boot-order = "same-as-spl", &sdmmc1, &sdmmc0;
8 };
9
10 rng: rng@fe388000 {
11 compatible = "rockchip,cryptov2-rng";
12 reg = <0x0 0xfe388000 0x0 0x2000>;
13 status = "okay";
14 };
15};
16
Chris Morgana1deb132023-05-15 11:00:28 -050017&dsi_dphy0 {
18 status = "okay";
19};
20
21&dsi0 {
22 status = "okay";
23};
24
Chris Morgan8c4e3042023-04-21 10:59:19 -050025&i2c2 {
Chris Morganb1f32222023-05-15 11:00:27 -050026 pinctrl-0 = <&i2c2m1_xfer>;
27 pinctrl-names = "default";
Chris Morgan8c4e3042023-04-21 10:59:19 -050028 status = "okay";
29};
30
31&pmucru {
32 assigned-clocks = <&pmucru SCLK_32K_IOE>;
33 assigned-clock-parents = <&pmucru CLK_RTC_32K>;
34};
35
36/*
37 * We don't need the clocks, but if they are present they may cause
38 * probing to fail so we remove them for U-Boot.
39 */
40&rk817 {
41 /delete-property/ assigned-clocks;
42 /delete-property/ assigned-clock-parents;
43 /delete-property/ clocks;
44 /delete-property/ clock-names;
45};
46
47&sdhci {
48 pinctrl-0 = <&emmc_bus8>, <&emmc_clk>, <&emmc_cmd>,
49 <&emmc_datastrobe>, <&emmc_rstnout>;
50 pinctrl-names = "default";
51 bus-width = <8>;
52 max-frequency = <200000000>;
53 mmc-hs200-1_8v;
54 non-removable;
55 vmmc-supply = <&vcc_3v3>;
56 vqmmc-supply = <&vcc_1v8>;
57 status = "okay";
58};