Sumit Garg | d35b211 | 2022-07-12 12:42:08 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Qualcomm Robotics RB3 Development (dragonboard845c) board device |
| 4 | * tree source |
| 5 | * |
| 6 | * (C) Copyright 2022 Sumit Garg <sumit.garg@linaro.org> |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | #include "sdm845.dtsi" |
Caleb Connolly | 1a7474c | 2023-08-15 17:36:10 +0100 | [diff] [blame] | 12 | #include "pm8998.dtsi" |
Sumit Garg | d35b211 | 2022-07-12 12:42:08 +0530 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | model = "Thundercomm Dragonboard 845c"; |
| 16 | compatible = "thundercomm,db845c", "qcom,sdm845"; |
Sumit Garg | d35b211 | 2022-07-12 12:42:08 +0530 | [diff] [blame] | 17 | |
| 18 | chosen { |
| 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; |
| 21 | |
| 22 | aliases { |
Vladimir Zapolskiy | 0e889a7 | 2023-04-21 20:50:41 +0300 | [diff] [blame] | 23 | serial0 = &uart9; |
Sumit Garg | d35b211 | 2022-07-12 12:42:08 +0530 | [diff] [blame] | 24 | }; |
| 25 | |
Caleb Connolly | 1a7474c | 2023-08-15 17:36:10 +0100 | [diff] [blame] | 26 | memory@80000000 { |
Sumit Garg | d35b211 | 2022-07-12 12:42:08 +0530 | [diff] [blame] | 27 | device_type = "memory"; |
| 28 | reg = <0 0x80000000 0 0xfdfa0000>; |
| 29 | }; |
Caleb Connolly | 3258149 | 2023-09-12 16:14:21 +0100 | [diff] [blame] | 30 | |
| 31 | pcie_usb_dual_pwr: vldo-3v3-regulator { |
| 32 | compatible = "regulator-gpio"; |
| 33 | regulator-name = "VLDO_3V3"; |
| 34 | |
| 35 | regulator-min-microvolt = <3300000>; |
| 36 | regulator-max-microvolt = <3300000>; |
| 37 | |
| 38 | enable-gpios = <&tlmm 90 GPIO_ACTIVE_HIGH>; |
| 39 | enable-active-high; |
| 40 | states = <0 0>, <1800000 1>; |
| 41 | }; |
Sumit Garg | d35b211 | 2022-07-12 12:42:08 +0530 | [diff] [blame] | 42 | }; |
| 43 | |
Caleb Connolly | 5df679a | 2023-11-30 16:13:50 +0000 | [diff] [blame] | 44 | &pm8998_resin { |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | |
Caleb Connolly | 1a7474c | 2023-08-15 17:36:10 +0100 | [diff] [blame] | 48 | &uart9 { |
| 49 | status = "okay"; |
| 50 | }; |
Caleb Connolly | 3258149 | 2023-09-12 16:14:21 +0100 | [diff] [blame] | 51 | |
| 52 | &usb_2 { |
| 53 | status = "okay"; |
| 54 | qcom,select-utmi-as-pipe-clk; |
| 55 | }; |
| 56 | |
| 57 | &usb_2_dwc3 { |
| 58 | dr_mode = "host"; |
| 59 | |
| 60 | /* We don't support superspeed in u-boot so remove the SSPHY */ |
| 61 | phys = <&usb_2_hsphy>; |
| 62 | phy-names = "usb2-phy"; |
| 63 | |
| 64 | /* fastest mode for USB 2 */ |
| 65 | maximum-speed = "high-speed"; |
| 66 | |
| 67 | vbus-supply = <&pcie_usb_dual_pwr>; |
| 68 | }; |
| 69 | |
| 70 | &usb_2_hsphy { |
| 71 | /* Remove ref clk because rmphcc isn't available */ |
| 72 | clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>; |
| 73 | clock-names = "cfg_ahb"; |
| 74 | |
| 75 | status = "okay"; |
| 76 | }; |