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 | 8c4e304 | 2023-04-21 10:59:19 -0500 | [diff] [blame] | 7 | 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 Morgan | a1deb13 | 2023-05-15 11:00:28 -0500 | [diff] [blame] | 17 | &dsi_dphy0 { |
| 18 | status = "okay"; |
| 19 | }; |
| 20 | |
| 21 | &dsi0 { |
| 22 | status = "okay"; |
| 23 | }; |
| 24 | |
Chris Morgan | 8c4e304 | 2023-04-21 10:59:19 -0500 | [diff] [blame] | 25 | &i2c2 { |
Chris Morgan | b1f3222 | 2023-05-15 11:00:27 -0500 | [diff] [blame] | 26 | pinctrl-0 = <&i2c2m1_xfer>; |
| 27 | pinctrl-names = "default"; |
Chris Morgan | 8c4e304 | 2023-04-21 10:59:19 -0500 | [diff] [blame] | 28 | 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 | }; |