Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 1 | /* |
| 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 Fedin | a090435 | 2015-11-16 10:43:05 +0300 | [diff] [blame] | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 15 | / { |
| 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 Chung | aaa25a5 | 2014-08-18 11:55:32 -0500 | [diff] [blame] | 44 | cap-mmc-highspeed; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 45 | 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 Chung | aaa25a5 | 2014-08-18 11:55:32 -0500 | [diff] [blame] | 50 | bus-width = <8>; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 51 | }; |
| 52 | |
| 53 | &mmc_2 { |
| 54 | status = "okay"; |
| 55 | num-slots = <1>; |
Jaehoon Chung | aaa25a5 | 2014-08-18 11:55:32 -0500 | [diff] [blame] | 56 | cap-sd-highspeed; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 57 | 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 Chung | aaa25a5 | 2014-08-18 11:55:32 -0500 | [diff] [blame] | 61 | bus-width = <4>; |
| 62 | disable-wp; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 63 | }; |
| 64 | |
Pavel Fedin | a090435 | 2015-11-16 10:43:05 +0300 | [diff] [blame] | 65 | &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 Kozlowski | 17dcc16 | 2016-09-04 13:04:13 +0200 | [diff] [blame^] | 69 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
| 70 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; |
Pavel Fedin | a090435 | 2015-11-16 10:43:05 +0300 | [diff] [blame] | 71 | }; |
| 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 Kozlowski | 17dcc16 | 2016-09-04 13:04:13 +0200 | [diff] [blame^] | 80 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
| 81 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
| 82 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; |
Pavel Fedin | a090435 | 2015-11-16 10:43:05 +0300 | [diff] [blame] | 83 | }; |
| 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 Dubey | 4d7820b | 2016-04-11 13:12:28 +0530 | [diff] [blame] | 100 | samsung,srom-page-mode; |
Pavel Fedin | a090435 | 2015-11-16 10:43:05 +0300 | [diff] [blame] | 101 | samsung,srom-timing = <9 12 1 9 1 1>; |
| 102 | }; |
| 103 | }; |
| 104 | |
Krzysztof Kozlowski | 88ad58b | 2016-05-03 14:53:22 +0200 | [diff] [blame] | 105 | &serial_0 { |
Andreas Faerber | 2728412 | 2015-03-15 23:00:30 +0100 | [diff] [blame] | 106 | status = "okay"; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 107 | }; |
| 108 | |
Krzysztof Kozlowski | 88ad58b | 2016-05-03 14:53:22 +0200 | [diff] [blame] | 109 | &serial_1 { |
Andreas Faerber | 2728412 | 2015-03-15 23:00:30 +0100 | [diff] [blame] | 110 | status = "okay"; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 111 | }; |
| 112 | |
Krzysztof Kozlowski | 88ad58b | 2016-05-03 14:53:22 +0200 | [diff] [blame] | 113 | &serial_2 { |
Andreas Faerber | 2728412 | 2015-03-15 23:00:30 +0100 | [diff] [blame] | 114 | status = "okay"; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 115 | }; |