hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/exynos5250-spring.dts
....@@ -7,6 +7,7 @@
77 */
88
99 /dts-v1/;
10
+#include <dt-bindings/clock/samsung,s2mps11.h>
1011 #include <dt-bindings/gpio/gpio.h>
1112 #include <dt-bindings/interrupt-controller/irq.h>
1213 #include <dt-bindings/input/input.h>
....@@ -114,12 +115,12 @@
114115 wakeup-source;
115116
116117 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
117
- <&gpd1 1 GPIO_ACTIVE_LOW>, /* DVS2 */
118
- <&gpd1 2 GPIO_ACTIVE_LOW>; /* DVS3 */
118
+ <&gpd1 1 GPIO_ACTIVE_LOW>, /* DVS2 */
119
+ <&gpd1 2 GPIO_ACTIVE_LOW>; /* DVS3 */
119120
120121 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
121
- <&gpx2 4 GPIO_ACTIVE_LOW>, /* SET2 */
122
- <&gpx2 5 GPIO_ACTIVE_LOW>; /* SET3 */
122
+ <&gpx2 4 GPIO_ACTIVE_LOW>, /* SET2 */
123
+ <&gpx2 5 GPIO_ACTIVE_LOW>; /* SET3 */
123124
124125 /*
125126 * The following arrays of DVS voltages are not used, since we are
....@@ -127,26 +128,26 @@
127128 * to please the driver.
128129 */
129130 s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
130
- <1250000>, <1200000>,
131
- <1150000>, <1100000>,
132
- <1000000>, <950000>;
131
+ <1250000>, <1200000>,
132
+ <1150000>, <1100000>,
133
+ <1000000>, <950000>;
133134
134135 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
135
- <1100000>, <1100000>,
136
- <1000000>, <1000000>,
137
- <1000000>, <1000000>;
136
+ <1100000>, <1100000>,
137
+ <1000000>, <1000000>,
138
+ <1000000>, <1000000>;
138139
139140 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
140
- <1200000>, <1200000>,
141
- <1200000>, <1200000>,
142
- <1200000>, <1200000>;
141
+ <1200000>, <1200000>,
142
+ <1200000>, <1200000>,
143
+ <1200000>, <1200000>;
143144
144
- clocks {
145
+ s5m8767_osc: clocks {
145146 compatible = "samsung,s5m8767-clk";
146147 #clock-cells = <1>;
147148 clock-output-names = "en32khz_ap",
148
- "en32khz_cp",
149
- "en32khz_bt";
149
+ "en32khz_cp",
150
+ "en32khz_bt";
150151 };
151152
152153 regulators {
....@@ -456,7 +457,7 @@
456457 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
457458 };
458459
459
- dp_hpd_gpio: dp-hpd-gpio {
460
+ dp_hpd_gpio: dp-hpd {
460461 samsung,pins = "gpc3-0";
461462 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
462463 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
....@@ -522,6 +523,12 @@
522523 };
523524 };
524525
526
+&rtc {
527
+ status = "okay";
528
+ clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>;
529
+ clock-names = "rtc", "rtc_src";
530
+};
531
+
525532 &sd1_bus4 {
526533 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
527534 };