Chris Morgan | 8c4e304 | 2023-04-21 10:59:19 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | |
| 3 | #include "rk356x-u-boot.dtsi" |
| 4 | |
| 5 | / { |
| 6 | chosen { |
Chris Morgan | 61c167c | 2024-05-21 10:45:49 -0500 | [diff] [blame] | 7 | u-boot,spl-boot-order = &sdmmc0, &sdhci; |
Chris Morgan | 8c4e304 | 2023-04-21 10:59:19 -0500 | [diff] [blame] | 8 | }; |
Chris Morgan | 8c4e304 | 2023-04-21 10:59:19 -0500 | [diff] [blame] | 9 | }; |
| 10 | |
Chris Morgan | a1deb13 | 2023-05-15 11:00:28 -0500 | [diff] [blame] | 11 | &dsi_dphy0 { |
| 12 | status = "okay"; |
| 13 | }; |
| 14 | |
| 15 | &dsi0 { |
| 16 | status = "okay"; |
| 17 | }; |
| 18 | |
Chris Morgan | 8c4e304 | 2023-04-21 10:59:19 -0500 | [diff] [blame] | 19 | &i2c2 { |
Chris Morgan | b1f3222 | 2023-05-15 11:00:27 -0500 | [diff] [blame] | 20 | pinctrl-0 = <&i2c2m1_xfer>; |
| 21 | pinctrl-names = "default"; |
Chris Morgan | 8c4e304 | 2023-04-21 10:59:19 -0500 | [diff] [blame] | 22 | 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 | }; |