xref: /linux/arch/arm/boot/dts/samsung/exynos5410-smdk5410.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Samsung SMDK5410 board device tree source
4 *
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 *		http://www.samsung.com
7 */
8
9/dts-v1/;
10#include "exynos5410.dtsi"
11#include <dt-bindings/interrupt-controller/irq.h>
12/ {
13	model = "Samsung SMDK5410 board based on Exynos5410";
14	compatible = "samsung,smdk5410", "samsung,exynos5410", "samsung,exynos5";
15
16	memory@40000000 {
17		device_type = "memory";
18		reg = <0x40000000 0x80000000>;
19	};
20
21	aliases {
22		mmc0 = &mmc_0;
23		mmc1 = &mmc_2;
24	};
25
26	chosen {
27		stdout-path = "serial2:115200n8";
28	};
29
30	fin_pll: xxti {
31		compatible = "fixed-clock";
32		clock-frequency = <24000000>;
33		clock-output-names = "fin_pll";
34		#clock-cells = <0>;
35	};
36
37	pmic_ap_clk: pmic-ap-clk {
38		/* Workaround for missing PMIC and its clock */
39		compatible = "fixed-clock";
40		#clock-cells = <0>;
41		clock-frequency = <32768>;
42	};
43
44	firmware@2037000 {
45		compatible = "samsung,secure-firmware";
46		reg = <0x02037000 0x1000>;
47	};
48
49	vdd10_usb3: voltage-regulator-0 {
50		compatible = "regulator-fixed";
51		regulator-name = "VDD10_USB3";
52		regulator-min-microvolt = <1000000>;
53		regulator-max-microvolt = <1000000>;
54	};
55
56	vdd33_usb3: voltage-regulator-0 {
57		compatible = "regulator-fixed";
58		regulator-name = "VDD33_USB3";
59		regulator-min-microvolt = <3300000>;
60		regulator-max-microvolt = <3300000>;
61	};
62};
63
64&mmc_0 {
65	status = "okay";
66	cap-mmc-highspeed;
67	broken-cd;
68	card-detect-delay = <200>;
69	mmc-ddr-1_8v;
70	samsung,dw-mshc-ciu-div = <3>;
71	samsung,dw-mshc-sdr-timing = <2 3>;
72	samsung,dw-mshc-ddr-timing = <1 2>;
73	bus-width = <8>;
74};
75
76&mmc_2 {
77	status = "okay";
78	cap-sd-highspeed;
79	card-detect-delay = <200>;
80	samsung,dw-mshc-ciu-div = <3>;
81	samsung,dw-mshc-sdr-timing = <2 3>;
82	samsung,dw-mshc-ddr-timing = <1 2>;
83	bus-width = <4>;
84	disable-wp;
85};
86
87&pinctrl_0 {
88	srom_ctl: srom-ctl-pins {
89		samsung,pins = "gpy0-3", "gpy0-4", "gpy0-5",
90			       "gpy1-0", "gpy1-1", "gpy1-2", "gpy1-3";
91		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
92		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
93	};
94
95	srom_ebi: srom-ebi-pins {
96		samsung,pins = "gpy3-0", "gpy3-1", "gpy3-2", "gpy3-3",
97			       "gpy3-4", "gpy3-5", "gpy3-6", "gpy3-7",
98			       "gpy5-0", "gpy5-1", "gpy5-2", "gpy5-3",
99			       "gpy5-4", "gpy5-5", "gpy5-6", "gpy5-7",
100			       "gpy6-0", "gpy6-1", "gpy6-2", "gpy6-3",
101			       "gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7";
102		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
103		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
104		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
105	};
106};
107
108&rtc {
109	clocks = <&clock CLK_RTC>, <&pmic_ap_clk>;
110	clock-names = "rtc", "rtc_src";
111};
112
113&sromc {
114	pinctrl-names = "default";
115	pinctrl-0 = <&srom_ctl>, <&srom_ebi>;
116
117	ethernet@3,0 {
118		compatible = "smsc,lan9115";
119		reg = <3 0 0x10000>;
120		phy-mode = "mii";
121		interrupt-parent = <&gpx0>;
122		interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
123		reg-io-width = <2>;
124		smsc,irq-push-pull;
125		smsc,force-internal-phy;
126
127		samsung,srom-page-mode;
128		samsung,srom-timing = <9 12 1 9 1 1>;
129	};
130};
131
132&serial_0 {
133	status = "okay";
134};
135
136&serial_1 {
137	status = "okay";
138};
139
140&serial_2 {
141	status = "okay";
142};
143
144&usbdrd3_0 {
145	vdd10-supply = <&vdd10_usb3>;
146	vdd33-supply = <&vdd33_usb3>;
147};
148
149&usbdrd3_1 {
150	vdd10-supply = <&vdd10_usb3>;
151	vdd33-supply = <&vdd33_usb3>;
152};
153