Eugen Hristev | 32f36cf | 2023-02-22 11:05:12 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright (c) 2023 Collabora Ltd. |
| 4 | */ |
| 5 | |
| 6 | #include "rk3588-u-boot.dtsi" |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 7 | |
Jonas Karlman | adb7894 | 2023-05-18 15:39:30 +0000 | [diff] [blame] | 8 | &fspim2_pins { |
Jonas Karlman | ab956bb | 2024-04-22 06:28:50 +0000 | [diff] [blame] | 9 | bootph-pre-ram; |
| 10 | bootph-some-ram; |
Jonas Karlman | adb7894 | 2023-05-18 15:39:30 +0000 | [diff] [blame] | 11 | }; |
| 12 | |
Jonas Karlman | ced8be0 | 2023-04-18 16:46:41 +0000 | [diff] [blame] | 13 | &sdhci { |
| 14 | cap-mmc-highspeed; |
Jonas Karlman | ced8be0 | 2023-04-18 16:46:41 +0000 | [diff] [blame] | 15 | mmc-hs200-1_8v; |
Jonas Karlman | ced8be0 | 2023-04-18 16:46:41 +0000 | [diff] [blame] | 16 | }; |
Eugen Hristev | a856b1a | 2023-05-15 12:59:45 +0300 | [diff] [blame] | 17 | |
Jonas Karlman | adb7894 | 2023-05-18 15:39:30 +0000 | [diff] [blame] | 18 | &sfc { |
Jonas Karlman | adb7894 | 2023-05-18 15:39:30 +0000 | [diff] [blame] | 19 | pinctrl-names = "default"; |
| 20 | pinctrl-0 = <&fspim2_pins>; |
Jonas Karlman | adb7894 | 2023-05-18 15:39:30 +0000 | [diff] [blame] | 21 | status = "okay"; |
| 22 | |
| 23 | flash@0 { |
Jonas Karlman | adb7894 | 2023-05-18 15:39:30 +0000 | [diff] [blame] | 24 | compatible = "jedec,spi-nor"; |
| 25 | reg = <0>; |
Jonas Karlman | ab956bb | 2024-04-22 06:28:50 +0000 | [diff] [blame] | 26 | bootph-pre-ram; |
| 27 | bootph-some-ram; |
Jonas Karlman | adb7894 | 2023-05-18 15:39:30 +0000 | [diff] [blame] | 28 | spi-max-frequency = <24000000>; |
| 29 | spi-rx-bus-width = <4>; |
| 30 | spi-tx-bus-width = <1>; |
| 31 | }; |
| 32 | }; |
| 33 | |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 34 | &u2phy0 { |
| 35 | status = "okay"; |
| 36 | }; |
| 37 | |
| 38 | &u2phy0_otg { |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 39 | status = "okay"; |
| 40 | }; |
| 41 | |
FUKAUMI Naoki | 6131517 | 2023-09-05 20:47:35 +0900 | [diff] [blame] | 42 | &u2phy1 { |
Eugen Hristev | a856b1a | 2023-05-15 12:59:45 +0300 | [diff] [blame] | 43 | status = "okay"; |
| 44 | }; |
| 45 | |
FUKAUMI Naoki | 6131517 | 2023-09-05 20:47:35 +0900 | [diff] [blame] | 46 | &u2phy1_otg { |
Eugen Hristev | a856b1a | 2023-05-15 12:59:45 +0300 | [diff] [blame] | 47 | status = "okay"; |
| 48 | }; |
| 49 | |
Jonas Karlman | f9b28c2 | 2023-10-17 17:02:11 +0000 | [diff] [blame] | 50 | &usbdp_phy1 { |
Eugen Hristev | a856b1a | 2023-05-15 12:59:45 +0300 | [diff] [blame] | 51 | status = "okay"; |
| 52 | }; |
| 53 | |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 54 | &usbdp_phy0 { |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 55 | status = "okay"; |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 56 | }; |
| 57 | |
Jonas Karlman | f9b28c2 | 2023-10-17 17:02:11 +0000 | [diff] [blame] | 58 | &usb_host0_xhci { |
Jonas Karlman | 1cd43a2 | 2024-05-04 19:43:05 +0000 | [diff] [blame] | 59 | dr_mode = "peripheral"; |
| 60 | maximum-speed = "high-speed"; |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 61 | status = "okay"; |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 62 | }; |
| 63 | |
Jonas Karlman | f9b28c2 | 2023-10-17 17:02:11 +0000 | [diff] [blame] | 64 | &usb_host1_xhci { |
Jonas Karlman | e0a5afe | 2024-05-04 19:43:06 +0000 | [diff] [blame] | 65 | dr_mode = "host"; |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 66 | status = "okay"; |
Eugen Hristev | 41bbad8 | 2023-05-29 13:01:35 +0300 | [diff] [blame] | 67 | }; |