ARM: dts: msm: Add tlmm pinctrl support for SM6150
Add support for TLMM pinctrl on SM6150 platform. Change-Id: I45dfd3d84900ed4b24ecda47462c2c5178bbb02f Signed-off-by: Kunal Singh Ranawat <quic_kranawat@quicinc.com>
This commit is contained in:
committed by
Asit Shah
parent
9beba3aef1
commit
b5604a5ff7
@@ -12,3 +12,7 @@
|
|||||||
compatible = "qcom,qcs610-iot", "qcom,qcs610", "qcom,iot";
|
compatible = "qcom,qcs610-iot", "qcom,qcs610", "qcom,iot";
|
||||||
qcom,board-id = <32 0>;
|
qcom,board-id = <32 0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&tlmm {
|
||||||
|
qcom,gpios-reserved = <6 7 8 9>;
|
||||||
|
};
|
||||||
|
6
qcom/sm6150-pinctrl.dtsi
Normal file
6
qcom/sm6150-pinctrl.dtsi
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&tlmm {};
|
@@ -566,6 +566,32 @@
|
|||||||
"l3-scu-errirq",
|
"l3-scu-errirq",
|
||||||
"l3-scu-faultirq";
|
"l3-scu-faultirq";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tlmm: pinctrl@03000000 {
|
||||||
|
compatible = "qcom,sm6150-pinctrl";
|
||||||
|
reg = <0x03000000 0xdc2000>, <0x17c000f0 0x50>;
|
||||||
|
reg-names = "pinctrl", "spi_cfg";
|
||||||
|
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
qcom,gpios-reserved = <0 1 2 3 6 7 8 9>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
wakeup-parent = <&pdc>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "sm6150-regulator.dtsi"
|
#include "sm6150-regulator.dtsi"
|
||||||
|
#include "sm6150-pinctrl.dtsi"
|
||||||
|
|
||||||
|
&tlmm {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
Reference in New Issue
Block a user