arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / arm64 / boot / dts / qcom / pm8150.dtsi
blobb6e304748a5760a9e2d9c6a29799111f36bfbd42
1 // SPDX-License-Identifier: BSD-3-Clause
2 /*
3  * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
4  * Copyright (c) 2019, Linaro Limited
5  */
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
10 #include <dt-bindings/iio/qcom,spmi-vadc.h>
12 &spmi_bus {
13         pm8150_0: pmic@0 {
14                 compatible = "qcom,pm8150", "qcom,spmi-pmic";
15                 reg = <0x0 SPMI_USID>;
16                 #address-cells = <1>;
17                 #size-cells = <0>;
19                 pon: power-on@800 {
20                         compatible = "qcom,pm8916-pon";
21                         reg = <0x0800>;
22                         pwrkey {
23                                 compatible = "qcom,pm8941-pwrkey";
24                                 interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>;
25                                 debounce = <15625>;
26                                 bias-pull-up;
27                                 linux,code = <KEY_POWER>;
29                                 status = "disabled";
30                         };
31                 };
33                 pm8150_adc: adc@3100 {
34                         compatible = "qcom,spmi-adc5";
35                         reg = <0x3100>;
36                         #address-cells = <1>;
37                         #size-cells = <0>;
38                         #io-channel-cells = <1>;
39                         interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
41                         status = "disabled";
43                         ref-gnd@0 {
44                                 reg = <ADC5_REF_GND>;
45                                 qcom,pre-scaling = <1 1>;
46                                 label = "ref_gnd";
47                         };
49                         vref-1p25@1 {
50                                 reg = <ADC5_1P25VREF>;
51                                 qcom,pre-scaling = <1 1>;
52                                 label = "vref_1p25";
53                         };
55                         die-temp@6 {
56                                 reg = <ADC5_DIE_TEMP>;
57                                 qcom,pre-scaling = <1 1>;
58                                 label = "die_temp";
59                         };
60                 };
62                 rtc@6000 {
63                         compatible = "qcom,pm8941-rtc";
64                         reg = <0x6000>;
65                         reg-names = "rtc", "alarm";
66                         interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
68                         status = "disabled";
69                 };
71                 pm8150_gpios: gpio@c000 {
72                         compatible = "qcom,pm8150-gpio";
73                         reg = <0xc000>;
74                         gpio-controller;
75                         #gpio-cells = <2>;
76                         interrupts = <0x0 0xc0 0x0 IRQ_TYPE_NONE>,
77                                      <0x0 0xc1 0x0 IRQ_TYPE_NONE>,
78                                      <0x0 0xc2 0x0 IRQ_TYPE_NONE>,
79                                      <0x0 0xc3 0x0 IRQ_TYPE_NONE>,
80                                      <0x0 0xc4 0x0 IRQ_TYPE_NONE>,
81                                      <0x0 0xc5 0x0 IRQ_TYPE_NONE>,
82                                      <0x0 0xc6 0x0 IRQ_TYPE_NONE>,
83                                      <0x0 0xc7 0x0 IRQ_TYPE_NONE>,
84                                      <0x0 0xc8 0x0 IRQ_TYPE_NONE>,
85                                      <0x0 0xc9 0x0 IRQ_TYPE_NONE>,
86                                      <0x0 0xca 0x0 IRQ_TYPE_NONE>,
87                                      <0x0 0xcb 0x0 IRQ_TYPE_NONE>;
88                 };
89         };
91         pmic@1 {
92                 compatible = "qcom,pm8150", "qcom,spmi-pmic";
93                 reg = <0x1 SPMI_USID>;
94                 #address-cells = <1>;
95                 #size-cells = <0>;
96         };