blob: 8e318e624a857e513be524665c2fca0b0eeda0c3 [file] [log] [blame]
Eugen Hristev3bf8e402023-02-22 11:05:12 +02001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2023 Collabora Ltd.
4 */
5
6#include "rk3588-u-boot.dtsi"
Eugen Hristev32961c02023-05-29 13:01:35 +03007
Jonas Karlmanfd6e4252023-05-18 15:39:30 +00008&fspim2_pins {
Jonas Karlmanbcaf6c02024-04-22 06:28:50 +00009 bootph-pre-ram;
10 bootph-some-ram;
Jonas Karlmanfd6e4252023-05-18 15:39:30 +000011};
12
Jonas Karlmanb564aa22023-04-18 16:46:41 +000013&sdhci {
14 cap-mmc-highspeed;
Jonas Karlmanb564aa22023-04-18 16:46:41 +000015 mmc-hs200-1_8v;
Jonas Karlmanb564aa22023-04-18 16:46:41 +000016};
Eugen Hristev9ceef3d2023-05-15 12:59:45 +030017
Jonas Karlmanfd6e4252023-05-18 15:39:30 +000018&sfc {
Jonas Karlmanfd6e4252023-05-18 15:39:30 +000019 pinctrl-names = "default";
20 pinctrl-0 = <&fspim2_pins>;
Jonas Karlmanfd6e4252023-05-18 15:39:30 +000021 status = "okay";
22
23 flash@0 {
Jonas Karlmanfd6e4252023-05-18 15:39:30 +000024 compatible = "jedec,spi-nor";
25 reg = <0>;
Jonas Karlmanbcaf6c02024-04-22 06:28:50 +000026 bootph-pre-ram;
27 bootph-some-ram;
Jonas Karlmanfd6e4252023-05-18 15:39:30 +000028 spi-max-frequency = <24000000>;
29 spi-rx-bus-width = <4>;
30 spi-tx-bus-width = <1>;
31 };
32};
33
Eugen Hristev32961c02023-05-29 13:01:35 +030034&u2phy0 {
35 status = "okay";
36};
37
38&u2phy0_otg {
Eugen Hristev32961c02023-05-29 13:01:35 +030039 status = "okay";
40};
41
FUKAUMI Naoki74273f12023-09-05 20:47:35 +090042&u2phy1 {
Eugen Hristev9ceef3d2023-05-15 12:59:45 +030043 status = "okay";
44};
45
FUKAUMI Naoki74273f12023-09-05 20:47:35 +090046&u2phy1_otg {
Eugen Hristev9ceef3d2023-05-15 12:59:45 +030047 status = "okay";
48};
49
Jonas Karlmanc1710bf2023-10-17 17:02:11 +000050&usbdp_phy1 {
Eugen Hristev9ceef3d2023-05-15 12:59:45 +030051 status = "okay";
52};
53
Eugen Hristev32961c02023-05-29 13:01:35 +030054&usbdp_phy0 {
Eugen Hristev32961c02023-05-29 13:01:35 +030055 status = "okay";
Eugen Hristev32961c02023-05-29 13:01:35 +030056};
57
Jonas Karlmanc1710bf2023-10-17 17:02:11 +000058&usb_host0_xhci {
Jonas Karlmand76daf12024-05-04 19:43:05 +000059 dr_mode = "peripheral";
60 maximum-speed = "high-speed";
Jonas Karlmanc1710bf2023-10-17 17:02:11 +000061 status = "okay";
Eugen Hristev32961c02023-05-29 13:01:35 +030062};
63
Jonas Karlmanc1710bf2023-10-17 17:02:11 +000064&usb_host1_xhci {
Jonas Karlmana129bbc2024-05-04 19:43:06 +000065 dr_mode = "host";
Jonas Karlmanc1710bf2023-10-17 17:02:11 +000066 status = "okay";
67};