// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) 2022, Konrad Dybcio */ /dts-v1/; #include #include "sm6375.dtsi" #include "pmr735a.dtsi" / { model = "Sony Xperia 10 IV"; compatible = "sony,pdx225", "qcom,sm6375"; chassis-type = "handset"; chosen { #address-cells = <2>; #size-cells = <2>; ranges; framebuffer: framebuffer@85200000 { compatible = "simple-framebuffer"; reg = <0 0x85200000 0 0xc00000>; width = <1080>; height = <2520>; stride = <(1080 * 4)>; format = "a8r8g8b8"; /* * That's (going to be) a lot of clocks, but it's necessary due * to unused clk cleanup & no panel driver yet */ clocks = <&gcc GCC_DISP_AHB_CLK>, <&gcc GCC_DISP_HF_AXI_CLK>, <&gcc GCC_DISP_THROTTLE_CORE_CLK>, <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>; }; }; reserved-memory { cont_splash_mem: memory@85200000 { reg = <0 0x85200000 0 0xc00000>; no-map; }; ramoops@ffc40000 { compatible = "ramoops"; reg = <0 0xffc40000 0 0xb0000>; record-size = <0x10000>; console-size = <0x60000>; ftrace-size = <0x10000>; pmsg-size = <0x20000>; ecc-size = <16>; }; }; vph_pwr: vph-pwr-regulator { compatible = "regulator-fixed"; regulator-name = "vph_pwr"; regulator-min-microvolt = <3700000>; regulator-max-microvolt = <3700000>; regulator-always-on; regulator-boot-on; }; }; &sdc2_off_state { sd-cd-pins { pins = "gpio94"; function = "gpio"; drive-strength = <2>; bias-disable; }; }; &sdc2_on_state { sd-cd-pins { pins = "gpio94"; function = "gpio"; drive-strength = <2>; bias-pull-up; }; }; &sdhc_2 { status = "okay"; vmmc-supply = <&pm6125_l22>; vqmmc-supply = <&pm6125_l5>; cd-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>; }; &gpi_dma0 { status = "okay"; }; &gpi_dma1 { status = "okay"; }; &qupv3_id_0 { status = "okay"; }; &qupv3_id_1 { status = "okay"; }; &tlmm { gpio-reserved-ranges = <13 4>; }; &usb_1 { status = "okay"; }; &usb_1_dwc3 { dr_mode = "peripheral"; }; &usb_1_hsphy { status = "okay"; }; &xo_board_clk { clock-frequency = <19200000>; };