blob: 7a67bc02291df2ae46594ccf6c0733e50e204706 [file] [log] [blame]
Tarek Dakhran107e6aa2014-05-27 06:54:13 +09001/*
2 * SAMSUNG SMDK5410 board device tree source
3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/
11
12/dts-v1/;
13#include "exynos5410.dtsi"
Pavel Fedina0904352015-11-16 10:43:05 +030014#include <dt-bindings/interrupt-controller/irq.h>
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090015/ {
16 model = "Samsung SMDK5410 board based on EXYNOS5410";
17 compatible = "samsung,smdk5410", "samsung,exynos5410", "samsung,exynos5";
18
19 memory {
20 reg = <0x40000000 0x80000000>;
21 };
22
23 chosen {
24 bootargs = "console=ttySAC2,115200";
25 };
26
27 fin_pll: xxti {
28 compatible = "fixed-clock";
29 clock-frequency = <24000000>;
30 clock-output-names = "fin_pll";
31 #clock-cells = <0>;
32 };
33
34 firmware@02037000 {
35 compatible = "samsung,secure-firmware";
36 reg = <0x02037000 0x1000>;
37 };
38
39};
40
41&mmc_0 {
42 status = "okay";
43 num-slots = <1>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -050044 cap-mmc-highspeed;
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090045 broken-cd;
46 card-detect-delay = <200>;
47 samsung,dw-mshc-ciu-div = <3>;
48 samsung,dw-mshc-sdr-timing = <2 3>;
49 samsung,dw-mshc-ddr-timing = <1 2>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -050050 bus-width = <8>;
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090051};
52
53&mmc_2 {
54 status = "okay";
55 num-slots = <1>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -050056 cap-sd-highspeed;
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090057 card-detect-delay = <200>;
58 samsung,dw-mshc-ciu-div = <3>;
59 samsung,dw-mshc-sdr-timing = <2 3>;
60 samsung,dw-mshc-ddr-timing = <1 2>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -050061 bus-width = <4>;
62 disable-wp;
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090063};
64
Pavel Fedina0904352015-11-16 10:43:05 +030065&pinctrl_0 {
66 srom_ctl: srom-ctl {
67 samsung,pins = "gpy0-3", "gpy0-4", "gpy0-5",
68 "gpy1-0", "gpy1-1", "gpy1-2", "gpy1-3";
Krzysztof Kozlowski17dcc162016-09-04 13:04:13 +020069 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
70 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Pavel Fedina0904352015-11-16 10:43:05 +030071 };
72
73 srom_ebi: srom-ebi {
74 samsung,pins = "gpy3-0", "gpy3-1", "gpy3-2", "gpy3-3",
75 "gpy3-4", "gpy3-5", "gpy3-6", "gpy3-7",
76 "gpy5-0", "gpy5-1", "gpy5-2", "gpy5-3",
77 "gpy5-4", "gpy5-5", "gpy5-6", "gpy5-7",
78 "gpy6-0", "gpy6-1", "gpy6-2", "gpy6-3",
79 "gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7";
Krzysztof Kozlowski17dcc162016-09-04 13:04:13 +020080 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
81 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
82 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Pavel Fedina0904352015-11-16 10:43:05 +030083 };
84};
85
86&sromc {
87 pinctrl-names = "default";
88 pinctrl-0 = <&srom_ctl>, <&srom_ebi>;
89
90 ethernet@3,0 {
91 compatible = "smsc,lan9115";
92 reg = <3 0 0x10000>;
93 phy-mode = "mii";
94 interrupt-parent = <&gpx0>;
95 interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
96 reg-io-width = <2>;
97 smsc,irq-push-pull;
98 smsc,force-internal-phy;
99
Pankaj Dubey4d7820b2016-04-11 13:12:28 +0530100 samsung,srom-page-mode;
Pavel Fedina0904352015-11-16 10:43:05 +0300101 samsung,srom-timing = <9 12 1 9 1 1>;
102 };
103};
104
Krzysztof Kozlowski88ad58b2016-05-03 14:53:22 +0200105&serial_0 {
Andreas Faerber27284122015-03-15 23:00:30 +0100106 status = "okay";
Tarek Dakhran107e6aa2014-05-27 06:54:13 +0900107};
108
Krzysztof Kozlowski88ad58b2016-05-03 14:53:22 +0200109&serial_1 {
Andreas Faerber27284122015-03-15 23:00:30 +0100110 status = "okay";
Tarek Dakhran107e6aa2014-05-27 06:54:13 +0900111};
112
Krzysztof Kozlowski88ad58b2016-05-03 14:53:22 +0200113&serial_2 {
Andreas Faerber27284122015-03-15 23:00:30 +0100114 status = "okay";
Tarek Dakhran107e6aa2014-05-27 06:54:13 +0900115};