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/; 18#include "exynos4210.dtsi"
| 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/; 18#include "exynos4210.dtsi"
|
| 19#include <dt-bindings/gpio/gpio.h>
|
19 20/ { 21 model = "Samsung smdkv310 evaluation board based on Exynos4210"; 22 compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4"; 23 24 memory { 25 reg = <0x40000000 0x80000000>; 26 }; 27 28 chosen { 29 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; 30 stdout-path = &serial_1; 31 }; 32
| 20 21/ { 22 model = "Samsung smdkv310 evaluation board based on Exynos4210"; 23 compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4"; 24 25 memory { 26 reg = <0x40000000 0x80000000>; 27 }; 28 29 chosen { 30 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; 31 stdout-path = &serial_1; 32 }; 33
|
33 sdhci@12530000 { 34 bus-width = <4>; 35 pinctrl-names = "default"; 36 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; 37 status = "okay";
| 34 fixed-rate-clocks { 35 xxti { 36 compatible = "samsung,clock-xxti"; 37 clock-frequency = <12000000>; 38 }; 39 40 xusbxti { 41 compatible = "samsung,clock-xusbxti"; 42 clock-frequency = <24000000>; 43 };
|
38 };
| 44 };
|
| 45};
|
39
| 46
|
40 g2d@12800000 { 41 status = "okay";
| 47&i2c_0 { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 samsung,i2c-sda-delay = <100>; 51 samsung,i2c-max-bus-freq = <100000>; 52 status = "okay"; 53 54 eeprom@50 { 55 compatible = "samsung,24ad0xd1"; 56 reg = <0x50>;
|
42 }; 43
| 57 }; 58
|
44 codec@13400000 { 45 samsung,mfc-r = <0x43000000 0x800000>; 46 samsung,mfc-l = <0x51000000 0x800000>; 47 status = "okay";
| 59 eeprom@52 { 60 compatible = "samsung,24ad0xd1"; 61 reg = <0x52>;
|
48 };
| 62 };
|
| 63};
|
49
| 64
|
50 serial@13800000 { 51 status = "okay";
| 65&keypad { 66 samsung,keypad-num-rows = <2>; 67 samsung,keypad-num-columns = <8>; 68 linux,keypad-no-autorepeat; 69 linux,keypad-wakeup; 70 pinctrl-names = "default"; 71 pinctrl-0 = <&keypad_rows &keypad_cols>; 72 status = "okay"; 73 74 key_1 { 75 keypad,row = <0>; 76 keypad,column = <3>; 77 linux,code = <2>;
|
52 }; 53
| 78 }; 79
|
54 serial@13810000 { 55 status = "okay";
| 80 key_2 { 81 keypad,row = <0>; 82 keypad,column = <4>; 83 linux,code = <3>;
|
56 }; 57
| 84 }; 85
|
58 serial@13820000 { 59 status = "okay";
| 86 key_3 { 87 keypad,row = <0>; 88 keypad,column = <5>; 89 linux,code = <4>;
|
60 }; 61
| 90 }; 91
|
62 serial@13830000 { 63 status = "okay";
| 92 key_4 { 93 keypad,row = <0>; 94 keypad,column = <6>; 95 linux,code = <5>;
|
64 }; 65
| 96 }; 97
|
66 pinctrl@11000000 { 67 keypad_rows: keypad-rows { 68 samsung,pins = "gpx2-0", "gpx2-1"; 69 samsung,pin-function = <3>; 70 samsung,pin-pud = <3>; 71 samsung,pin-drv = <0>; 72 };
| 98 key_5 { 99 keypad,row = <0>; 100 keypad,column = <7>; 101 linux,code = <6>; 102 };
|
73
| 103
|
74 keypad_cols: keypad-cols { 75 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", 76 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; 77 samsung,pin-function = <3>; 78 samsung,pin-pud = <0>; 79 samsung,pin-drv = <0>; 80 };
| 104 key_a { 105 keypad,row = <1>; 106 keypad,column = <3>; 107 linux,code = <30>;
|
81 }; 82
| 108 }; 109
|
83 keypad@100A0000 { 84 samsung,keypad-num-rows = <2>; 85 samsung,keypad-num-columns = <8>; 86 linux,keypad-no-autorepeat; 87 linux,keypad-wakeup; 88 pinctrl-names = "default"; 89 pinctrl-0 = <&keypad_rows &keypad_cols>; 90 status = "okay";
| 110 key_b { 111 keypad,row = <1>; 112 keypad,column = <4>; 113 linux,code = <48>; 114 };
|
91
| 115
|
92 key_1 { 93 keypad,row = <0>; 94 keypad,column = <3>; 95 linux,code = <2>; 96 };
| 116 key_c { 117 keypad,row = <1>; 118 keypad,column = <5>; 119 linux,code = <46>; 120 };
|
97
| 121
|
98 key_2 { 99 keypad,row = <0>; 100 keypad,column = <4>; 101 linux,code = <3>; 102 };
| 122 key_d { 123 keypad,row = <1>; 124 keypad,column = <6>; 125 linux,code = <32>; 126 };
|
103
| 127
|
104 key_3 { 105 keypad,row = <0>; 106 keypad,column = <5>; 107 linux,code = <4>; 108 };
| 128 key_e { 129 keypad,row = <1>; 130 keypad,column = <7>; 131 linux,code = <18>; 132 }; 133};
|
109
| 134
|
110 key_4 { 111 keypad,row = <0>; 112 keypad,column = <6>; 113 linux,code = <5>; 114 };
| 135&mfc { 136 samsung,mfc-r = <0x43000000 0x800000>; 137 samsung,mfc-l = <0x51000000 0x800000>; 138 status = "okay"; 139};
|
115
| 140
|
116 key_5 { 117 keypad,row = <0>; 118 keypad,column = <7>; 119 linux,code = <6>; 120 };
| 141&pinctrl_1 { 142 keypad_rows: keypad-rows { 143 samsung,pins = "gpx2-0", "gpx2-1"; 144 samsung,pin-function = <3>; 145 samsung,pin-pud = <3>; 146 samsung,pin-drv = <0>; 147 };
|
121
| 148
|
122 key_a { 123 keypad,row = <1>; 124 keypad,column = <3>; 125 linux,code = <30>; 126 }; 127 128 key_b { 129 keypad,row = <1>; 130 keypad,column = <4>; 131 linux,code = <48>; 132 }; 133 134 key_c { 135 keypad,row = <1>; 136 keypad,column = <5>; 137 linux,code = <46>; 138 }; 139 140 key_d { 141 keypad,row = <1>; 142 keypad,column = <6>; 143 linux,code = <32>; 144 }; 145 146 key_e { 147 keypad,row = <1>; 148 keypad,column = <7>; 149 linux,code = <18>; 150 };
| 149 keypad_cols: keypad-cols { 150 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", 151 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; 152 samsung,pin-function = <3>; 153 samsung,pin-pud = <0>; 154 samsung,pin-drv = <0>;
|
151 };
| 155 };
|
| 156};
|
152
| 157
|
153 i2c@13860000 { 154 #address-cells = <1>; 155 #size-cells = <0>; 156 samsung,i2c-sda-delay = <100>; 157 samsung,i2c-max-bus-freq = <100000>; 158 status = "okay";
| 158&sdhci_2 { 159 bus-width = <4>; 160 pinctrl-names = "default"; 161 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; 162 status = "okay"; 163};
|
159
| 164
|
160 eeprom@50 { 161 compatible = "samsung,24ad0xd1"; 162 reg = <0x50>; 163 };
| 165&serial_0 { 166 status = "okay"; 167};
|
164
| 168
|
165 eeprom@52 { 166 compatible = "samsung,24ad0xd1"; 167 reg = <0x52>; 168 }; 169 };
| 169&serial_1 { 170 status = "okay"; 171};
|
170
| 172
|
171 spi_2: spi@13940000 { 172 cs-gpios = <&gpc1 2 0>; 173 status = "okay";
| 173&serial_2 { 174 status = "okay"; 175};
|
174
| 176
|
175 w25x80@0 { 176 #address-cells = <1>; 177 #size-cells = <1>; 178 compatible = "w25x80"; 179 reg = <0>; 180 spi-max-frequency = <1000000>;
| 177&serial_3 { 178 status = "okay"; 179};
|
181
| 180
|
182 controller-data { 183 samsung,spi-feedback-delay = <0>; 184 };
| 181&spi_2 { 182 cs-gpios = <&gpc1 2 GPIO_ACTIVE_HIGH>; 183 status = "okay";
|
185
| 184
|
186 partition@0 { 187 label = "U-Boot"; 188 reg = <0x0 0x40000>; 189 read-only; 190 };
| 185 w25x80@0 { 186 #address-cells = <1>; 187 #size-cells = <1>; 188 compatible = "w25x80"; 189 reg = <0>; 190 spi-max-frequency = <1000000>;
|
191
| 191
|
192 partition@40000 { 193 label = "Kernel"; 194 reg = <0x40000 0xc0000>; 195 };
| 192 controller-data { 193 samsung,spi-feedback-delay = <0>;
|
196 };
| 194 };
|
197 };
| |
198
| 195
|
199 fixed-rate-clocks { 200 xxti { 201 compatible = "samsung,clock-xxti"; 202 clock-frequency = <12000000>;
| 196 partition@0 { 197 label = "U-Boot"; 198 reg = <0x0 0x40000>; 199 read-only;
|
203 }; 204
| 200 }; 201
|
205 xusbxti { 206 compatible = "samsung,clock-xusbxti"; 207 clock-frequency = <24000000>;
| 202 partition@40000 { 203 label = "Kernel"; 204 reg = <0x40000 0xc0000>;
|
208 }; 209 }; 210};
| 205 }; 206 }; 207};
|