~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/samsung/exynos4210-smdkv310.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Samsung's Exynos4210 based SMDKV310 board device tree source
  4  *
  5  * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
  6  *              http://www.samsung.com
  7  * Copyright (c) 2010-2011 Linaro Ltd.
  8  *              www.linaro.org
  9  *
 10  * Device tree source file for Samsung's SMDKV310 board which is based on
 11  * Samsung's Exynos4210 SoC.
 12  */
 13 
 14 /dts-v1/;
 15 #include "exynos4210.dtsi"
 16 #include <dt-bindings/gpio/gpio.h>
 17 #include "exynos-mfc-reserved-memory.dtsi"
 18 
 19 / {
 20         model = "Samsung smdkv310 evaluation board based on Exynos4210";
 21         compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4";
 22 
 23         memory@40000000 {
 24                 device_type = "memory";
 25                 reg = <0x40000000 0x80000000>;
 26         };
 27 
 28         aliases {
 29                 mmc0 = &sdhci_2;
 30         };
 31 
 32         chosen {
 33                 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc";
 34                 stdout-path = "serial1:115200n8";
 35         };
 36 
 37         fixed-rate-clocks {
 38                 xxti {
 39                         compatible = "samsung,clock-xxti";
 40                         clock-frequency = <12000000>;
 41                 };
 42 
 43                 xusbxti {
 44                         compatible = "samsung,clock-xusbxti";
 45                         clock-frequency = <24000000>;
 46                 };
 47 
 48                 pmic_ap_clk: pmic-ap-clk {
 49                         /* Workaround for missing clock on PMIC */
 50                         compatible = "fixed-clock";
 51                         #clock-cells = <0>;
 52                         clock-frequency = <32768>;
 53                 };
 54         };
 55 };
 56 
 57 &cpu_thermal {
 58         cooling-maps {
 59                 map0 {
 60                         /* Corresponds to 800MHz */
 61                         cooling-device = <&cpu0 2 2>;
 62                 };
 63                 map1 {
 64                         /* Corresponds to 200MHz */
 65                         cooling-device = <&cpu0 4 4>;
 66                 };
 67         };
 68 };
 69 
 70 &i2c_0 {
 71         #address-cells = <1>;
 72         #size-cells = <0>;
 73         samsung,i2c-sda-delay = <100>;
 74         samsung,i2c-max-bus-freq = <100000>;
 75         status = "okay";
 76 
 77         eeprom@50 {
 78                 compatible = "samsung,24ad0xd1";
 79                 reg = <0x50>;
 80         };
 81 
 82         eeprom@52 {
 83                 compatible = "samsung,24ad0xd1";
 84                 reg = <0x52>;
 85         };
 86 };
 87 
 88 &keypad {
 89         samsung,keypad-num-rows = <2>;
 90         samsung,keypad-num-columns = <8>;
 91         linux,input-no-autorepeat;
 92         wakeup-source;
 93         pinctrl-names = "default";
 94         pinctrl-0 = <&keypad_rows &keypad_cols>;
 95         status = "okay";
 96 
 97         key-1 {
 98                 keypad,row = <0>;
 99                 keypad,column = <3>;
100                 linux,code = <2>;
101         };
102 
103         key-2 {
104                 keypad,row = <0>;
105                 keypad,column = <4>;
106                 linux,code = <3>;
107         };
108 
109         key-3 {
110                 keypad,row = <0>;
111                 keypad,column = <5>;
112                 linux,code = <4>;
113         };
114 
115         key-4 {
116                 keypad,row = <0>;
117                 keypad,column = <6>;
118                 linux,code = <5>;
119         };
120 
121         key-5 {
122                 keypad,row = <0>;
123                 keypad,column = <7>;
124                 linux,code = <6>;
125         };
126 
127         key-a {
128                 keypad,row = <1>;
129                 keypad,column = <3>;
130                 linux,code = <30>;
131         };
132 
133         key-b {
134                 keypad,row = <1>;
135                 keypad,column = <4>;
136                 linux,code = <48>;
137         };
138 
139         key-c {
140                 keypad,row = <1>;
141                 keypad,column = <5>;
142                 linux,code = <46>;
143         };
144 
145         key-d {
146                 keypad,row = <1>;
147                 keypad,column = <6>;
148                 linux,code = <32>;
149         };
150 
151         key-e {
152                 keypad,row = <1>;
153                 keypad,column = <7>;
154                 linux,code = <18>;
155         };
156 };
157 
158 &pinctrl_1 {
159         keypad_rows: keypad-rows-pins {
160                 samsung,pins = "gpx2-0", "gpx2-1";
161                 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
162                 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
163                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
164         };
165 
166         keypad_cols: keypad-cols-pins {
167                 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
168                                "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
169                 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
170                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
171                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
172         };
173 };
174 
175 &rtc {
176         clocks = <&clock CLK_RTC>, <&pmic_ap_clk>;
177         clock-names = "rtc", "rtc_src";
178 };
179 
180 &sdhci_2 {
181         bus-width = <4>;
182         pinctrl-names = "default";
183         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
184         status = "okay";
185 };
186 
187 &serial_0 {
188         status = "okay";
189 };
190 
191 &serial_1 {
192         status = "okay";
193 };
194 
195 &serial_2 {
196         status = "okay";
197 };
198 
199 &serial_3 {
200         status = "okay";
201 };
202 
203 &spi_2 {
204         cs-gpios = <&gpc1 2 GPIO_ACTIVE_HIGH>;
205         status = "okay";
206 
207         flash@0 {
208                 #address-cells = <1>;
209                 #size-cells = <1>;
210                 compatible = "winbond,w25x80", "jedec,spi-nor";
211                 reg = <0>;
212                 spi-max-frequency = <1000000>;
213 
214                 controller-data {
215                         samsung,spi-feedback-delay = <0>;
216                 };
217 
218                 partition@0 {
219                         label = "U-Boot";
220                         reg = <0x0 0x40000>;
221                         read-only;
222                 };
223 
224                 partition@40000 {
225                         label = "Kernel";
226                         reg = <0x40000 0xc0000>;
227                 };
228         };
229 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php