Thomas Abraham | 86666ad | 2012-11-07 08:17:43 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4412 based SMDK board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * Device tree source file for Samsung's SMDK4412 board which is based on |
| 8 | * Samsung's Exynos4412 SoC. |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License version 2 as |
| 12 | * published by the Free Software Foundation. |
| 13 | */ |
| 14 | |
| 15 | /dts-v1/; |
Padmavathi Venna | 3799279 | 2013-06-18 00:02:08 +0900 | [diff] [blame^] | 16 | #include "exynos4412.dtsi" |
Thomas Abraham | 86666ad | 2012-11-07 08:17:43 +0900 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | model = "Samsung SMDK evaluation board based on Exynos4412"; |
| 20 | compatible = "samsung,smdk4412", "samsung,exynos4412"; |
| 21 | |
| 22 | memory { |
| 23 | reg = <0x40000000 0x40000000>; |
| 24 | }; |
| 25 | |
| 26 | chosen { |
| 27 | bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; |
| 28 | }; |
| 29 | |
Sachin Kamat | 6344121 | 2013-04-04 13:51:13 +0900 | [diff] [blame] | 30 | g2d@10800000 { |
| 31 | status = "okay"; |
| 32 | }; |
| 33 | |
Sachin Kamat | c9b92dd | 2013-04-10 18:56:56 +0900 | [diff] [blame] | 34 | pinctrl@11000000 { |
| 35 | keypad_rows: keypad-rows { |
| 36 | samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; |
| 37 | samsung,pin-function = <3>; |
| 38 | samsung,pin-pud = <3>; |
| 39 | samsung,pin-drv = <0>; |
| 40 | }; |
| 41 | |
| 42 | keypad_cols: keypad-cols { |
| 43 | samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", |
| 44 | "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; |
| 45 | samsung,pin-function = <3>; |
| 46 | samsung,pin-pud = <0>; |
| 47 | samsung,pin-drv = <0>; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | keypad@100A0000 { |
| 52 | samsung,keypad-num-rows = <3>; |
| 53 | samsung,keypad-num-columns = <8>; |
| 54 | linux,keypad-no-autorepeat; |
| 55 | linux,keypad-wakeup; |
| 56 | pinctrl-0 = <&keypad_rows &keypad_cols>; |
| 57 | pinctrl-names = "default"; |
| 58 | status = "okay"; |
| 59 | |
| 60 | key_1 { |
| 61 | keypad,row = <1>; |
| 62 | keypad,column = <3>; |
| 63 | linux,code = <2>; |
| 64 | }; |
| 65 | |
| 66 | key_2 { |
| 67 | keypad,row = <1>; |
| 68 | keypad,column = <4>; |
| 69 | linux,code = <3>; |
| 70 | }; |
| 71 | |
| 72 | key_3 { |
| 73 | keypad,row = <1>; |
| 74 | keypad,column = <5>; |
| 75 | linux,code = <4>; |
| 76 | }; |
| 77 | |
| 78 | key_4 { |
| 79 | keypad,row = <1>; |
| 80 | keypad,column = <6>; |
| 81 | linux,code = <5>; |
| 82 | }; |
| 83 | |
| 84 | key_5 { |
| 85 | keypad,row = <1>; |
| 86 | keypad,column = <7>; |
| 87 | linux,code = <6>; |
| 88 | }; |
| 89 | |
| 90 | key_A { |
| 91 | keypad,row = <2>; |
| 92 | keypad,column = <6>; |
| 93 | linux,code = <30>; |
| 94 | }; |
| 95 | |
| 96 | key_B { |
| 97 | keypad,row = <2>; |
| 98 | keypad,column = <7>; |
| 99 | linux,code = <48>; |
| 100 | }; |
| 101 | |
| 102 | key_C { |
| 103 | keypad,row = <0>; |
| 104 | keypad,column = <5>; |
| 105 | linux,code = <46>; |
| 106 | }; |
| 107 | |
| 108 | key_D { |
| 109 | keypad,row = <2>; |
| 110 | keypad,column = <5>; |
| 111 | linux,code = <32>; |
| 112 | }; |
| 113 | |
| 114 | key_E { |
| 115 | keypad,row = <0>; |
| 116 | keypad,column = <7>; |
| 117 | linux,code = <18>; |
| 118 | }; |
| 119 | }; |
| 120 | |
Sachin Kamat | b914c31 | 2013-02-12 15:31:42 -0800 | [diff] [blame] | 121 | sdhci@12530000 { |
| 122 | bus-width = <4>; |
| 123 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; |
| 124 | pinctrl-names = "default"; |
| 125 | status = "okay"; |
| 126 | }; |
| 127 | |
Sachin Kamat | 32486d1 | 2013-02-08 13:59:16 -0800 | [diff] [blame] | 128 | codec@13400000 { |
| 129 | samsung,mfc-r = <0x43000000 0x800000>; |
| 130 | samsung,mfc-l = <0x51000000 0x800000>; |
| 131 | status = "okay"; |
| 132 | }; |
| 133 | |
Thomas Abraham | 86666ad | 2012-11-07 08:17:43 +0900 | [diff] [blame] | 134 | serial@13800000 { |
| 135 | status = "okay"; |
| 136 | }; |
| 137 | |
| 138 | serial@13810000 { |
| 139 | status = "okay"; |
| 140 | }; |
| 141 | |
| 142 | serial@13820000 { |
| 143 | status = "okay"; |
| 144 | }; |
| 145 | |
| 146 | serial@13830000 { |
| 147 | status = "okay"; |
| 148 | }; |
Thomas Abraham | 8b6076d | 2013-03-09 17:19:22 +0900 | [diff] [blame] | 149 | |
| 150 | fixed-rate-clocks { |
| 151 | xxti { |
| 152 | compatible = "samsung,clock-xxti"; |
| 153 | clock-frequency = <0>; |
| 154 | }; |
| 155 | |
| 156 | xusbxti { |
| 157 | compatible = "samsung,clock-xusbxti"; |
| 158 | clock-frequency = <24000000>; |
| 159 | }; |
| 160 | }; |
Thomas Abraham | 86666ad | 2012-11-07 08:17:43 +0900 | [diff] [blame] | 161 | }; |