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