1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2023 Collabora Ltd.
6 #include "rk3588-u-boot.dtsi"
7 #include <dt-bindings/usb/pd.h>
11 u-boot,spl-boot-order = "same-as-spl", &sdmmc, &sdhci;
14 vcc12v_dcin: vcc12v-dcin-regulator {
15 compatible = "regulator-fixed";
16 regulator-name = "vcc12v_dcin";
19 regulator-min-microvolt = <12000000>;
20 regulator-max-microvolt = <12000000>;
30 usbc0_int: usbc0-int {
31 rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
44 u-boot,spl-sfc-no-dma;
45 pinctrl-names = "default";
46 pinctrl-0 = <&fspim2_pins>;
51 compatible = "jedec,spi-nor";
53 spi-max-frequency = <24000000>;
54 spi-rx-bus-width = <4>;
55 spi-tx-bus-width = <1>;
86 sbu1-dc-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
87 sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
94 usbdp_phy0_typec_ss: endpoint@0 {
96 remote-endpoint = <&usbc0_ss>;
99 usbdp_phy0_typec_sbu: endpoint@1 {
101 remote-endpoint = <&usbc0_sbu>;
115 #address-cells = <1>;
118 usb_host0_xhci_drd_sw: endpoint {
119 remote-endpoint = <&usbc0_hs>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&i2c4m1_xfer>;
133 usbc0: usb-typec@22 {
134 compatible = "fcs,fusb302";
136 interrupt-parent = <&gpio3>;
137 interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&usbc0_int>;
140 vbus-supply = <&vcc12v_dcin>;
144 compatible = "usb-c-connector";
148 try-power-role = "sink";
149 op-sink-microwatt = <1000000>;
151 <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>,
152 <PDO_VAR(5000, 20000, 5000)>;
155 #address-cells = <1>;
161 remote-endpoint = <&usb_host0_xhci_drd_sw>;
168 remote-endpoint = <&usbdp_phy0_typec_ss>;
174 usbc0_sbu: endpoint {
175 remote-endpoint = <&usbdp_phy0_typec_sbu>;