| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
|---|
| 2 | 2 | /* |
|---|
| 3 | | - * SAMSUNG SMDK5420 board device tree source |
|---|
| 3 | + * Samsung SMDK5420 board device tree source |
|---|
| 4 | 4 | * |
|---|
| 5 | 5 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
|---|
| 6 | 6 | * http://www.samsung.com |
|---|
| .. | .. |
|---|
| 9 | 9 | /dts-v1/; |
|---|
| 10 | 10 | #include "exynos5420.dtsi" |
|---|
| 11 | 11 | #include "exynos5420-cpus.dtsi" |
|---|
| 12 | +#include <dt-bindings/clock/samsung,s2mps11.h> |
|---|
| 12 | 13 | #include <dt-bindings/gpio/gpio.h> |
|---|
| 13 | 14 | |
|---|
| 14 | 15 | / { |
|---|
| 15 | | - model = "Samsung SMDK5420 board based on EXYNOS5420"; |
|---|
| 16 | + model = "Samsung SMDK5420 board based on Exynos5420"; |
|---|
| 16 | 17 | compatible = "samsung,smdk5420", "samsung,exynos5420", "samsung,exynos5"; |
|---|
| 17 | 18 | |
|---|
| 18 | 19 | memory@20000000 { |
|---|
| .. | .. |
|---|
| 21 | 22 | }; |
|---|
| 22 | 23 | |
|---|
| 23 | 24 | chosen { |
|---|
| 24 | | - bootargs = "console=ttySAC2,115200 init=/linuxrc"; |
|---|
| 25 | + bootargs = "init=/linuxrc"; |
|---|
| 26 | + stdout-path = "serial2:115200n8"; |
|---|
| 25 | 27 | }; |
|---|
| 26 | 28 | |
|---|
| 27 | 29 | fixed-rate-clocks { |
|---|
| .. | .. |
|---|
| 31 | 33 | }; |
|---|
| 32 | 34 | }; |
|---|
| 33 | 35 | |
|---|
| 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; |
|---|
| 65 | 42 | }; |
|---|
| 66 | 43 | |
|---|
| 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 { |
|---|
| 68 | 61 | compatible = "regulator-fixed"; |
|---|
| 69 | 62 | regulator-name = "VBUS0"; |
|---|
| 70 | 63 | regulator-min-microvolt = <5000000>; |
|---|
| .. | .. |
|---|
| 75 | 68 | enable-active-high; |
|---|
| 76 | 69 | }; |
|---|
| 77 | 70 | |
|---|
| 78 | | - usb301_vbus_reg: regulator-usb301 { |
|---|
| 71 | + usb301_vbus_reg: regulator-4 { |
|---|
| 79 | 72 | compatible = "regulator-fixed"; |
|---|
| 80 | 73 | regulator-name = "VBUS1"; |
|---|
| 81 | 74 | regulator-min-microvolt = <5000000>; |
|---|
| .. | .. |
|---|
| 131 | 124 | hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; |
|---|
| 132 | 125 | pinctrl-names = "default"; |
|---|
| 133 | 126 | pinctrl-0 = <&hdmi_hpd_irq>; |
|---|
| 127 | + vdd-supply = <&ldo6_reg>; |
|---|
| 128 | + vdd_osc-supply = <&ldo7_reg>; |
|---|
| 129 | + vdd_pll-supply = <&ldo6_reg>; |
|---|
| 134 | 130 | }; |
|---|
| 135 | 131 | |
|---|
| 136 | 132 | &hsi2c_4 { |
|---|
| .. | .. |
|---|
| 141 | 137 | reg = <0x66>; |
|---|
| 142 | 138 | |
|---|
| 143 | 139 | s2mps11_osc: clocks { |
|---|
| 140 | + compatible = "samsung,s2mps11-clk"; |
|---|
| 144 | 141 | #clock-cells = <1>; |
|---|
| 145 | 142 | clock-output-names = "s2mps11_ap", |
|---|
| 146 | 143 | "s2mps11_cp", "s2mps11_bt"; |
|---|
| .. | .. |
|---|
| 408 | 405 | |
|---|
| 409 | 406 | &rtc { |
|---|
| 410 | 407 | status = "okay"; |
|---|
| 408 | + clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; |
|---|
| 409 | + clock-names = "rtc", "rtc_src"; |
|---|
| 411 | 410 | }; |
|---|
| 412 | 411 | |
|---|
| 413 | 412 | &usbdrd_phy0 { |
|---|