1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
4 */
5/dts-v1/;
6
7#include "sm6350.dtsi"
8
9/ {
10	model = "Sony Xperia 10 III";
11	compatible = "sony,pdx213", "qcom,sm6350";
12	chassis-type = "handset";
13	qcom,msm-id = <434 0x10000>, <459 0x10000>;
14	qcom,board-id = <0x1000B 0>;
15
16	chosen {
17		#address-cells = <2>;
18		#size-cells = <2>;
19		ranges;
20
21		framebuffer: framebuffer@a0000000 {
22			compatible = "simple-framebuffer";
23			reg = <0 0xa0000000 0 0x2300000>;
24			width = <1080>;
25			height = <2520>;
26			stride = <(1080 * 4)>;
27			format = "a8r8g8b8";
28			clocks = <&gcc GCC_DISP_AXI_CLK>;
29		};
30	};
31};
32
33&sdc2_off_state {
34	sd-cd-pins {
35		pins = "gpio94";
36		function = "gpio";
37		drive-strength = <2>;
38		bias-disable;
39	};
40};
41
42&sdc2_on_state {
43	sd-cd-pins {
44		pins = "gpio94";
45		function = "gpio";
46		drive-strength = <2>;
47		bias-pull-up;
48	};
49};
50
51&sdhc_2 {
52	status = "okay";
53
54	cd-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>;
55};
56
57&tlmm {
58	gpio-reserved-ranges = <13 4>, <45 2>, <56 2>;
59};
60
61&usb_1 {
62	status = "okay";
63};
64
65&usb_1_dwc3 {
66	maximum-speed = "super-speed";
67	dr_mode = "peripheral";
68};
69
70&usb_1_hsphy {
71	status = "okay";
72};
73
74&usb_1_qmpphy {
75	status = "okay";
76};
77