|
| 1 | +// SPDX-License-Identifier: BSD-3-Clause |
| 2 | +/* |
| 3 | + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. |
| 4 | + */ |
| 5 | + |
| 6 | +/dts-v1/; |
| 7 | +/plugin/; |
| 8 | + |
| 9 | +#include <dt-bindings/gpio/gpio.h> |
| 10 | + |
| 11 | +&{/} { |
| 12 | + model = "Qualcomm Technologies, Inc. Monaco-EVK Mezzanine"; |
| 13 | + |
| 14 | + vreg_0p9: regulator-vreg-0p9 { |
| 15 | + compatible = "regulator-fixed"; |
| 16 | + regulator-name = "VREG_0P9"; |
| 17 | + |
| 18 | + regulator-min-microvolt = <900000>; |
| 19 | + regulator-max-microvolt = <900000>; |
| 20 | + regulator-always-on; |
| 21 | + regulator-boot-on; |
| 22 | + |
| 23 | + vin-supply = <&vreg_3p3>; |
| 24 | + }; |
| 25 | + |
| 26 | + vreg_1p8: regulator-vreg-1p8 { |
| 27 | + compatible = "regulator-fixed"; |
| 28 | + regulator-name = "VREG_1P8"; |
| 29 | + |
| 30 | + regulator-min-microvolt = <1800000>; |
| 31 | + regulator-max-microvolt = <1800000>; |
| 32 | + regulator-always-on; |
| 33 | + regulator-boot-on; |
| 34 | + |
| 35 | + vin-supply = <&vreg_4p2>; |
| 36 | + }; |
| 37 | + |
| 38 | + vreg_3p3: regulator-vreg-3p3 { |
| 39 | + compatible = "regulator-fixed"; |
| 40 | + regulator-name = "VREG_3P3"; |
| 41 | + |
| 42 | + regulator-min-microvolt = <3300000>; |
| 43 | + regulator-max-microvolt = <3300000>; |
| 44 | + regulator-always-on; |
| 45 | + regulator-boot-on; |
| 46 | + |
| 47 | + vin-supply = <&vreg_4p2>; |
| 48 | + }; |
| 49 | + |
| 50 | + vreg_4p2: regulator-vreg-4p2 { |
| 51 | + compatible = "regulator-fixed"; |
| 52 | + regulator-name = "VREG_4P2"; |
| 53 | + |
| 54 | + regulator-min-microvolt = <4200000>; |
| 55 | + regulator-max-microvolt = <4200000>; |
| 56 | + regulator-always-on; |
| 57 | + regulator-boot-on; |
| 58 | + |
| 59 | + vin-supply = <&vreg_sys_pwr>; |
| 60 | + }; |
| 61 | + |
| 62 | + vreg_sys_pwr: regulator-vreg-sys-pwr { |
| 63 | + compatible = "regulator-fixed"; |
| 64 | + regulator-name = "VREG_SYS_PWR"; |
| 65 | + |
| 66 | + regulator-min-microvolt = <24000000>; |
| 67 | + regulator-max-microvolt = <24000000>; |
| 68 | + regulator-always-on; |
| 69 | + regulator-boot-on; |
| 70 | + }; |
| 71 | +}; |
| 72 | + |
| 73 | +&i2c15 { |
| 74 | + #address-cells = <1>; |
| 75 | + #size-cells = <0>; |
| 76 | + |
| 77 | + status = "okay"; |
| 78 | + |
| 79 | + eeprom1: eeprom@52 { |
| 80 | + compatible = "giantec,gt24c256c", "atmel,24c256"; |
| 81 | + reg = <0x52>; |
| 82 | + pagesize = <64>; |
| 83 | + |
| 84 | + nvmem-layout { |
| 85 | + compatible = "fixed-layout"; |
| 86 | + #address-cells = <1>; |
| 87 | + #size-cells = <1>; |
| 88 | + }; |
| 89 | + }; |
| 90 | +}; |
| 91 | + |
| 92 | +&pcie0 { |
| 93 | + iommu-map = <0x0 &pcie_smmu 0x0 0x1>, |
| 94 | + <0x100 &pcie_smmu 0x1 0x1>, |
| 95 | + <0x208 &pcie_smmu 0x2 0x1>, |
| 96 | + <0x210 &pcie_smmu 0x3 0x1>, |
| 97 | + <0x218 &pcie_smmu 0x4 0x1>, |
| 98 | + <0x300 &pcie_smmu 0x5 0x1>, |
| 99 | + <0x400 &pcie_smmu 0x6 0x1>, |
| 100 | + <0x500 &pcie_smmu 0x7 0x1>, |
| 101 | + <0x501 &pcie_smmu 0x8 0x1>; |
| 102 | +}; |
| 103 | + |
| 104 | +&pcieport0 { |
| 105 | + #address-cells = <3>; |
| 106 | + #size-cells = <2>; |
| 107 | + |
| 108 | + pcie@0,0 { |
| 109 | + compatible = "pci1179,0623"; |
| 110 | + reg = <0x10000 0x0 0x0 0x0 0x0>; |
| 111 | + #address-cells = <3>; |
| 112 | + #size-cells = <2>; |
| 113 | + |
| 114 | + device_type = "pci"; |
| 115 | + ranges; |
| 116 | + bus-range = <0x2 0xff>; |
| 117 | + |
| 118 | + vddc-supply = <&vreg_0p9>; |
| 119 | + vdd18-supply = <&vreg_1p8>; |
| 120 | + vdd09-supply = <&vreg_0p9>; |
| 121 | + vddio1-supply = <&vreg_1p8>; |
| 122 | + vddio2-supply = <&vreg_1p8>; |
| 123 | + vddio18-supply = <&vreg_1p8>; |
| 124 | + |
| 125 | + i2c-parent = <&i2c15 0x77>; |
| 126 | + |
| 127 | + resx-gpios = <&tlmm 124 GPIO_ACTIVE_LOW>; |
| 128 | + |
| 129 | + pinctrl-0 = <&tc9563_resx_n>; |
| 130 | + pinctrl-names = "default"; |
| 131 | + |
| 132 | + pcie@1,0 { |
| 133 | + reg = <0x20800 0x0 0x0 0x0 0x0>; |
| 134 | + #address-cells = <3>; |
| 135 | + #size-cells = <2>; |
| 136 | + |
| 137 | + device_type = "pci"; |
| 138 | + ranges; |
| 139 | + bus-range = <0x3 0xff>; |
| 140 | + }; |
| 141 | + |
| 142 | + pcie@2,0 { |
| 143 | + reg = <0x21000 0x0 0x0 0x0 0x0>; |
| 144 | + #address-cells = <3>; |
| 145 | + #size-cells = <2>; |
| 146 | + |
| 147 | + device_type = "pci"; |
| 148 | + ranges; |
| 149 | + bus-range = <0x4 0xff>; |
| 150 | + }; |
| 151 | + |
| 152 | + pcie@3,0 { |
| 153 | + reg = <0x21800 0x0 0x0 0x0 0x0>; |
| 154 | + #address-cells = <3>; |
| 155 | + #size-cells = <2>; |
| 156 | + device_type = "pci"; |
| 157 | + ranges; |
| 158 | + bus-range = <0x5 0xff>; |
| 159 | + |
| 160 | + pci@0,0 { |
| 161 | + reg = <0x50000 0x0 0x0 0x0 0x0>; |
| 162 | + #address-cells = <3>; |
| 163 | + #size-cells = <2>; |
| 164 | + device_type = "pci"; |
| 165 | + ranges; |
| 166 | + }; |
| 167 | + |
| 168 | + pci@0,1 { |
| 169 | + reg = <0x50100 0x0 0x0 0x0 0x0>; |
| 170 | + #address-cells = <3>; |
| 171 | + #size-cells = <2>; |
| 172 | + device_type = "pci"; |
| 173 | + ranges; |
| 174 | + }; |
| 175 | + }; |
| 176 | + }; |
| 177 | +}; |
| 178 | + |
| 179 | +&tlmm { |
| 180 | + tc9563_resx_n: tc9563-resx-state { |
| 181 | + pins = "gpio124"; |
| 182 | + function = "gpio"; |
| 183 | + |
| 184 | + bias-disable; |
| 185 | + input-disable; |
| 186 | + output-enable; |
| 187 | + power-source = <0>; |
| 188 | + }; |
| 189 | +}; |
0 commit comments