2011-11-02 19:31:15 +09:00
/*
* Samsung's Exynos4210 based SMDKV310 board device tree source
*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
* Copyright (c) 2010-2011 Linaro Ltd.
* www.linaro.org
*
* Device tree source file for Samsung's SMDKV310 board which is based on
* Samsung's Exynos4210 SoC.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
2013-06-18 00:02:08 +09:00
#include "exynos4210.dtsi"
2015-10-08 07:39:58 +09:00
#include <dt-bindings/gpio/gpio.h>
2016-05-24 15:31:29 +02:00
#include "exynos-mfc-reserved-memory.dtsi"
2011-11-02 19:31:15 +09:00
/ {
model = "Samsung smdkv310 evaluation board based on Exynos4210";
2014-03-21 02:17:22 +09:00
compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4";
2011-11-02 19:31:15 +09:00
2016-09-01 11:06:55 +02:00
memory@40000000 {
2016-09-01 11:06:52 +02:00
device_type = "memory";
2011-11-02 19:31:15 +09:00
reg = <0x40000000 0x80000000>;
};
chosen {
2012-11-28 13:25:15 +09:00
bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
2015-01-23 14:47:42 +01:00
stdout-path = &serial_1;
2011-11-02 19:31:15 +09:00
};
2015-04-06 21:01:05 +02:00
fixed-rate-clocks {
xxti {
compatible = "samsung,clock-xxti";
clock-frequency = <12000000>;
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
xusbxti {
compatible = "samsung,clock-xusbxti";
clock-frequency = <24000000>;
};
2013-04-04 13:49:18 +09:00
};
2015-04-06 21:01:05 +02:00
};
2013-04-04 13:49:18 +09:00
2015-04-06 21:01:05 +02:00
&i2c_0 {
#address-cells = <1>;
#size-cells = <0>;
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <100000>;
status = "okay";
2012-10-17 18:13:24 +09:00
2015-04-06 21:01:05 +02:00
eeprom@50 {
compatible = "samsung,24ad0xd1";
reg = <0x50>;
2012-10-17 18:13:24 +09:00
};
2015-04-06 21:01:05 +02:00
eeprom@52 {
compatible = "samsung,24ad0xd1";
reg = <0x52>;
2012-10-17 18:13:24 +09:00
};
2015-04-06 21:01:05 +02:00
};
2012-10-17 18:13:24 +09:00
2015-04-06 21:01:05 +02:00
&keypad {
samsung,keypad-num-rows = <2>;
samsung,keypad-num-columns = <8>;
linux,keypad-no-autorepeat;
2016-01-28 15:59:58 +00:00
wakeup-source;
2015-04-06 21:01:05 +02:00
pinctrl-names = "default";
pinctrl-0 = <&keypad_rows &keypad_cols>;
status = "okay";
key_1 {
keypad,row = <0>;
keypad,column = <3>;
linux,code = <2>;
2012-10-17 18:13:24 +09:00
};
2015-04-06 21:01:05 +02:00
key_2 {
keypad,row = <0>;
keypad,column = <4>;
linux,code = <3>;
2013-04-04 14:07:04 +09:00
};
2015-04-06 21:01:05 +02:00
key_3 {
keypad,row = <0>;
keypad,column = <5>;
linux,code = <4>;
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
key_4 {
keypad,row = <0>;
keypad,column = <6>;
linux,code = <5>;
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
key_5 {
keypad,row = <0>;
keypad,column = <7>;
linux,code = <6>;
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
key_a {
keypad,row = <1>;
keypad,column = <3>;
linux,code = <30>;
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
key_b {
keypad,row = <1>;
keypad,column = <4>;
linux,code = <48>;
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
key_c {
keypad,row = <1>;
keypad,column = <5>;
linux,code = <46>;
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
key_d {
keypad,row = <1>;
keypad,column = <6>;
linux,code = <32>;
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
key_e {
keypad,row = <1>;
keypad,column = <7>;
linux,code = <18>;
};
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
&pinctrl_1 {
keypad_rows: keypad-rows {
samsung,pins = "gpx2-0", "gpx2-1";
2016-09-04 13:04:08 +02:00
samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
2015-04-06 21:01:05 +02:00
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
keypad_cols: keypad-cols {
samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
"gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
2016-09-04 13:04:08 +02:00
samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
2011-11-02 19:31:15 +09:00
};
2015-04-06 21:01:05 +02:00
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
&sdhci_2 {
bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
status = "okay";
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
&serial_0 {
status = "okay";
};
2011-11-02 19:31:15 +09:00
2015-04-06 21:01:05 +02:00
&serial_1 {
status = "okay";
};
2012-07-14 10:45:32 +09:00
2015-04-06 21:01:05 +02:00
&serial_2 {
status = "okay";
};
2012-07-14 10:45:32 +09:00
2015-04-06 21:01:05 +02:00
&serial_3 {
status = "okay";
};
2012-07-14 10:45:32 +09:00
2015-04-06 21:01:05 +02:00
&spi_2 {
2015-10-08 07:39:58 +09:00
cs-gpios = <&gpc1 2 GPIO_ACTIVE_HIGH>;
2015-04-06 21:01:05 +02:00
status = "okay";
2012-07-14 10:45:32 +09:00
2015-04-06 21:01:05 +02:00
w25x80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "w25x80";
reg = <0>;
spi-max-frequency = <1000000>;
controller-data {
samsung,spi-feedback-delay = <0>;
2012-07-14 10:45:32 +09:00
};
2013-03-09 17:19:22 +09:00
2015-04-06 21:01:05 +02:00
partition@0 {
label = "U-Boot";
reg = <0x0 0x40000>;
read-only;
2013-03-09 17:19:22 +09:00
};
2015-04-06 21:01:05 +02:00
partition@40000 {
label = "Kernel";
reg = <0x40000 0xc0000>;
2013-03-09 17:19:22 +09:00
};
};
2011-11-02 19:31:15 +09:00
};