2011-11-02 04:31:15 -06: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-17 09:02:08 -06:00
|
|
|
#include "exynos4210.dtsi"
|
2015-10-07 16:39:58 -06:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2016-05-24 07:31:29 -06:00
|
|
|
#include "exynos-mfc-reserved-memory.dtsi"
|
2011-11-02 04:31:15 -06:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Samsung smdkv310 evaluation board based on Exynos4210";
|
2014-03-20 11:17:22 -06:00
|
|
|
compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4";
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2016-09-01 03:06:55 -06:00
|
|
|
memory@40000000 {
|
2016-09-01 03:06:52 -06:00
|
|
|
device_type = "memory";
|
2011-11-02 04:31:15 -06:00
|
|
|
reg = <0x40000000 0x80000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
2012-11-27 21:25:15 -07:00
|
|
|
bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
|
2015-01-23 06:47:42 -07:00
|
|
|
stdout-path = &serial_1;
|
2011-11-02 04:31:15 -06:00
|
|
|
};
|
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
fixed-rate-clocks {
|
|
|
|
xxti {
|
|
|
|
compatible = "samsung,clock-xxti";
|
|
|
|
clock-frequency = <12000000>;
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
xusbxti {
|
|
|
|
compatible = "samsung,clock-xusbxti";
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
2013-04-03 22:49:18 -06:00
|
|
|
};
|
2015-04-06 13:01:05 -06:00
|
|
|
};
|
2013-04-03 22:49:18 -06:00
|
|
|
|
2015-04-06 13:01:05 -06: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 03:13:24 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
eeprom@50 {
|
|
|
|
compatible = "samsung,24ad0xd1";
|
|
|
|
reg = <0x50>;
|
2012-10-17 03:13:24 -06:00
|
|
|
};
|
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
eeprom@52 {
|
|
|
|
compatible = "samsung,24ad0xd1";
|
|
|
|
reg = <0x52>;
|
2012-10-17 03:13:24 -06:00
|
|
|
};
|
2015-04-06 13:01:05 -06:00
|
|
|
};
|
2012-10-17 03:13:24 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
&keypad {
|
|
|
|
samsung,keypad-num-rows = <2>;
|
|
|
|
samsung,keypad-num-columns = <8>;
|
|
|
|
linux,keypad-no-autorepeat;
|
2016-01-28 08:59:58 -07:00
|
|
|
wakeup-source;
|
2015-04-06 13:01:05 -06: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 03:13:24 -06:00
|
|
|
};
|
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
key_2 {
|
|
|
|
keypad,row = <0>;
|
|
|
|
keypad,column = <4>;
|
|
|
|
linux,code = <3>;
|
2013-04-03 23:07:04 -06:00
|
|
|
};
|
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
key_3 {
|
|
|
|
keypad,row = <0>;
|
|
|
|
keypad,column = <5>;
|
|
|
|
linux,code = <4>;
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
key_4 {
|
|
|
|
keypad,row = <0>;
|
|
|
|
keypad,column = <6>;
|
|
|
|
linux,code = <5>;
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
key_5 {
|
|
|
|
keypad,row = <0>;
|
|
|
|
keypad,column = <7>;
|
|
|
|
linux,code = <6>;
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
key_a {
|
|
|
|
keypad,row = <1>;
|
|
|
|
keypad,column = <3>;
|
|
|
|
linux,code = <30>;
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
key_b {
|
|
|
|
keypad,row = <1>;
|
|
|
|
keypad,column = <4>;
|
|
|
|
linux,code = <48>;
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
key_c {
|
|
|
|
keypad,row = <1>;
|
|
|
|
keypad,column = <5>;
|
|
|
|
linux,code = <46>;
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
key_d {
|
|
|
|
keypad,row = <1>;
|
|
|
|
keypad,column = <6>;
|
|
|
|
linux,code = <32>;
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
key_e {
|
|
|
|
keypad,row = <1>;
|
|
|
|
keypad,column = <7>;
|
|
|
|
linux,code = <18>;
|
|
|
|
};
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
&pinctrl_1 {
|
|
|
|
keypad_rows: keypad-rows {
|
|
|
|
samsung,pins = "gpx2-0", "gpx2-1";
|
2016-09-04 05:04:08 -06: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 13:01:05 -06:00
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06: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 05:04:08 -06: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 04:31:15 -06:00
|
|
|
};
|
2015-04-06 13:01:05 -06:00
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
&sdhci_2 {
|
|
|
|
bus-width = <4>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
&serial_0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
&serial_1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2012-07-13 19:45:32 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
&serial_2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2012-07-13 19:45:32 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
&serial_3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2012-07-13 19:45:32 -06:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
&spi_2 {
|
2015-10-07 16:39:58 -06:00
|
|
|
cs-gpios = <&gpc1 2 GPIO_ACTIVE_HIGH>;
|
2015-04-06 13:01:05 -06:00
|
|
|
status = "okay";
|
2012-07-13 19:45:32 -06:00
|
|
|
|
2015-04-06 13:01:05 -06: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-13 19:45:32 -06:00
|
|
|
};
|
2013-03-09 01:19:22 -07:00
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
partition@0 {
|
|
|
|
label = "U-Boot";
|
|
|
|
reg = <0x0 0x40000>;
|
|
|
|
read-only;
|
2013-03-09 01:19:22 -07:00
|
|
|
};
|
|
|
|
|
2015-04-06 13:01:05 -06:00
|
|
|
partition@40000 {
|
|
|
|
label = "Kernel";
|
|
|
|
reg = <0x40000 0xc0000>;
|
2013-03-09 01:19:22 -07:00
|
|
|
};
|
|
|
|
};
|
2011-11-02 04:31:15 -06:00
|
|
|
};
|