[PATCH V9 5/6] arm64: dts: qcom: pm8008: Add base dts file
From: Satya Priya
Date: Tue Apr 05 2022 - 16:40:44 EST
Add base DTS file for pm8008 with infra and regulator nodes.
Signed-off-by: Satya Priya <quic_c_skakit@xxxxxxxxxxx>
---
Changes in V9:
- Add single dt file for pm8008 instead of adding files like in V8.
arch/arm64/boot/dts/qcom/pm8008.dtsi | 47 ++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/pm8008.dtsi
diff --git a/arch/arm64/boot/dts/qcom/pm8008.dtsi b/arch/arm64/boot/dts/qcom/pm8008.dtsi
new file mode 100644
index 0000000..24bd832
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/pm8008.dtsi
@@ -0,0 +1,47 @@
+// SPDX-License-Identifier: BSD-3-Clause
+// Copyright (c) 2022, The Linux Foundation. All rights reserved.
+
+&pm8008_bus {
+ pm8008: pm8008@8 {
+ compatible = "qcom,pm8008";
+ reg = <0x8>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ #interrupt-cells = <2>;
+ };
+
+ pm8008_regulators: pm8008@9 {
+ compatible = "qcom,pm8008-regulators";
+ reg = <0x9>;
+ #address-cells = <0>;
+ #size-cells = <0>;
+
+ pm8008_l1: ldo1 {
+ regulator-name = "pm8008_l1";
+ };
+
+ pm8008_l2: ldo2 {
+ regulator-name = "pm8008_l2";
+ };
+
+ pm8008_l3: ldo3 {
+ regulator-name = "pm8008_l3";
+ };
+
+ pm8008_l4: ldo4 {
+ regulator-name = "pm8008_l4";
+ };
+
+ pm8008_l5: ldo5 {
+ regulator-name = "pm8008_l5";
+ };
+
+ pm8008_l6: ldo6 {
+ regulator-name = "pm8008_l6";
+ };
+
+ pm8008_l7: ldo7 {
+ regulator-name = "pm8008_l7";
+ };
+ };
+};
--
2.7.4