.. | .. |
---|
5 | 5 | */ |
---|
6 | 6 | |
---|
7 | 7 | #include <dt-bindings/gpio/gpio.h> |
---|
| 8 | +#include <dt-bindings/regulator/dlg,da9063-regulator.h> |
---|
8 | 9 | |
---|
9 | 10 | / { |
---|
10 | 11 | aliases { |
---|
.. | .. |
---|
87 | 88 | reg = <0x50>; |
---|
88 | 89 | }; |
---|
89 | 90 | |
---|
90 | | - pmic@58 { |
---|
| 91 | + pmic: pmic@58 { |
---|
91 | 92 | compatible = "dlg,da9062"; |
---|
92 | 93 | pinctrl-names = "default"; |
---|
93 | 94 | pinctrl-0 = <&pinctrl_pmic>; |
---|
.. | .. |
---|
95 | 96 | interrupt-parent = <&gpio1>; |
---|
96 | 97 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
---|
97 | 98 | interrupt-controller; |
---|
| 99 | + gpio-controller; |
---|
| 100 | + #gpio-cells = <2>; |
---|
98 | 101 | |
---|
99 | 102 | da9062_rtc: rtc { |
---|
100 | 103 | compatible = "dlg,da9062-rtc"; |
---|
101 | 104 | }; |
---|
102 | 105 | |
---|
| 106 | + da9062_onkey: onkey { |
---|
| 107 | + compatible = "dlg,da9062-onkey"; |
---|
| 108 | + }; |
---|
| 109 | + |
---|
103 | 110 | watchdog { |
---|
104 | 111 | compatible = "dlg,da9062-watchdog"; |
---|
| 112 | + dlg,use-sw-pm; |
---|
105 | 113 | }; |
---|
106 | 114 | |
---|
107 | 115 | regulators { |
---|
.. | .. |
---|
109 | 117 | regulator-name = "vdd_arm"; |
---|
110 | 118 | regulator-min-microvolt = <925000>; |
---|
111 | 119 | regulator-max-microvolt = <1380000>; |
---|
| 120 | + regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>; |
---|
112 | 121 | regulator-always-on; |
---|
113 | 122 | }; |
---|
114 | 123 | |
---|
.. | .. |
---|
116 | 125 | regulator-name = "vdd_soc"; |
---|
117 | 126 | regulator-min-microvolt = <1150000>; |
---|
118 | 127 | regulator-max-microvolt = <1380000>; |
---|
| 128 | + regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>; |
---|
119 | 129 | regulator-always-on; |
---|
120 | 130 | }; |
---|
121 | 131 | |
---|
.. | .. |
---|
123 | 133 | regulator-name = "vdd_ddr3"; |
---|
124 | 134 | regulator-min-microvolt = <1500000>; |
---|
125 | 135 | regulator-max-microvolt = <1500000>; |
---|
| 136 | + regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>; |
---|
126 | 137 | regulator-always-on; |
---|
127 | 138 | }; |
---|
128 | 139 | |
---|
.. | .. |
---|
130 | 141 | regulator-name = "vdd_eth"; |
---|
131 | 142 | regulator-min-microvolt = <1200000>; |
---|
132 | 143 | regulator-max-microvolt = <1200000>; |
---|
| 144 | + regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>; |
---|
133 | 145 | regulator-always-on; |
---|
134 | 146 | }; |
---|
135 | 147 | |
---|