hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/exynos5250-smdk5250.dts
....@@ -1,18 +1,19 @@
11 // SPDX-License-Identifier: GPL-2.0
22 /*
3
- * SAMSUNG SMDK5250 board device tree source
3
+ * Samsung SMDK5250 board device tree source
44 *
55 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
66 * http://www.samsung.com
77 */
88
99 /dts-v1/;
10
+#include <dt-bindings/clock/maxim,max77686.h>
1011 #include <dt-bindings/gpio/gpio.h>
1112 #include <dt-bindings/interrupt-controller/irq.h>
1213 #include "exynos5250.dtsi"
1314
1415 / {
15
- model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
16
+ model = "Samsung SMDK5250 board based on Exynos5250";
1617 compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5";
1718
1819 aliases {
....@@ -24,7 +25,8 @@
2425 };
2526
2627 chosen {
27
- bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
28
+ bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc";
29
+ stdout-path = "serial2:115200n8";
2830 };
2931
3032 vdd: fixed-regulator-vdd {
....@@ -116,6 +118,9 @@
116118 status = "okay";
117119 ddc = <&i2c_2>;
118120 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
121
+ vdd-supply = <&ldo8_reg>;
122
+ vdd_osc-supply = <&ldo10_reg>;
123
+ vdd_pll-supply = <&ldo8_reg>;
119124 };
120125
121126 &i2c_0 {
....@@ -124,17 +129,18 @@
124129 samsung,i2c-max-bus-freq = <20000>;
125130
126131 eeprom@50 {
127
- compatible = "samsung,s524ad0xd1";
132
+ compatible = "samsung,s524ad0xd1", "atmel,24c128";
128133 reg = <0x50>;
129134 };
130135
131
- max77686@9 {
136
+ max77686: pmic@9 {
132137 compatible = "maxim,max77686";
133138 reg = <0x09>;
134139 interrupt-parent = <&gpx3>;
135140 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
136141 pinctrl-names = "default";
137142 pinctrl-0 = <&max77686_irq>;
143
+ #clock-cells = <1>;
138144 wakeup-source;
139145
140146 voltage-regulators {
....@@ -283,7 +289,7 @@
283289 samsung,i2c-max-bus-freq = <20000>;
284290
285291 eeprom@51 {
286
- compatible = "samsung,s524ad0xd1";
292
+ compatible = "samsung,s524ad0xd1", "atmel,24c128";
287293 reg = <0x51>;
288294 };
289295
....@@ -323,12 +329,6 @@
323329 status = "okay";
324330 samsung,i2c-sda-delay = <100>;
325331 samsung,i2c-max-bus-freq = <40000>;
326
- samsung,i2c-slave-addr = <0x38>;
327
-
328
- sata_phy_i2c: sata-phy@38 {
329
- compatible = "samsung,exynos-sataphy-i2c";
330
- reg = <0x38>;
331
- };
332332 };
333333
334334 &i2s0 {
....@@ -367,6 +367,8 @@
367367
368368 &rtc {
369369 status = "okay";
370
+ clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
371
+ clock-names = "rtc", "rtc_src";
370372 };
371373
372374 &sata {
....@@ -378,6 +380,10 @@
378380 samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
379381 };
380382
383
+&sata_phy_i2c {
384
+ status = "okay";
385
+};
386
+
381387 &spi_1 {
382388 status = "okay";
383389 cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>;