blob: 793ed4ae8ae0e99f3204a00836bc38a342321511 [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 };
Chris Morgan8c4e3042023-04-21 10:59:19 -05009};
10
Chris Morgana1deb132023-05-15 11:00:28 -050011&dsi_dphy0 {
12 status = "okay";
13};
14
15&dsi0 {
16 status = "okay";
17};
18
Chris Morgan8c4e3042023-04-21 10:59:19 -050019&i2c2 {
Chris Morganb1f32222023-05-15 11:00:27 -050020 pinctrl-0 = <&i2c2m1_xfer>;
21 pinctrl-names = "default";
Chris Morgan8c4e3042023-04-21 10:59:19 -050022 status = "okay";
23};
24
25&pmucru {
26 assigned-clocks = <&pmucru SCLK_32K_IOE>;
27 assigned-clock-parents = <&pmucru CLK_RTC_32K>;
28};
29
30/*
31 * We don't need the clocks, but if they are present they may cause
32 * probing to fail so we remove them for U-Boot.
33 */
34&rk817 {
35 /delete-property/ assigned-clocks;
36 /delete-property/ assigned-clock-parents;
37 /delete-property/ clocks;
38 /delete-property/ clock-names;
39};
40
41&sdhci {
42 pinctrl-0 = <&emmc_bus8>, <&emmc_clk>, <&emmc_cmd>,
43 <&emmc_datastrobe>, <&emmc_rstnout>;
44 pinctrl-names = "default";
45 bus-width = <8>;
46 max-frequency = <200000000>;
47 mmc-hs200-1_8v;
48 non-removable;
49 vmmc-supply = <&vcc_3v3>;
50 vqmmc-supply = <&vcc_1v8>;
51 status = "okay";
52};