Jeevan Shriram | dcb8b91 | 2017-03-19 20:27:35 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2017, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
| 14 | |
| 15 | |
| 16 | #include "sdxpoorwills.dtsi" |
| 17 | #include "sdxpoorwills-pinctrl.dtsi" |
| 18 | |
| 19 | / { |
| 20 | model = "Qualcomm Technologies, Inc. SDXPOORWILLS RUMI"; |
| 21 | compatible = "qcom,sdxpoorwills-rumi", |
| 22 | "qcom,sdxpoorwills", "qcom,rumi"; |
| 23 | qcom,board-id = <15 0>; |
| 24 | }; |
| 25 | |
Tirupathi Reddy | 2130f4a | 2017-09-12 15:40:56 +0530 | [diff] [blame] | 26 | &soc { |
| 27 | /* Delete rpmh regulators */ |
| 28 | /delete-node/ rpmh-regulator-modemlvl; |
| 29 | /delete-node/ rpmh-regulator-smpa4; |
| 30 | /delete-node/ rpmh-regulator-cxlvl; |
| 31 | /delete-node/ rpmh-regulator-ldoa1; |
| 32 | /delete-node/ rpmh-regulator-ldoa2; |
| 33 | /delete-node/ rpmh-regulator-ldoa3; |
| 34 | /delete-node/ rpmh-regulator-ldoa4; |
| 35 | /delete-node/ rpmh-regulator-ldoa5; |
| 36 | /delete-node/ rpmh-regulator-ldoa7; |
| 37 | /delete-node/ rpmh-regulator-ldoa8; |
| 38 | /delete-node/ rpmh-regulator-mxlvl; |
| 39 | /delete-node/ rpmh-regulator-ldoa10; |
| 40 | /delete-node/ rpmh-regulator-ldoa11; |
| 41 | /delete-node/ rpmh-regulator-ldoa12; |
| 42 | /delete-node/ rpmh-regulator-ldoa13; |
| 43 | /delete-node/ rpmh-regulator-ldoa14; |
| 44 | /delete-node/ rpmh-regulator-ldoa16; |
| 45 | /delete-node/ rpmh-regulator-rgmii; |
| 46 | }; |
| 47 | |
| 48 | #include "sdxpoorwills-stub-regulator.dtsi" |
| 49 | |
Jeevan Shriram | dcb8b91 | 2017-03-19 20:27:35 -0700 | [diff] [blame] | 50 | &blsp1_uart2 { |
| 51 | pinctrl-names = "default"; |
| 52 | pinctrl-0 = <&uart2_console_active>; |
Runmin Wang | 8dce5869 | 2017-05-01 15:19:18 -0700 | [diff] [blame] | 53 | status = "ok"; |
Jeevan Shriram | dcb8b91 | 2017-03-19 20:27:35 -0700 | [diff] [blame] | 54 | }; |
Osvaldo Banuelos | 8d9c87b | 2017-05-08 11:36:39 -0700 | [diff] [blame] | 55 | |
| 56 | &gdsc_usb30 { |
| 57 | compatible = "regulator-fixed"; |
| 58 | }; |
| 59 | |
| 60 | &gdsc_pcie { |
| 61 | compatible = "regulator-fixed"; |
| 62 | }; |
Devdutt Patnaik | 4ff5bcd6 | 2017-05-05 19:45:01 -0700 | [diff] [blame] | 63 | |
Michael Adisumarta | 062cf64 | 2017-12-05 15:06:09 -0800 | [diff] [blame] | 64 | &ipa_hw { |
| 65 | qcom,ipa-hw-mode = <1>; /* IPA hw type = Virtual */ |
| 66 | }; |
| 67 | |
Devdutt Patnaik | 4ff5bcd6 | 2017-05-05 19:45:01 -0700 | [diff] [blame] | 68 | &usb { |
| 69 | /delete-property/ qcom,usb-dbm; |
| 70 | qcom,charging-disabled; |
| 71 | dwc3@a600000 { |
| 72 | usb-phy = <&usb2_phy>, <&usb_nop_phy>; |
| 73 | maximum-speed = "high-speed"; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | &usb2_phy { |
| 78 | reg = <0xff1000 0x1000>, |
| 79 | <0x0a60cd00 0x40>; |
| 80 | reg-names = "hsusb_phy_base", |
| 81 | "emu_phy_base"; |
| 82 | qcom,emu-init-seq = <0x19 0x404 |
| 83 | 0x20 0x414 |
| 84 | 0x79 0x410 |
| 85 | 0x00 0x418 |
| 86 | 0x99 0x404 |
| 87 | 0x04 0x408 |
| 88 | 0xd9 0x404>; |
| 89 | |
| 90 | qcom,emu-dcm-reset-seq = <0x100000 0x20 |
| 91 | 0x0 0x20 |
| 92 | 0x1e0 0x20 |
| 93 | 0x5 0x14>; |
| 94 | }; |
| 95 | |
| 96 | &usb3_qmp_phy { |
| 97 | status = "disabled"; |
| 98 | }; |
Sahitya Tummala | 61f1d32 | 2017-06-06 13:49:19 +0530 | [diff] [blame] | 99 | |
| 100 | &qnand_1 { |
| 101 | status = "ok"; |
| 102 | }; |