| .. | .. |
|---|
| 6 | 6 | |
|---|
| 7 | 7 | /dts-v1/; |
|---|
| 8 | 8 | #include <dt-bindings/input/input.h> |
|---|
| 9 | | -#include "mt7623.dtsi" |
|---|
| 9 | +#include "mt7623n.dtsi" |
|---|
| 10 | 10 | #include "mt6323.dtsi" |
|---|
| 11 | 11 | |
|---|
| 12 | 12 | / { |
|---|
| .. | .. |
|---|
| 19 | 19 | |
|---|
| 20 | 20 | chosen { |
|---|
| 21 | 21 | stdout-path = "serial2:115200n8"; |
|---|
| 22 | + }; |
|---|
| 23 | + |
|---|
| 24 | + connector { |
|---|
| 25 | + compatible = "hdmi-connector"; |
|---|
| 26 | + label = "hdmi"; |
|---|
| 27 | + type = "d"; |
|---|
| 28 | + ddc-i2c-bus = <&hdmiddc0>; |
|---|
| 29 | + |
|---|
| 30 | + port { |
|---|
| 31 | + hdmi_connector_in: endpoint { |
|---|
| 32 | + remote-endpoint = <&hdmi0_out>; |
|---|
| 33 | + }; |
|---|
| 34 | + }; |
|---|
| 22 | 35 | }; |
|---|
| 23 | 36 | |
|---|
| 24 | 37 | cpus { |
|---|
| .. | .. |
|---|
| 64 | 77 | regulator-max-microvolt = <5000000>; |
|---|
| 65 | 78 | regulator-boot-on; |
|---|
| 66 | 79 | regulator-always-on; |
|---|
| 80 | + }; |
|---|
| 81 | + |
|---|
| 82 | + reg_vgpu: fixedregulator@0 { |
|---|
| 83 | + compatible = "regulator-fixed"; |
|---|
| 84 | + regulator-name = "vdd_fixed_vgpu"; |
|---|
| 85 | + regulator-min-microvolt = <1150000>; |
|---|
| 86 | + regulator-max-microvolt = <1150000>; |
|---|
| 67 | 87 | }; |
|---|
| 68 | 88 | |
|---|
| 69 | 89 | gpio-keys { |
|---|
| .. | .. |
|---|
| 114 | 134 | }; |
|---|
| 115 | 135 | }; |
|---|
| 116 | 136 | |
|---|
| 137 | +&bls { |
|---|
| 138 | + status = "okay"; |
|---|
| 139 | +}; |
|---|
| 140 | + |
|---|
| 117 | 141 | &btif { |
|---|
| 142 | + status = "okay"; |
|---|
| 143 | +}; |
|---|
| 144 | + |
|---|
| 145 | +&cec { |
|---|
| 118 | 146 | status = "okay"; |
|---|
| 119 | 147 | }; |
|---|
| 120 | 148 | |
|---|
| .. | .. |
|---|
| 126 | 154 | |
|---|
| 127 | 155 | &crypto { |
|---|
| 128 | 156 | status = "okay"; |
|---|
| 157 | +}; |
|---|
| 158 | + |
|---|
| 159 | +&dpi0 { |
|---|
| 160 | + status = "okay"; |
|---|
| 161 | + |
|---|
| 162 | + ports { |
|---|
| 163 | + #address-cells = <1>; |
|---|
| 164 | + #size-cells = <0>; |
|---|
| 165 | + port@0 { |
|---|
| 166 | + reg = <0>; |
|---|
| 167 | + dpi0_out: endpoint { |
|---|
| 168 | + remote-endpoint = <&hdmi0_in>; |
|---|
| 169 | + }; |
|---|
| 170 | + }; |
|---|
| 171 | + }; |
|---|
| 129 | 172 | }; |
|---|
| 130 | 173 | |
|---|
| 131 | 174 | ð { |
|---|
| .. | .. |
|---|
| 200 | 243 | }; |
|---|
| 201 | 244 | }; |
|---|
| 202 | 245 | |
|---|
| 246 | +&hdmi0 { |
|---|
| 247 | + pinctrl-names = "default"; |
|---|
| 248 | + pinctrl-0 = <&hdmi_pins_a>; |
|---|
| 249 | + status = "okay"; |
|---|
| 250 | + |
|---|
| 251 | + ports { |
|---|
| 252 | + #address-cells = <1>; |
|---|
| 253 | + #size-cells = <0>; |
|---|
| 254 | + port@0 { |
|---|
| 255 | + reg = <0>; |
|---|
| 256 | + hdmi0_in: endpoint { |
|---|
| 257 | + remote-endpoint = <&dpi0_out>; |
|---|
| 258 | + }; |
|---|
| 259 | + }; |
|---|
| 260 | + |
|---|
| 261 | + port@1 { |
|---|
| 262 | + reg = <1>; |
|---|
| 263 | + hdmi0_out: endpoint { |
|---|
| 264 | + remote-endpoint = <&hdmi_connector_in>; |
|---|
| 265 | + }; |
|---|
| 266 | + }; |
|---|
| 267 | + }; |
|---|
| 268 | +}; |
|---|
| 269 | + |
|---|
| 270 | +&hdmiddc0 { |
|---|
| 271 | + pinctrl-names = "default"; |
|---|
| 272 | + pinctrl-0 = <&hdmi_ddc_pins_a>; |
|---|
| 273 | + status = "okay"; |
|---|
| 274 | +}; |
|---|
| 275 | + |
|---|
| 276 | +&hdmi_phy { |
|---|
| 277 | + mediatek,ibias = <0xa>; |
|---|
| 278 | + mediatek,ibias_up = <0x1c>; |
|---|
| 279 | + status = "okay"; |
|---|
| 280 | +}; |
|---|
| 281 | + |
|---|
| 203 | 282 | &i2c0 { |
|---|
| 204 | 283 | pinctrl-names = "default"; |
|---|
| 205 | 284 | pinctrl-0 = <&i2c0_pins_a>; |
|---|
| .. | .. |
|---|
| 209 | 288 | &i2c1 { |
|---|
| 210 | 289 | pinctrl-names = "default"; |
|---|
| 211 | 290 | pinctrl-0 = <&i2c1_pins_a>; |
|---|
| 291 | + status = "okay"; |
|---|
| 292 | +}; |
|---|
| 293 | + |
|---|
| 294 | +&mali { |
|---|
| 295 | + mali-supply = <®_vgpu>; |
|---|
| 212 | 296 | status = "okay"; |
|---|
| 213 | 297 | }; |
|---|
| 214 | 298 | |
|---|
| .. | .. |
|---|
| 331 | 415 | &u3phy2 { |
|---|
| 332 | 416 | status = "okay"; |
|---|
| 333 | 417 | }; |
|---|
| 334 | | - |
|---|