1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Samsung's Exynos4412 based SMDK board device tree source 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 6724ba675SRob Herring * http://www.samsung.com 7724ba675SRob Herring * 8724ba675SRob Herring * Device tree source file for Samsung's SMDK4412 board which is based on 9724ba675SRob Herring * Samsung's Exynos4412 SoC. 10724ba675SRob Herring */ 11724ba675SRob Herring 12724ba675SRob Herring/dts-v1/; 13724ba675SRob Herring#include "exynos4412.dtsi" 14724ba675SRob Herring#include "exynos-mfc-reserved-memory.dtsi" 15724ba675SRob Herring 16724ba675SRob Herring/ { 17724ba675SRob Herring model = "Samsung SMDK evaluation board based on Exynos4412"; 18724ba675SRob Herring compatible = "samsung,smdk4412", "samsung,exynos4412", "samsung,exynos4"; 19724ba675SRob Herring 20724ba675SRob Herring memory@40000000 { 21724ba675SRob Herring device_type = "memory"; 22724ba675SRob Herring reg = <0x40000000 0x40000000>; 23724ba675SRob Herring }; 24724ba675SRob Herring 25724ba675SRob Herring aliases { 26724ba675SRob Herring mmc0 = &sdhci_2; 27724ba675SRob Herring }; 28724ba675SRob Herring 29724ba675SRob Herring chosen { 30724ba675SRob Herring bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; 31724ba675SRob Herring stdout-path = "serial1:115200n8"; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring fixed-rate-clocks { 35724ba675SRob Herring xxti { 36724ba675SRob Herring compatible = "samsung,clock-xxti"; 37724ba675SRob Herring clock-frequency = <0>; 38724ba675SRob Herring }; 39724ba675SRob Herring 40724ba675SRob Herring xusbxti { 41724ba675SRob Herring compatible = "samsung,clock-xusbxti"; 42724ba675SRob Herring clock-frequency = <24000000>; 43724ba675SRob Herring }; 44724ba675SRob Herring 45724ba675SRob Herring pmic_ap_clk: pmic-ap-clk { 46724ba675SRob Herring /* Workaround for missing clock on PMIC */ 47724ba675SRob Herring compatible = "fixed-clock"; 48724ba675SRob Herring #clock-cells = <0>; 49724ba675SRob Herring clock-frequency = <32768>; 50724ba675SRob Herring }; 51724ba675SRob Herring }; 52724ba675SRob Herring}; 53724ba675SRob Herring 54724ba675SRob Herring&cpu_thermal { 55724ba675SRob Herring cooling-maps { 56724ba675SRob Herring cooling_map0: map0 { 57724ba675SRob Herring /* Corresponds to 800MHz at freq_table */ 58724ba675SRob Herring cooling-device = <&cpu0 7 7>, <&cpu1 7 7>, 59724ba675SRob Herring <&cpu2 7 7>, <&cpu3 7 7>; 60724ba675SRob Herring }; 61724ba675SRob Herring cooling_map1: map1 { 62724ba675SRob Herring /* Corresponds to 200MHz at freq_table */ 63724ba675SRob Herring cooling-device = <&cpu0 13 13>, <&cpu1 13 13>, 64724ba675SRob Herring <&cpu2 13 13>, <&cpu3 13 13>; 65724ba675SRob Herring }; 66724ba675SRob Herring }; 67724ba675SRob Herring}; 68724ba675SRob Herring 69724ba675SRob Herring&keypad { 70724ba675SRob Herring samsung,keypad-num-rows = <3>; 71724ba675SRob Herring samsung,keypad-num-columns = <8>; 724ac4c1d7SKrzysztof Kozlowski linux,input-no-autorepeat; 73724ba675SRob Herring wakeup-source; 74724ba675SRob Herring pinctrl-0 = <&keypad_rows &keypad_cols>; 75724ba675SRob Herring pinctrl-names = "default"; 76724ba675SRob Herring status = "okay"; 77724ba675SRob Herring 78724ba675SRob Herring key-1 { 79724ba675SRob Herring keypad,row = <1>; 80724ba675SRob Herring keypad,column = <3>; 81724ba675SRob Herring linux,code = <2>; 82724ba675SRob Herring }; 83724ba675SRob Herring 84724ba675SRob Herring key-2 { 85724ba675SRob Herring keypad,row = <1>; 86724ba675SRob Herring keypad,column = <4>; 87724ba675SRob Herring linux,code = <3>; 88724ba675SRob Herring }; 89724ba675SRob Herring 90724ba675SRob Herring key-3 { 91724ba675SRob Herring keypad,row = <1>; 92724ba675SRob Herring keypad,column = <5>; 93724ba675SRob Herring linux,code = <4>; 94724ba675SRob Herring }; 95724ba675SRob Herring 96724ba675SRob Herring key-4 { 97724ba675SRob Herring keypad,row = <1>; 98724ba675SRob Herring keypad,column = <6>; 99724ba675SRob Herring linux,code = <5>; 100724ba675SRob Herring }; 101724ba675SRob Herring 102724ba675SRob Herring key-5 { 103724ba675SRob Herring keypad,row = <1>; 104724ba675SRob Herring keypad,column = <7>; 105724ba675SRob Herring linux,code = <6>; 106724ba675SRob Herring }; 107724ba675SRob Herring 108*ad722fc2SKrzysztof Kozlowski key-a { 109724ba675SRob Herring keypad,row = <2>; 110724ba675SRob Herring keypad,column = <6>; 111724ba675SRob Herring linux,code = <30>; 112724ba675SRob Herring }; 113724ba675SRob Herring 114*ad722fc2SKrzysztof Kozlowski key-b { 115724ba675SRob Herring keypad,row = <2>; 116724ba675SRob Herring keypad,column = <7>; 117724ba675SRob Herring linux,code = <48>; 118724ba675SRob Herring }; 119724ba675SRob Herring 120*ad722fc2SKrzysztof Kozlowski key-c { 121724ba675SRob Herring keypad,row = <0>; 122724ba675SRob Herring keypad,column = <5>; 123724ba675SRob Herring linux,code = <46>; 124724ba675SRob Herring }; 125724ba675SRob Herring 126*ad722fc2SKrzysztof Kozlowski key-d { 127724ba675SRob Herring keypad,row = <2>; 128724ba675SRob Herring keypad,column = <5>; 129724ba675SRob Herring linux,code = <32>; 130724ba675SRob Herring }; 131724ba675SRob Herring 132*ad722fc2SKrzysztof Kozlowski key-e { 133724ba675SRob Herring keypad,row = <0>; 134724ba675SRob Herring keypad,column = <7>; 135724ba675SRob Herring linux,code = <18>; 136724ba675SRob Herring }; 137724ba675SRob Herring}; 138724ba675SRob Herring 139724ba675SRob Herring&pinctrl_1 { 140724ba675SRob Herring keypad_rows: keypad-rows-pins { 141724ba675SRob Herring samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; 142724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 143724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 144724ba675SRob Herring samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 145724ba675SRob Herring }; 146724ba675SRob Herring 147724ba675SRob Herring keypad_cols: keypad-cols-pins { 148724ba675SRob Herring samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", 149724ba675SRob Herring "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; 150724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 151724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 152724ba675SRob Herring samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 153724ba675SRob Herring }; 154724ba675SRob Herring}; 155724ba675SRob Herring 156724ba675SRob Herring&rtc { 157724ba675SRob Herring clocks = <&clock CLK_RTC>, <&pmic_ap_clk>; 158724ba675SRob Herring clock-names = "rtc", "rtc_src"; 159724ba675SRob Herring}; 160724ba675SRob Herring 161724ba675SRob Herring&sdhci_2 { 162724ba675SRob Herring bus-width = <4>; 163724ba675SRob Herring pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; 164724ba675SRob Herring pinctrl-names = "default"; 165724ba675SRob Herring status = "okay"; 166724ba675SRob Herring}; 167724ba675SRob Herring 168724ba675SRob Herring&serial_0 { 169724ba675SRob Herring status = "okay"; 170724ba675SRob Herring}; 171724ba675SRob Herring 172724ba675SRob Herring&serial_1 { 173724ba675SRob Herring status = "okay"; 174724ba675SRob Herring}; 175724ba675SRob Herring 176724ba675SRob Herring&serial_2 { 177724ba675SRob Herring status = "okay"; 178724ba675SRob Herring}; 179724ba675SRob Herring 180724ba675SRob Herring&serial_3 { 181724ba675SRob Herring status = "okay"; 182724ba675SRob Herring}; 183