forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
....@@ -5,6 +5,7 @@
55 */
66
77 #include <dt-bindings/gpio/gpio.h>
8
+#include <dt-bindings/regulator/dlg,da9063-regulator.h>
89
910 / {
1011 aliases {
....@@ -87,7 +88,7 @@
8788 reg = <0x50>;
8889 };
8990
90
- pmic@58 {
91
+ pmic: pmic@58 {
9192 compatible = "dlg,da9062";
9293 pinctrl-names = "default";
9394 pinctrl-0 = <&pinctrl_pmic>;
....@@ -95,13 +96,20 @@
9596 interrupt-parent = <&gpio1>;
9697 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
9798 interrupt-controller;
99
+ gpio-controller;
100
+ #gpio-cells = <2>;
98101
99102 da9062_rtc: rtc {
100103 compatible = "dlg,da9062-rtc";
101104 };
102105
106
+ da9062_onkey: onkey {
107
+ compatible = "dlg,da9062-onkey";
108
+ };
109
+
103110 watchdog {
104111 compatible = "dlg,da9062-watchdog";
112
+ dlg,use-sw-pm;
105113 };
106114
107115 regulators {
....@@ -109,6 +117,7 @@
109117 regulator-name = "vdd_arm";
110118 regulator-min-microvolt = <925000>;
111119 regulator-max-microvolt = <1380000>;
120
+ regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
112121 regulator-always-on;
113122 };
114123
....@@ -116,6 +125,7 @@
116125 regulator-name = "vdd_soc";
117126 regulator-min-microvolt = <1150000>;
118127 regulator-max-microvolt = <1380000>;
128
+ regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
119129 regulator-always-on;
120130 };
121131
....@@ -123,6 +133,7 @@
123133 regulator-name = "vdd_ddr3";
124134 regulator-min-microvolt = <1500000>;
125135 regulator-max-microvolt = <1500000>;
136
+ regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
126137 regulator-always-on;
127138 };
128139
....@@ -130,6 +141,7 @@
130141 regulator-name = "vdd_eth";
131142 regulator-min-microvolt = <1200000>;
132143 regulator-max-microvolt = <1200000>;
144
+ regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
133145 regulator-always-on;
134146 };
135147