// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. * Copyright (c) 2022-2023, Bryan O'Donoghue. * */ /dts-v1/; #include "msm8939.dtsi" #include "msm8939-pm8916.dtsi" #include #include #include / { model = "Sony Xperia M4 Aqua"; compatible = "sony,kanuti-tulip", "qcom,msm8939"; qcom,board-id = ; qcom,msm-id = , ; aliases { mmc0 = &sdhc_1; /* SDC1 eMMC slot */ mmc1 = &sdhc_2; /* SDC2 SD card slot */ serial0 = &blsp_uart2; }; chosen { stdout-path = "serial0:115200n8"; }; usb_id: usb-id { compatible = "linux,extcon-usb-gpio"; id-gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>; pinctrl-0 = <&usb_id_default>; pinctrl-names = "default"; }; }; &mdss { status = "okay"; }; &tlmm { sdc2_cd_default: sdc2-cd-default-state { pins = "gpio38"; function = "gpio"; drive-strength = <2>; bias-pull-up; }; usb_id_default: usb-id-default-state { pins = "gpio110"; function = "gpio"; bias-pull-up; drive-strength = <8>; }; }; &sdhc_1 { status = "okay"; }; &sdhc_2 { pinctrl-0 = <&sdc2_default &sdc2_cd_default>; pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; pinctrl-names = "default", "sleep"; cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>; status = "okay"; }; &usb { extcon = <&usb_id>, <&usb_id>; status = "okay"; }; &usb_hs_phy { extcon = <&usb_id>; }; &wcnss { status = "okay"; }; &wcnss_iris { compatible = "qcom,wcn3660"; };