hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/exynos5420-smdk5420.dts
....@@ -1,6 +1,6 @@
11 // SPDX-License-Identifier: GPL-2.0
22 /*
3
- * SAMSUNG SMDK5420 board device tree source
3
+ * Samsung SMDK5420 board device tree source
44 *
55 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
66 * http://www.samsung.com
....@@ -9,10 +9,11 @@
99 /dts-v1/;
1010 #include "exynos5420.dtsi"
1111 #include "exynos5420-cpus.dtsi"
12
+#include <dt-bindings/clock/samsung,s2mps11.h>
1213 #include <dt-bindings/gpio/gpio.h>
1314
1415 / {
15
- model = "Samsung SMDK5420 board based on EXYNOS5420";
16
+ model = "Samsung SMDK5420 board based on Exynos5420";
1617 compatible = "samsung,smdk5420", "samsung,exynos5420", "samsung,exynos5";
1718
1819 memory@20000000 {
....@@ -21,7 +22,8 @@
2122 };
2223
2324 chosen {
24
- bootargs = "console=ttySAC2,115200 init=/linuxrc";
25
+ bootargs = "init=/linuxrc";
26
+ stdout-path = "serial2:115200n8";
2527 };
2628
2729 fixed-rate-clocks {
....@@ -31,40 +33,31 @@
3133 };
3234 };
3335
34
- regulators {
35
- compatible = "simple-bus";
36
- #address-cells = <1>;
37
- #size-cells = <0>;
38
-
39
- vdd: fixed-regulator@0 {
40
- compatible = "regulator-fixed";
41
- reg = <0>;
42
- regulator-name = "vdd-supply";
43
- regulator-min-microvolt = <1800000>;
44
- regulator-max-microvolt = <1800000>;
45
- regulator-always-on;
46
- };
47
-
48
- dbvdd: fixed-regulator@1 {
49
- compatible = "regulator-fixed";
50
- reg = <1>;
51
- regulator-name = "dbvdd-supply";
52
- regulator-min-microvolt = <3300000>;
53
- regulator-max-microvolt = <3300000>;
54
- regulator-always-on;
55
- };
56
-
57
- spkvdd: fixed-regulator@2 {
58
- compatible = "regulator-fixed";
59
- reg = <2>;
60
- regulator-name = "spkvdd-supply";
61
- regulator-min-microvolt = <5000000>;
62
- regulator-max-microvolt = <5000000>;
63
- regulator-always-on;
64
- };
36
+ vdd: regulator-0 {
37
+ compatible = "regulator-fixed";
38
+ regulator-name = "vdd-supply";
39
+ regulator-min-microvolt = <1800000>;
40
+ regulator-max-microvolt = <1800000>;
41
+ regulator-always-on;
6542 };
6643
67
- usb300_vbus_reg: regulator-usb300 {
44
+ dbvdd: regulator-1 {
45
+ compatible = "regulator-fixed";
46
+ regulator-name = "dbvdd-supply";
47
+ regulator-min-microvolt = <3300000>;
48
+ regulator-max-microvolt = <3300000>;
49
+ regulator-always-on;
50
+ };
51
+
52
+ spkvdd: regulator-2 {
53
+ compatible = "regulator-fixed";
54
+ regulator-name = "spkvdd-supply";
55
+ regulator-min-microvolt = <5000000>;
56
+ regulator-max-microvolt = <5000000>;
57
+ regulator-always-on;
58
+ };
59
+
60
+ usb300_vbus_reg: regulator-3 {
6861 compatible = "regulator-fixed";
6962 regulator-name = "VBUS0";
7063 regulator-min-microvolt = <5000000>;
....@@ -75,7 +68,7 @@
7568 enable-active-high;
7669 };
7770
78
- usb301_vbus_reg: regulator-usb301 {
71
+ usb301_vbus_reg: regulator-4 {
7972 compatible = "regulator-fixed";
8073 regulator-name = "VBUS1";
8174 regulator-min-microvolt = <5000000>;
....@@ -131,6 +124,9 @@
131124 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
132125 pinctrl-names = "default";
133126 pinctrl-0 = <&hdmi_hpd_irq>;
127
+ vdd-supply = <&ldo6_reg>;
128
+ vdd_osc-supply = <&ldo7_reg>;
129
+ vdd_pll-supply = <&ldo6_reg>;
134130 };
135131
136132 &hsi2c_4 {
....@@ -141,6 +137,7 @@
141137 reg = <0x66>;
142138
143139 s2mps11_osc: clocks {
140
+ compatible = "samsung,s2mps11-clk";
144141 #clock-cells = <1>;
145142 clock-output-names = "s2mps11_ap",
146143 "s2mps11_cp", "s2mps11_bt";
....@@ -408,6 +405,8 @@
408405
409406 &rtc {
410407 status = "okay";
408
+ clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
409
+ clock-names = "rtc", "rtc_src";
411410 };
412411
413412 &usbdrd_phy0 {