Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4210 based SMDKV310 board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * Copyright (c) 2010-2011 Linaro Ltd. |
| 7 | * www.linaro.org |
| 8 | * |
| 9 | * Device tree source file for Samsung's SMDKV310 board which is based on |
| 10 | * Samsung's Exynos4210 SoC. |
| 11 | * |
| 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License version 2 as |
| 14 | * published by the Free Software Foundation. |
| 15 | */ |
| 16 | |
| 17 | /dts-v1/; |
Padmavathi Venna | 3799279 | 2013-06-18 00:02:08 +0900 | [diff] [blame] | 18 | #include "exynos4210.dtsi" |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 19 | |
| 20 | / { |
| 21 | model = "Samsung smdkv310 evaluation board based on Exynos4210"; |
Sachin Kamat | 8bdb31b | 2014-03-21 02:17:22 +0900 | [diff] [blame] | 22 | compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 23 | |
| 24 | memory { |
| 25 | reg = <0x40000000 0x80000000>; |
| 26 | }; |
| 27 | |
| 28 | chosen { |
Kukjin Kim | 3c2bbf5 | 2012-11-28 13:25:15 +0900 | [diff] [blame] | 29 | bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | sdhci@12530000 { |
Thomas Abraham | 045c8f6 | 2013-04-04 14:07:04 +0900 | [diff] [blame] | 33 | bus-width = <4>; |
| 34 | pinctrl-names = "default"; |
| 35 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; |
Tomasz Figa | c9e23f0 | 2012-09-21 10:13:31 +0900 | [diff] [blame] | 36 | status = "okay"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 37 | }; |
| 38 | |
Sachin Kamat | fa79d02 | 2013-04-04 13:49:18 +0900 | [diff] [blame] | 39 | g2d@12800000 { |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
Sachin Kamat | 38640d4 | 2013-02-08 13:58:20 -0800 | [diff] [blame] | 43 | codec@13400000 { |
| 44 | samsung,mfc-r = <0x43000000 0x800000>; |
| 45 | samsung,mfc-l = <0x51000000 0x800000>; |
| 46 | status = "okay"; |
| 47 | }; |
| 48 | |
Tomasz Figa | 70191db | 2012-10-17 18:13:24 +0900 | [diff] [blame] | 49 | serial@13800000 { |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | serial@13810000 { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | serial@13820000 { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | serial@13830000 { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
Thomas Abraham | 045c8f6 | 2013-04-04 14:07:04 +0900 | [diff] [blame] | 65 | pinctrl@11000000 { |
| 66 | keypad_rows: keypad-rows { |
| 67 | samsung,pins = "gpx2-0", "gpx2-1"; |
| 68 | samsung,pin-function = <3>; |
| 69 | samsung,pin-pud = <3>; |
| 70 | samsung,pin-drv = <0>; |
| 71 | }; |
| 72 | |
| 73 | keypad_cols: keypad-cols { |
| 74 | samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", |
| 75 | "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; |
| 76 | samsung,pin-function = <3>; |
| 77 | samsung,pin-pud = <0>; |
| 78 | samsung,pin-drv = <0>; |
| 79 | }; |
| 80 | }; |
| 81 | |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 82 | keypad@100A0000 { |
| 83 | samsung,keypad-num-rows = <2>; |
| 84 | samsung,keypad-num-columns = <8>; |
| 85 | linux,keypad-no-autorepeat; |
| 86 | linux,keypad-wakeup; |
Thomas Abraham | 045c8f6 | 2013-04-04 14:07:04 +0900 | [diff] [blame] | 87 | pinctrl-names = "default"; |
| 88 | pinctrl-0 = <&keypad_rows &keypad_cols>; |
Tomasz Figa | c9e23f0 | 2012-09-21 10:13:31 +0900 | [diff] [blame] | 89 | status = "okay"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 90 | |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 91 | key_1 { |
| 92 | keypad,row = <0>; |
| 93 | keypad,column = <3>; |
| 94 | linux,code = <2>; |
| 95 | }; |
| 96 | |
| 97 | key_2 { |
| 98 | keypad,row = <0>; |
| 99 | keypad,column = <4>; |
| 100 | linux,code = <3>; |
| 101 | }; |
| 102 | |
| 103 | key_3 { |
| 104 | keypad,row = <0>; |
| 105 | keypad,column = <5>; |
| 106 | linux,code = <4>; |
| 107 | }; |
| 108 | |
| 109 | key_4 { |
| 110 | keypad,row = <0>; |
| 111 | keypad,column = <6>; |
| 112 | linux,code = <5>; |
| 113 | }; |
| 114 | |
| 115 | key_5 { |
| 116 | keypad,row = <0>; |
| 117 | keypad,column = <7>; |
| 118 | linux,code = <6>; |
| 119 | }; |
| 120 | |
| 121 | key_a { |
| 122 | keypad,row = <1>; |
| 123 | keypad,column = <3>; |
| 124 | linux,code = <30>; |
| 125 | }; |
| 126 | |
| 127 | key_b { |
| 128 | keypad,row = <1>; |
| 129 | keypad,column = <4>; |
| 130 | linux,code = <48>; |
| 131 | }; |
| 132 | |
| 133 | key_c { |
| 134 | keypad,row = <1>; |
| 135 | keypad,column = <5>; |
| 136 | linux,code = <46>; |
| 137 | }; |
| 138 | |
| 139 | key_d { |
| 140 | keypad,row = <1>; |
| 141 | keypad,column = <6>; |
| 142 | linux,code = <32>; |
| 143 | }; |
| 144 | |
| 145 | key_e { |
| 146 | keypad,row = <1>; |
| 147 | keypad,column = <7>; |
| 148 | linux,code = <18>; |
| 149 | }; |
| 150 | }; |
| 151 | |
| 152 | i2c@13860000 { |
| 153 | #address-cells = <1>; |
| 154 | #size-cells = <0>; |
| 155 | samsung,i2c-sda-delay = <100>; |
Thomas Abraham | 045c8f6 | 2013-04-04 14:07:04 +0900 | [diff] [blame] | 156 | samsung,i2c-max-bus-freq = <100000>; |
Tomasz Figa | c9e23f0 | 2012-09-21 10:13:31 +0900 | [diff] [blame] | 157 | status = "okay"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 158 | |
| 159 | eeprom@50 { |
| 160 | compatible = "samsung,24ad0xd1"; |
| 161 | reg = <0x50>; |
| 162 | }; |
| 163 | |
| 164 | eeprom@52 { |
| 165 | compatible = "samsung,24ad0xd1"; |
| 166 | reg = <0x52>; |
| 167 | }; |
| 168 | }; |
| 169 | |
Thomas Abraham | 4980c39 | 2012-07-14 10:45:32 +0900 | [diff] [blame] | 170 | spi_2: spi@13940000 { |
Tomasz Figa | c9e23f0 | 2012-09-21 10:13:31 +0900 | [diff] [blame] | 171 | status = "okay"; |
Thomas Abraham | 4980c39 | 2012-07-14 10:45:32 +0900 | [diff] [blame] | 172 | |
| 173 | w25x80@0 { |
| 174 | #address-cells = <1>; |
| 175 | #size-cells = <1>; |
| 176 | compatible = "w25x80"; |
| 177 | reg = <0>; |
| 178 | spi-max-frequency = <1000000>; |
| 179 | |
| 180 | controller-data { |
Thomas Abraham | 045c8f6 | 2013-04-04 14:07:04 +0900 | [diff] [blame] | 181 | cs-gpio = <&gpc1 2 0>; |
Thomas Abraham | 4980c39 | 2012-07-14 10:45:32 +0900 | [diff] [blame] | 182 | samsung,spi-feedback-delay = <0>; |
| 183 | }; |
| 184 | |
| 185 | partition@0 { |
| 186 | label = "U-Boot"; |
| 187 | reg = <0x0 0x40000>; |
| 188 | read-only; |
| 189 | }; |
| 190 | |
| 191 | partition@40000 { |
| 192 | label = "Kernel"; |
| 193 | reg = <0x40000 0xc0000>; |
| 194 | }; |
| 195 | }; |
| 196 | }; |
Thomas Abraham | 8b6076d | 2013-03-09 17:19:22 +0900 | [diff] [blame] | 197 | |
| 198 | fixed-rate-clocks { |
| 199 | xxti { |
| 200 | compatible = "samsung,clock-xxti"; |
| 201 | clock-frequency = <12000000>; |
| 202 | }; |
| 203 | |
| 204 | xusbxti { |
| 205 | compatible = "samsung,clock-xusbxti"; |
| 206 | clock-frequency = <24000000>; |
| 207 | }; |
| 208 | }; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 209 | }; |