1/* 2 * Samsung's Exynos4210 based Trats board device tree source 3 * 4 * Copyright (c) 2014 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com 6 * 7 * SPDX-License-Identifier: GPL-2.0+ 8 */ 9 10/dts-v1/; 11#include "exynos4210.dtsi" 12 13/ { 14 model = "Samsung Trats based on Exynos4210"; 15 compatible = "samsung,trats", "samsung,exynos4210"; 16 17 config { 18 samsung,dsim-device-name = "s6e8ax0"; 19 }; 20 21 aliases { 22 serial0 = "/serial@13800000"; 23 console = "/serial@13820000"; 24 mmc0 = "/sdhci@12510000"; 25 mmc2 = "/sdhci@12530000"; 26 }; 27 28 fimd@11c00000 { 29 compatible = "samsung,exynos-fimd"; 30 reg = <0x11c00000 0xa4>; 31 32 samsung,vl-freq = <60>; 33 samsung,vl-col = <720>; 34 samsung,vl-row = <1280>; 35 samsung,vl-width = <720>; 36 samsung,vl-height = <1280>; 37 38 samsung,vl-clkp = <0>; 39 samsung,vl-oep = <0>; 40 samsung,vl-hsp = <1>; 41 samsung,vl-vsp = <1>; 42 samsung,vl-dp = <1>; 43 samsung,vl-bpix = <4>; 44 45 samsung,vl-hspw = <5>; 46 samsung,vl-hbpd = <10>; 47 samsung,vl-hfpd = <10>; 48 samsung,vl-vspw = <2>; 49 samsung,vl-vbpd = <1>; 50 samsung,vl-vfpd = <13>; 51 samsung,vl-cmd-allow-len = <0xf>; 52 53 samsung,winid = <3>; 54 samsung,power-on-delay = <30>; 55 samsung,interface-mode = <1>; 56 samsung,mipi-enabled = <1>; 57 samsung,dp-enabled; 58 samsung,dual-lcd-enabled; 59 60 samsung,logo-on = <1>; 61 samsung,resolution = <0>; 62 samsung,rgb-mode = <0>; 63 }; 64 65 mipidsi@11c80000 { 66 compatible = "samsung,exynos-mipi-dsi"; 67 reg = <0x11c80000 0x5c>; 68 69 samsung,dsim-config-e-interface = <1>; 70 samsung,dsim-config-e-virtual-ch = <0>; 71 samsung,dsim-config-e-pixel-format = <7>; 72 samsung,dsim-config-e-burst-mode = <1>; 73 samsung,dsim-config-e-no-data-lane = <3>; 74 samsung,dsim-config-e-byte-clk = <0>; 75 samsung,dsim-config-hfp = <1>; 76 77 samsung,dsim-config-p = <3>; 78 samsung,dsim-config-m = <120>; 79 samsung,dsim-config-s = <1>; 80 81 samsung,dsim-config-pll-stable-time = <500>; 82 samsung,dsim-config-esc-clk = <20000000>; 83 samsung,dsim-config-stop-holding-cnt = <0x7ff>; 84 samsung,dsim-config-bta-timeout = <0xff>; 85 samsung,dsim-config-rx-timeout = <0xffff>; 86 87 samsung,dsim-device-id = <0xffffffff>; 88 samsung,dsim-device-bus-id = <0>; 89 90 samsung,dsim-device-reverse-panel = <1>; 91 }; 92 93 sdhci@12510000 { 94 samsung,bus-width = <8>; 95 samsung,timing = <1 3 3>; 96 pwr-gpios = <&gpk0 2 0>; 97 }; 98 99 sdhci@12520000 { 100 status = "disabled"; 101 }; 102 103 sdhci@12530000 { 104 samsung,bus-width = <4>; 105 samsung,timing = <1 2 3>; 106 cd-gpios = <&gpx3 4 0>; 107 }; 108 109 sdhci@12540000 { 110 status = "disabled"; 111 }; 112 113 dwmmc@12550000 { 114 status = "disabled"; 115 }; 116}; 117 118&i2c_5 { 119 clock-frequency = <100000>; 120 status = "okay"; 121 122 max8997-pmic@66 { 123 compatible = "maxim,max8997"; 124 reg = <0x66 0 0>; 125 voltage-regulators { 126 valive_reg: LDO2 { 127 regulator-name = "VALIVE_1.1V_C210"; 128 regulator-min-microvolt = <1100000>; 129 regulator-max-microvolt = <1100000>; 130 regulator-always-on; 131 }; 132 133 vusb_reg: LDO3 { 134 regulator-name = "VUSB_1.1V_C210"; 135 regulator-min-microvolt = <1100000>; 136 regulator-max-microvolt = <1100000>; 137 }; 138 139 vmipi_reg: LDO4 { 140 regulator-name = "VMIPI_1.8V"; 141 regulator-min-microvolt = <1800000>; 142 regulator-max-microvolt = <1800000>; 143 }; 144 145 vpda_reg: LDO6 { 146 regulator-name = "VCC_1.8V_PDA"; 147 regulator-min-microvolt = <1800000>; 148 regulator-max-microvolt = <1800000>; 149 regulator-always-on; 150 }; 151 152 vcam_reg: LDO7 { 153 regulator-name = "CAM_ISP_1.8V"; 154 regulator-min-microvolt = <1800000>; 155 regulator-max-microvolt = <1800000>; 156 }; 157 158 vusbdac_reg: LDO8 { 159 regulator-name = "VUSB+VDAC_3.3V_C210"; 160 regulator-min-microvolt = <3300000>; 161 regulator-max-microvolt = <3300000>; 162 }; 163 164 vccpda_reg: LDO9 { 165 regulator-name = "VCC_2.8V_PDA"; 166 regulator-min-microvolt = <2800000>; 167 regulator-max-microvolt = <2800000>; 168 regulator-always-on; 169 }; 170 171 vpll_reg: LDO10 { 172 regulator-name = "VPLL_1.1V_C210"; 173 regulator-min-microvolt = <1100000>; 174 regulator-max-microvolt = <1100000>; 175 regulator-always-on; 176 }; 177 178 vtcam_reg: LDO12 { 179 regulator-name = "VT_CAM_1.8V"; 180 regulator-min-microvolt = <1800000>; 181 regulator-max-microvolt = <1800000>; 182 }; 183 184 vcclcd_reg: LDO13 { 185 regulator-name = "VCC_3.3V_LCD"; 186 regulator-min-microvolt = <3300000>; 187 regulator-max-microvolt = <3300000>; 188 }; 189 190 vlcd_reg: LDO15 { 191 regulator-name = "VLCD_2.2V"; 192 regulator-min-microvolt = <2200000>; 193 regulator-max-microvolt = <2200000>; 194 }; 195 196 camsensor_reg: LDO16 { 197 regulator-name = "CAM_SENSOR_IO_1.8V"; 198 regulator-min-microvolt = <1800000>; 199 regulator-max-microvolt = <1800000>; 200 }; 201 202 vddq_reg: LDO21 { 203 regulator-name = "VDDQ_M1M2_1.2V"; 204 regulator-min-microvolt = <1200000>; 205 regulator-max-microvolt = <1200000>; 206 regulator-always-on; 207 }; 208 209 varm_breg: BUCK1 { 210 /* 211 * HACK: The real name is VARM_1.2V_C210, 212 * but exynos-cpufreq does not support 213 * DT-based regulator lookup yet. 214 */ 215 regulator-name = "vdd_arm"; 216 regulator-min-microvolt = <900000>; 217 regulator-max-microvolt = <1350000>; 218 regulator-always-on; 219 }; 220 221 vint_breg: BUCK2 { 222 regulator-name = "VINT_1.1V_C210"; 223 regulator-min-microvolt = <900000>; 224 regulator-max-microvolt = <1100000>; 225 regulator-always-on; 226 }; 227 228 camisp_breg: BUCK4 { 229 regulator-name = "CAM_ISP_CORE_1.2V"; 230 regulator-min-microvolt = <1200000>; 231 regulator-max-microvolt = <1200000>; 232 }; 233 234 vmem_breg: BUCK5 { 235 regulator-name = "VMEM_1.2V_C210"; 236 regulator-min-microvolt = <1200000>; 237 regulator-max-microvolt = <1200000>; 238 regulator-always-on; 239 }; 240 241 vccsub_breg: BUCK7 { 242 regulator-name = "VCC_SUB_2.0V"; 243 regulator-min-microvolt = <2000000>; 244 regulator-max-microvolt = <2000000>; 245 regulator-always-on; 246 }; 247 248 safe1_sreg: ESAFEOUT1 { 249 regulator-name = "SAFEOUT1"; 250 }; 251 252 safe2_sreg: ESAFEOUT2 { 253 regulator-name = "SAFEOUT2"; 254 regulator-boot-on; 255 }; 256 }; 257 }; 258}; 259