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/; 16#include "exynos4412.dtsi" 17 18/ { 19 model = "Samsung SMDK evaluation board based on Exynos4412"; 20 compatible = "samsung,smdk4412", "samsung,exynos4412", "samsung,exynos4"; 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 stdout-path = &serial_1; 29 }; 30
| 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/; 16#include "exynos4412.dtsi" 17 18/ { 19 model = "Samsung SMDK evaluation board based on Exynos4412"; 20 compatible = "samsung,smdk4412", "samsung,exynos4412", "samsung,exynos4"; 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 stdout-path = &serial_1; 29 }; 30
|
31 g2d@10800000 { 32 status = "okay"; 33 }; 34 35 pinctrl@11000000 { 36 keypad_rows: keypad-rows { 37 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; 38 samsung,pin-function = <3>; 39 samsung,pin-pud = <3>; 40 samsung,pin-drv = <0>;
| 31 fixed-rate-clocks { 32 xxti { 33 compatible = "samsung,clock-xxti"; 34 clock-frequency = <0>;
|
41 }; 42
| 35 }; 36
|
43 keypad_cols: keypad-cols { 44 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", 45 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; 46 samsung,pin-function = <3>; 47 samsung,pin-pud = <0>; 48 samsung,pin-drv = <0>;
| 37 xusbxti { 38 compatible = "samsung,clock-xusbxti"; 39 clock-frequency = <24000000>;
|
49 }; 50 };
| 40 }; 41 };
|
| 42};
|
51
| 43
|
52 keypad@100A0000 { 53 samsung,keypad-num-rows = <3>; 54 samsung,keypad-num-columns = <8>; 55 linux,keypad-no-autorepeat; 56 linux,keypad-wakeup; 57 pinctrl-0 = <&keypad_rows &keypad_cols>; 58 pinctrl-names = "default"; 59 status = "okay";
| 44&keypad { 45 samsung,keypad-num-rows = <3>; 46 samsung,keypad-num-columns = <8>; 47 linux,keypad-no-autorepeat; 48 linux,keypad-wakeup; 49 pinctrl-0 = <&keypad_rows &keypad_cols>; 50 pinctrl-names = "default"; 51 status = "okay";
|
60
| 52
|
61 key_1 { 62 keypad,row = <1>; 63 keypad,column = <3>; 64 linux,code = <2>; 65 };
| 53 key_1 { 54 keypad,row = <1>; 55 keypad,column = <3>; 56 linux,code = <2>; 57 };
|
66
| 58
|
67 key_2 { 68 keypad,row = <1>; 69 keypad,column = <4>; 70 linux,code = <3>; 71 };
| 59 key_2 { 60 keypad,row = <1>; 61 keypad,column = <4>; 62 linux,code = <3>; 63 };
|
72
| 64
|
73 key_3 { 74 keypad,row = <1>; 75 keypad,column = <5>; 76 linux,code = <4>; 77 };
| 65 key_3 { 66 keypad,row = <1>; 67 keypad,column = <5>; 68 linux,code = <4>; 69 };
|
78
| 70
|
79 key_4 { 80 keypad,row = <1>; 81 keypad,column = <6>; 82 linux,code = <5>; 83 };
| 71 key_4 { 72 keypad,row = <1>; 73 keypad,column = <6>; 74 linux,code = <5>; 75 };
|
84
| 76
|
85 key_5 { 86 keypad,row = <1>; 87 keypad,column = <7>; 88 linux,code = <6>; 89 };
| 77 key_5 { 78 keypad,row = <1>; 79 keypad,column = <7>; 80 linux,code = <6>; 81 };
|
90
| 82
|
91 key_A { 92 keypad,row = <2>; 93 keypad,column = <6>; 94 linux,code = <30>; 95 }; 96 97 key_B { 98 keypad,row = <2>; 99 keypad,column = <7>; 100 linux,code = <48>; 101 }; 102 103 key_C { 104 keypad,row = <0>; 105 keypad,column = <5>; 106 linux,code = <46>; 107 }; 108 109 key_D { 110 keypad,row = <2>; 111 keypad,column = <5>; 112 linux,code = <32>; 113 }; 114 115 key_E { 116 keypad,row = <0>; 117 keypad,column = <7>; 118 linux,code = <18>; 119 };
| 83 key_A { 84 keypad,row = <2>; 85 keypad,column = <6>; 86 linux,code = <30>;
|
120 }; 121
| 87 }; 88
|
122 sdhci@12530000 { 123 bus-width = <4>; 124 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; 125 pinctrl-names = "default"; 126 status = "okay";
| 89 key_B { 90 keypad,row = <2>; 91 keypad,column = <7>; 92 linux,code = <48>;
|
127 }; 128
| 93 }; 94
|
129 codec@13400000 { 130 samsung,mfc-r = <0x43000000 0x800000>; 131 samsung,mfc-l = <0x51000000 0x800000>; 132 status = "okay";
| 95 key_C { 96 keypad,row = <0>; 97 keypad,column = <5>; 98 linux,code = <46>;
|
133 }; 134
| 99 }; 100
|
135 serial@13800000 { 136 status = "okay";
| 101 key_D { 102 keypad,row = <2>; 103 keypad,column = <5>; 104 linux,code = <32>;
|
137 }; 138
| 105 }; 106
|
139 serial@13810000 { 140 status = "okay";
| 107 key_E { 108 keypad,row = <0>; 109 keypad,column = <7>; 110 linux,code = <18>;
|
141 };
| 111 };
|
| 112};
|
142
| 113
|
143 serial@13820000 { 144 status = "okay";
| 114&mfc { 115 samsung,mfc-r = <0x43000000 0x800000>; 116 samsung,mfc-l = <0x51000000 0x800000>; 117 status = "okay"; 118}; 119 120&pinctrl_1 { 121 keypad_rows: keypad-rows { 122 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; 123 samsung,pin-function = <3>; 124 samsung,pin-pud = <3>; 125 samsung,pin-drv = <0>;
|
145 }; 146
| 126 }; 127
|
147 serial@13830000 { 148 status = "okay";
| 128 keypad_cols: keypad-cols { 129 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", 130 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; 131 samsung,pin-function = <3>; 132 samsung,pin-pud = <0>; 133 samsung,pin-drv = <0>;
|
149 };
| 134 };
|
| 135};
|
150
| 136
|
151 fixed-rate-clocks { 152 xxti { 153 compatible = "samsung,clock-xxti"; 154 clock-frequency = <0>; 155 };
| 137&sdhci_2 { 138 bus-width = <4>; 139 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; 140 pinctrl-names = "default"; 141 status = "okay"; 142};
|
156
| 143
|
157 xusbxti { 158 compatible = "samsung,clock-xusbxti"; 159 clock-frequency = <24000000>; 160 }; 161 };
| 144&serial_0 { 145 status = "okay";
|
162};
| 146};
|
| 147 148&serial_1 { 149 status = "okay"; 150}; 151 152&serial_2 { 153 status = "okay"; 154}; 155 156&serial_3 { 157 status = "okay"; 158};
|
| |